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

ruby-grape / grape / 28403869613
97%

Build:
DEFAULT BRANCH: master
Ran 29 Jun 2026 09:29PM 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

29 Jun 2026 09:28PM UTC coverage: 96.597% (+0.004%) from 96.593%
28403869613

push

github

web-flow
Fix middleware build crash when a top-level ::Options is in scope (#2773)

Grape::Middleware::Base#initialize used self.class.const_defined?(:Options),
whose default inherit: true reaches top-level constants on Object. When any
loaded gem defines a global ::Options (e.g. the `options` gem, a transitive
dependency of progress_bar), the guard returned true for every middleware
subclass, but `self.class::Options` then raised NameError because the `::`
resolution operator does not fall back to Object. This took down the whole
middleware stack for third-party middleware that does not declare its own
Options (e.g. grape_logging's RequestLogger).

Resolve the constant through self.class::Options directly: `::` already
honours middleware inheritance (e.g. Versioner::Path -> Versioner::Base) and
never falls back to Object, so a global ::Options is no longer matched and an
absent one cleanly yields the legacy DEFAULT_OPTIONS path. Apply the same
treatment to the DEFAULT_OPTIONS lookup, which had the identical defect.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

1128 of 1226 branches covered (92.01%)

Branch coverage included in aggregate %.

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

3584 of 3652 relevant lines covered (98.14%)

23085.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_3_1.gemfile - 28403869613.1 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
2 run-3.3-gemfiles/rack_2_2.gemfile - 28403869613.2 29 Jun 2026 09:29PM UTC 166
95.09
GitHub Action Run
3 run-4.0-gemfiles/multi_json.gemfile - 28403869613.3 29 Jun 2026 09:28PM UTC 166
47.52
GitHub Action Run
4 run-3.3-gemfiles/rack_3_2.gemfile - 28403869613.4 29 Jun 2026 09:29PM UTC 166
95.13
GitHub Action Run
5 run-4.0-gemfiles/dry_validation.gemfile - 28403869613.5 29 Jun 2026 09:29PM UTC 166
58.19
GitHub Action Run
6 run-4.0-gemfiles/rails_8_0.gemfile - 28403869613.6 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
7 run-3.3-gemfiles/rails_8_1.gemfile - 28403869613.7 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
8 run-3.3-gemfiles/rack_3_0.gemfile - 28403869613.8 29 Jun 2026 09:28PM UTC 166
95.13
GitHub Action Run
9 run-3.4-gemfiles/rack_3_0.gemfile - 28403869613.9 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
10 run-3.4-Gemfile - 28403869613.10 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
11 run-3.3-gemfiles/rails_7_2.gemfile - 28403869613.11 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
12 run-3.4-gemfiles/rack_3_1.gemfile - 28403869613.12 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
13 run-4.0-gemfiles/multi_json_1_20.gemfile - 28403869613.13 29 Jun 2026 09:28PM UTC 166
47.56
GitHub Action Run
14 run-3.3-gemfiles/rack_3_1.gemfile - 28403869613.14 29 Jun 2026 09:28PM UTC 166
95.13
GitHub Action Run
15 run-4.0-gemfiles/rails_8_1.gemfile - 28403869613.15 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
16 run-4.0-gemfiles/grape_swagger.gemfile - 28403869613.16 29 Jun 2026 09:29PM UTC 166
55.15
GitHub Action Run
17 run-4.0-Gemfile - 28403869613.17 29 Jun 2026 09:28PM UTC 166
95.14
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 28403869613.18 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
19 run-3.4-gemfiles/rails_8_0.gemfile - 28403869613.19 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
20 run-4.0-gemfiles/rack_2_2.gemfile - 28403869613.20 29 Jun 2026 09:28PM UTC 166
95.09
GitHub Action Run
21 run-3.4-gemfiles/rack_2_2.gemfile - 28403869613.21 29 Jun 2026 09:29PM UTC 166
95.09
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28403869613.22 29 Jun 2026 09:28PM UTC 166
47.02
GitHub Action Run
23 run-4.0-gemfiles/grape_entity.gemfile - 28403869613.23 29 Jun 2026 09:28PM UTC 166
50.29
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 28403869613.24 29 Jun 2026 09:28PM UTC 166
95.14
GitHub Action Run
25 run-4.0-gemfiles/rack_3_2.gemfile - 28403869613.25 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
26 run-3.3-gemfiles/rails_8_0.gemfile - 28403869613.26 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 28403869613.27 29 Jun 2026 09:29PM UTC 166
95.14
GitHub Action Run
28 run-3.3-Gemfile - 28403869613.28 29 Jun 2026 09:29PM UTC 166
95.13
GitHub Action Run
29 run-4.0-gemfiles/multi_xml.gemfile - 28403869613.29 29 Jun 2026 09:29PM UTC 166
46.98
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 28403869613.30 29 Jun 2026 09:29PM UTC 166
62.32
GitHub Action Run
31 run-4.0-gemfiles/rails_7_2.gemfile - 28403869613.31 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
32 run-3.4-gemfiles/rails_8_1.gemfile - 28403869613.32 29 Jun 2026 09:29PM UTC 167
95.14
GitHub Action Run
Source Files on build 28403869613
  • 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 #28403869613
  • 927feecf on github
  • Prev Build on master (#28321497933)
  • Next Build on master (#28743926364)
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