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

dblock / hyperclient
100%
master: 95%

Build:
Build:
LAST BUILD BRANCH: dblock/link-profile
DEFAULT BRANCH: master
Repo Added 16 Feb 2023 03:20PM UTC
Token jep21zWWqe4IeJoqAEIyz0cQjoVvSEnWy regen
Build 57 Last
Files 11
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

LAST BUILD ON BRANCH dblock/self-link-recursion
branch: dblock/self-link-recursion
CHANGE BRANCH
x
Reset
Sync Branches
  • dblock/self-link-recursion
  • add-coverage
  • add-missing-test-coverage
  • danger-pr-comment
  • dblock/add-ruby-4-ci
  • dblock/allow-header
  • dblock/danger-skip-empty
  • dblock/doc-non-hal-json-responses
  • dblock/fix-resource-to-h
  • dblock/fix-stale-resource-cache-after-mutation
  • dblock/json-2-and-3
  • dblock/link-profile
  • dblock/link-query
  • dblock/oxford-example
  • dblock/prepare-2.2.0
  • dblock/repository-hygiene
  • faraday-2
  • fix-coveralls-badge
  • fix-simplecov-coveralls
  • follow-redirects
  • maintenance
  • master
  • revert-simplecov-fix
  • ruby-3.2.0
  • upgrade-rubocop

22 Nov 2026 01:51PM UTC coverage: 99.701%. Remained the same
45029701619

push

github

dblock
Fix infinite recursion on links that point back to themselves

When a link's resource has a link of the same name pointing to the same
URL (e.g. a `sub_nodes` collection whose `_links.sub_nodes` is itself),
`Link#respond_to_missing?` and `#delegate_method` followed that link
forever, fetching it on every level until `SystemStackError`. Stop
delegating to a link with the same URL, and have `Link#each` raise
`Hyperclient::SelfReferencingLinkError` pointing to `_embedded` instead.

Closes #232.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Gr21htyJfr8XZGHBcPwkW

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

334 of 335 relevant lines covered (99.7%)

51.33 hits per line

Relevant lines Covered
Build:
Build:
335 RELEVANT LINES 334 COVERED LINES
51.33 HITS PER LINE
Source Files on dblock/self-link-recursion
  • Tree
  • List 11
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
45029701619 dblock/self-link-recursion Fix infinite recursion on links that point back to themselves When a link's resource has a link of the same name pointing to the same URL (e.g. a `sub_nodes` collection whose `_links.sub_nodes` is itself), `Link#respond_to_missing?` and `#delegat... push 22 Nov 2026 01:52PM UTC dblock github
99.7
45029538457 dblock/self-link-recursion Fix infinite recursion on links that point back to themselves When a link's resource has a link of the same name pointing to the same URL (e.g. a `sub_nodes` collection whose `_links.sub_nodes` is itself), `Link#respond_to_missing?` and `#delegat... push 22 Nov 2026 01:50PM UTC dblock github
99.7
45029515510 dblock/self-link-recursion Fix infinite recursion on links that point back to themselves When a link's resource has a link of the same name pointing to the same URL (e.g. a `sub_nodes` collection whose `_links.sub_nodes` is itself), `Link#respond_to_missing?` and `#delegat... push 22 Nov 2026 01:50PM UTC dblock github
99.7
See All Builds (53)

Badge your Repo: hyperclient

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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