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

tgrk / ex_oura / 43864c7d3aa0d451ff09223871d766f9a01ca451
72%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2026 05:58PM UTC
Jobs 1
Files 156
Run time 1min
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

12 Nov 2026 05:57PM UTC coverage: 72.373% (-0.07%) from 72.442%
43864c7d3aa0d451ff09223871d766f9a01ca451

push

github

web-flow
refactor: simplify ExOura.Client request, auth and rate-limit plumbing (#99)

- Collapse the four per-method request handle_call clauses into one that
  dispatches to Req.get/post/put/delete.
- Drop the client-side rate-limiting enabled? check and try/catch around
  casts; RateLimiter already no-ops when disabled and casts never exit.
  Only check_rate_limit/0 keeps its :exit guard.
- Share token refresh between maybe_refresh_token/1 and
  refresh_oauth2_token via refresh_state/1.
- Give bearer state the same keys as OAuth2 state (expires_at/expires_in
  nil) so get_token_info returns the state directly.
- Flatten prepare_state/1 into per-type clauses and merge the
  date/datetime next_token handling.

No public API or wire behavior change.

30 of 41 new or added lines in 1 file covered. (73.17%)

668 of 923 relevant lines covered (72.37%)

33083.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
86.14
4.93% lib/ex_oura/client.ex
Jobs
ID Job ID Ran Files Coverage
1 43864c7d3aa0d451ff09223871d766f9a01ca451.1 12 Nov 2026 05:58PM UTC 156
72.37
GitHub Action Run
Source Files on build 43864c7d3aa0d451ff09223871d766f9a01ca451
  • Tree
  • List 156
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 43864c7d on github
  • Prev Build on master (#75BED2E1...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc