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

ruby-grape / grape / 29974654228 / 20
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 23 Jul 2026 02:34AM UTC
Files 167
Run time 9s
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 02:32AM UTC coverage: 95.417% (+0.02%) from 95.397%
29974654228.20

Pull #2811

github

ericproulx
Internalize the route scope behind InheritableSetting accessors

Every raw `route[...]` poke from outside InheritableSetting is replaced by
a semantic accessor, so nothing external touches the `@route` hash anymore
(the `route` reader is now reachable only from specs and can go internal
later):

* `route_validations` / `route_declared_params` (+ writers) — the flat
  per-route param snapshots seeded per endpoint and topped up on mount.
* `route_renamed_params` / `add_route_renamed_param` — the `as:` rename
  map, an accumulator replacing the read-modify-write in ParamsScope.
* `route_description` (+ writer) — the `desc` block's settings.
* `route_settings` — the settings handed to each Route (everything but the
  internal snapshots), replacing the `route.except(...)` in Endpoint.
* `route_setting` — the open store behind the `route_setting` DSL, which
  now delegates here instead of reaching into the raw hash.
* `inherit_route_params` — folds a mounting parent's namespace snapshots
  into the route buffers, replacing the merge that lived in
  `Endpoint#inherit_settings`.

Bumps Metrics/ClassLength to 370; the class is a settings registry and
will shrink again once its stores are extracted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #2811: Internalize the route scope behind InheritableSetting accessors

1113 of 1230 branches covered (90.49%)

Branch coverage included in aggregate %.

3717 of 3832 relevant lines covered (97.0%)

945.6 hits per line

Source Files on job run-3.4-gemfiles/rack_3_0.gemfile - 29974654228.20
  • Tree
  • List 167
  • Changed 7
  • Source Changed 7
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29974654228
  • 44dcf28a on github
  • Prev Job for on route-scope-accessors (#29972459133.3)
  • Next Job for on route-scope-accessors (#30206834055.3)
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