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

hypothesis / h / 10237
70%
master: 97%

Build:
Build:
LAST BUILD BRANCH: realtime-update-v1-h-only-1
DEFAULT BRANCH: master
Ran 14 Feb 2016 03:50PM UTC
Jobs 1
Files 94
Run time 4s
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
10237

push

travis-ci

seanh
Make all API tokens require "Bearer " prefix

And strip "Bearer " prefix in auth policy, not in h.api.auth.

- userid_from_bearer_token() -> userid_from_jwt(), and accepts token as
  first param instead of reading it from Authorization header.

- userid_from_dev_token() -> userid_from_api_token(), and accepts token
  instead of request as param, no longer pulls token from request's
  Authorization header.

  And call's the Token model's get_by_value() instead of
  userid_for_token(), which no longer exists.

- Add bearer_token() helper to auth policy, and tests. Have the auth
  policy call it and pass the token, rather than the request, to
  h.api.auth's token validator functions.

2644 of 3779 relevant lines covered (69.97%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10237.1 14 Feb 2016 03:50PM UTC 0
69.97
Travis Job 10237.1
Source Files on build 10237
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10237
  • cec66f9d on github
  • Prev Build on BPA1eZ9O-add-developer-api-tokens (#10188)
  • Next Build on BPA1eZ9O-add-developer-api-tokens (#10238)
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