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

ruby-grape / grape / 29194616023 / 24
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/base-only-rescue-handlers
DEFAULT BRANCH: master
Ran 12 Jul 2026 01:36PM UTC
Files 166
Run time 5s
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 Jul 2026 01:33PM UTC coverage: 95.205% (+0.002%) from 95.203%
29194616023.24

Pull #2795

github

ericproulx
Encapsulate namespace_reverse_stackable behind rescue-handler methods

namespace_reverse_stackable existed only to store rescue-handler maps, yet it
was a public attr_reader that callers reached into with raw keys from two
different files (the rescue_from write and the endpoint read). That's how the
base-only handlers write/read drifted onto mismatched stores.

Make the store internal (protected, still used by inherit_from/copy_state_from/
to_hash) and expose intent-revealing methods on InheritableSetting instead:
rescue_handlers / base_only_rescue_handlers (merged, child-scope-first) and
add_rescue_handlers(mapping, subclasses:). The DSL write and endpoint reads go
through those, so there's one place that knows the key, store and merge.

The reverse-ordering behaviour stays covered by ReverseStackableValues' own
spec; the InheritableSetting specs that poked the raw store are replaced with
tests for the new methods.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #2795: Encapsulate namespace_reverse_stackable behind rescue-handler methods

1102 of 1222 branches covered (90.18%)

Branch coverage included in aggregate %.

3544 of 3658 relevant lines covered (96.88%)

970.93 hits per line

Source Files on job run-3.3-Gemfile - 29194616023.24
  • Tree
  • List 166
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29194616023
  • dfdb2518 on github
  • Prev Job for on refactor/encapsulate-reverse-stackable (#29194177443.16)
  • Next Job for on refactor/encapsulate-reverse-stackable (#29194635866.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc