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

ruby-grape / grape / 30240557756
97%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:43AM UTC
Jobs 32
Files 167
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

27 Jul 2026 05:43AM UTC coverage: 96.964% (+0.004%) from 96.96%
30240557756

push

github

web-flow
Remove Grape::Util::InheritableValues, resolving inheritable settings by walking parent (#2830)

* Store namespace settings in a plain Hash

InheritableValues layers a scope's own values over an enclosing scope's,
but nothing ever gave @namespace an enclosing scope to layer over:
#inherit_from assigns inherited_values only to @namespace_inheritable.
Namespace settings are scope-local by design — a nested namespace must
not see the outer one's value, which DSL::Settings#namespace_setting is
specified to do — so the layering resolved nothing and the store was a
Hash with extra indirection.

Keep it as a Hash. #namespace_setting reads and writes through #[] and
#[]= either way, so the DSL is unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Resolve inheritable settings by walking parent

Each InheritableSetting held an InheritableValues layered over the store
of the scope it inherited from, so the parent relationship was encoded
twice: once as @parent, once as that chain, kept in sync by
produced #2794, where handlers were written to and read from different
stores.

Keep a scope's own overrides in a plain Hash — nil until first write,
like @stackable_values — and resolve reads against #parent, the same
move StackableValues got in #2823. InheritableValues then has nothing
left to do and is removed, along with its unreachable #merge and

Resolution is unchanged: reads key off presence rather than truthiness,
so a scope can still override an inherited value with an explicit nil
(#cascade relies on this), #inheritable? still reports an assignment
made anywhere along the chain, and the chain stays live, so a value an
enclosing scope gains later is visible through scopes already nested
inside it. The deleted class's spec is replaced by coverage of those
invariants through InheritableSetting's own API, where they were
previously untested.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <nor... (continued)

1193 of 1282 branches covered (93.06%)

Branch coverage included in aggregate %.

3790 of 3857 relevant lines covered (98.26%)

26802.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_7_2.gemfile - 30240557756.1 27 Jul 2026 05:44AM UTC 167
95.58
GitHub Action Run
2 run-3.3-gemfiles/rails_7_2.gemfile - 30240557756.2 27 Jul 2026 05:44AM UTC 167
95.58
GitHub Action Run
3 run-4.0-gemfiles/hashie.gemfile - 30240557756.3 27 Jul 2026 05:43AM UTC 166
62.19
GitHub Action Run
4 run-4.0-gemfiles/rack_2_2.gemfile - 30240557756.4 27 Jul 2026 05:43AM UTC 166
95.54
GitHub Action Run
5 run-3.4-Gemfile - 30240557756.5 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
6 run-3.4-gemfiles/rack_2_2.gemfile - 30240557756.6 27 Jul 2026 05:43AM UTC 166
95.54
GitHub Action Run
7 run-4.0-gemfiles/dry_validation.gemfile - 30240557756.7 27 Jul 2026 05:44AM UTC 166
58.23
GitHub Action Run
8 run-3.3-Gemfile - 30240557756.8 27 Jul 2026 05:44AM UTC 166
95.58
GitHub Action Run
9 run-4.0-gemfiles/grape_swagger.gemfile - 30240557756.9 27 Jul 2026 05:44AM UTC 166
55.52
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 30240557756.10 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
11 run-4.0-gemfiles/rails_8_1.gemfile - 30240557756.11 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
12 run-3.3-gemfiles/rack_3_0.gemfile - 30240557756.12 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
13 run-4.0-gemfiles/multi_xml.gemfile - 30240557756.13 27 Jul 2026 05:44AM UTC 166
47.28
GitHub Action Run
14 run-3.4-gemfiles/rack_3_2.gemfile - 30240557756.14 27 Jul 2026 05:44AM UTC 166
95.58
GitHub Action Run
15 run-4.0-Gemfile - 30240557756.15 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
16 run-4.0-gemfiles/rails_8_0.gemfile - 30240557756.16 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
17 run-4.0-gemfiles/multi_json_1_20.gemfile - 30240557756.17 27 Jul 2026 05:44AM UTC 166
47.93
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 30240557756.18 27 Jul 2026 05:44AM UTC 166
95.58
GitHub Action Run
19 run-4.0-gemfiles/rack_3_1.gemfile - 30240557756.19 27 Jul 2026 05:44AM UTC 166
95.58
GitHub Action Run
20 run-3.4-gemfiles/rack_3_0.gemfile - 30240557756.20 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
21 run-4.0-gemfiles/rack_3_0.gemfile - 30240557756.21 27 Jul 2026 05:44AM UTC 166
95.58
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 30240557756.22 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
23 run-4.0-gemfiles/multi_json.gemfile - 30240557756.23 27 Jul 2026 05:44AM UTC 166
47.89
GitHub Action Run
24 run-3.4-gemfiles/rails_8_1.gemfile - 30240557756.24 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 30240557756.25 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
26 run-3.3-gemfiles/rack_3_2.gemfile - 30240557756.26 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
27 run-3.3-gemfiles/rack_2_2.gemfile - 30240557756.27 27 Jul 2026 05:43AM UTC 166
95.54
GitHub Action Run
28 run-3.3-gemfiles/rack_3_1.gemfile - 30240557756.28 27 Jul 2026 05:43AM UTC 166
95.58
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 30240557756.29 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
30 run-3.4-gemfiles/rails_8_0.gemfile - 30240557756.30 27 Jul 2026 05:43AM UTC 167
95.58
GitHub Action Run
31 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30240557756.31 27 Jul 2026 05:43AM UTC 166
47.32
GitHub Action Run
32 run-4.0-gemfiles/grape_entity.gemfile - 30240557756.32 27 Jul 2026 05:44AM UTC 166
50.61
GitHub Action Run
Source Files on build 30240557756
  • Tree
  • List 167
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30240557756
  • fdf3bd74 on github
  • Prev Build on master (#30240331355)
  • Next Build on master (#30261081468)
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