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

castle / ruby-u2f / 124
100%

Build:
DEFAULT BRANCH: API_v1_1
Ran 14 Dec 2017 03:52PM UTC
Jobs 4
Files 11
Run time 7min
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
124

push

travis-ci

wallin
Validate the JSON data in load (#36)

* Validate the JSON data in load

Check to make sure that the loaded JSON actually contains data in the keys we are going to use before we use them, to avoid runtime exceptions on Nil.

* Raise error on bad response data

When trying to sign response make sue the data is correct and raise a known error rather than a method missing error on bad data.

* Bad request constant

* Add test for invalid JSON error

* Add test for handling invalid response data

* Fix typo

* Use nil instead of blank

* Use key instead of blank

* Change .nil? checks to .key?

* Change error from bad data code to invalid json message

* oops

* Fix test

* Fix error

* Fix sign response

259 of 259 relevant lines covered (100.0%)

26.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 124.1 (2.0.0) 14 Dec 2017 03:52PM UTC 0
100.0
Travis Job 124.1
2 124.2 (2.1.8) 14 Dec 2017 03:52PM UTC 0
100.0
Travis Job 124.2
3 124.3 (2.2.4) 14 Dec 2017 04:00PM UTC 0
100.0
Travis Job 124.3
4 124.4 (2.3.0) 14 Dec 2017 03:52PM UTC 0
100.0
Travis Job 124.4
Source Files on build 124
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #124
  • 60671f7b on github
  • Prev Build on API_v1_1 (#109)
  • Next Build on API_v1_1 (#133)
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