• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shakacode / react_on_rails / 3370
0%

Build:
DEFAULT BRANCH: master
Ran 23 Apr 2017 10:01AM UTC
Jobs 1
Files 37
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3370

push

travis-ci

justin808
[Extends #787] - Improve json conversion with tests and support for Rails older than 4.1 (#812)

* Improve json_safe_and_pretty method to handle parse error
* Add tests to json_safe_and_pretty method
* Add old json escape method for Rails versions less than 4
* Add json safe and pretty argument class test
* Add rails version less than method
* Add tests for json encoding helper methods
* Move rails_version_less_than method into Utils module
* Extract json escaping logic into JsonOutput class
* Remove "or equal" logic from rails_version_less_than util method
* Use monkey patch json escape from Rails 4.2 instead of Rails 4
* Memoize result for static method rails_version_less_than
* Update json escaping method into class methods

24 of 24 new or added lines in 3 files covered. (100.0%)

796 of 812 relevant lines covered (98.03%)

46.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3370.1 (2.2.6, spec/dummy/Gemfile) 23 Apr 2017 10:01AM UTC 0
98.03
Travis Job 3370.1
Source Files on build 3370
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3370
  • 6194e310 on github
  • Prev Build on master (#3365)
  • Next Build on master (#3372)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc