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

castle / ruby-u2f / 124 / 2
100%
API_v1_1: 100%

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

14 Dec 2017 03:50PM UTC coverage: 100.0%. Remained the same
2.1.8

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%)

6.54 hits per line

Source Files on job 124.2 (2.1.8)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 124
  • Travis Job 124.2
  • 60671f7b on github
  • Prev Job for 2.1.8 on API_v1_1 (#109.2)
  • Next Job for 2.1.8 on API_v1_1 (#133.1)
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