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

ruby-grape / grape / 29972459133 / 23
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 23 Jul 2026 01:42AM UTC
Files 168
Run time 6s
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

23 Jul 2026 01:40AM UTC coverage: 95.4% (-0.02%) from 95.42%
29972459133.23

Pull #2810

github

ericproulx
Make InheritableSetting's raw stores internal where the ecosystem allows

Enforce the per-key encapsulation that the semantic accessors already
provide: `namespace_inheritable` is now protected and
`namespace_stackable_with_hash` private, so every `namespace_inheritable`
key is reachable only through its dedicated accessor. Internal code reads
the `@namespace_inheritable` / `@namespace_stackable` ivars directly; the
protected/public readers exist for inherit_from / copy_state_from peer
access.

`namespace_stackable` deliberately stays a public reader: grape-swagger
reads it directly (and walks its inherited_values chain). Treat it as
read-only from the outside and prefer the dedicated accessors.

Two supporting changes:

* `Router::Pattern::Path` no longer receives a merged dump of both
  stores; `Endpoint#to_routes` passes the new
  `InheritableSetting#path_settings` snapshot — a `PathSettings` value
  object (`Data`) carrying exactly the six values `Path` reads.
* `InheritableSetting#mount_paths` exposes the full mount-path stack,
  complementing `#mount_path` (outermost entry only).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #2810: Make InheritableSetting's raw stores internal (series finale)

1111 of 1228 branches covered (90.47%)

Branch coverage included in aggregate %.

3701 of 3816 relevant lines covered (96.99%)

944.08 hits per line

Source Files on job run-3.4-gemfiles/rails_7_2.gemfile - 29972459133.23
  • Tree
  • List 168
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29972459133
  • e8087484 on github
  • Prev Job for on inheritable-setting-finale (#29830241945.10)
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