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

dblock / hyperclient / 33017627114
100%
master: 95%

Build:
Build:
LAST BUILD BRANCH: dblock/fix-stale-resource-cache-after-mutation
DEFAULT BRANCH: master
Ran 26 Aug 2026 09:57PM UTC
Jobs 1
Files 9
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

26 Aug 2026 09:57PM UTC coverage: 100.0%. First build
33017627114

push

github

dblock
Fix Link caching stale resource after a mutating request (#107)

Link#http_method previously cached every HTTP response (GET, POST, PUT,
PATCH, DELETE) into @resource, and #_resource returned @resource if set.
This meant that after a _post/_put/_patch/_delete, subsequent calls that
rely on #_resource (method_missing delegation, #each, etc.) would see the
mutation's response instead of fetching a fresh resource via GET, requiring
users to instantiate a new client to see up-to-date data.

Only cache the response for GET requests now, and clear the delegate_method
cache after every request so it is recomputed against the current resource.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

289 of 289 relevant lines covered (100.0%)

37.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 33017627114.1 26 Aug 2026 09:57PM UTC 18
100.0
GitHub Action Run
Source Files on build 33017627114
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33017627114
  • 6ac2cf29 on github
  • Delete
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