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

ruby-grape / grape / 28752344130
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 05 Jul 2026 07:32PM 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

05 Jul 2026 07:21PM UTC coverage: 96.597% (+0.004%) from 96.593%
28752344130

push

github

ericproulx
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.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_2_2.gemfile - 28752344130.1 05 Jul 2026 07:32PM UTC 166
95.09
GitHub Action Run
2 run-3.4-gemfiles/rack_2_2.gemfile - 28752344130.2 05 Jul 2026 07:32PM UTC 166
95.09
GitHub Action Run
3 run-4.0-gemfiles/multi_json_1_20.gemfile - 28752344130.3 05 Jul 2026 07:32PM UTC 166
47.56
GitHub Action Run
4 run-3.3-Gemfile - 28752344130.4 05 Jul 2026 07:32PM UTC 166
95.13
GitHub Action Run
5 run-3.4-gemfiles/rack_3_0.gemfile - 28752344130.5 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
6 run-3.4-gemfiles/rack_3_1.gemfile - 28752344130.6 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
7 run-4.0-gemfiles/rails_8_0.gemfile - 28752344130.7 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
8 run-4.0-gemfiles/grape_swagger.gemfile - 28752344130.8 05 Jul 2026 07:32PM UTC 166
55.15
GitHub Action Run
9 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28752344130.9 05 Jul 2026 07:32PM UTC 166
47.02
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 28752344130.10 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 28752344130.11 05 Jul 2026 07:32PM UTC 166
62.32
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 28752344130.12 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
13 run-4.0-gemfiles/rails_8_1.gemfile - 28752344130.13 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
14 run-4.0-gemfiles/multi_json.gemfile - 28752344130.14 05 Jul 2026 07:32PM UTC 166
47.52
GitHub Action Run
15 run-4.0-gemfiles/rack_3_1.gemfile - 28752344130.15 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
16 run-3.3-gemfiles/rack_3_1.gemfile - 28752344130.16 05 Jul 2026 07:32PM UTC 166
95.13
GitHub Action Run
17 run-3.4-gemfiles/rails_7_2.gemfile - 28752344130.17 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
18 run-3.4-gemfiles/rails_8_1.gemfile - 28752344130.18 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
19 run-3.3-gemfiles/rack_3_2.gemfile - 28752344130.19 05 Jul 2026 07:32PM UTC 166
95.13
GitHub Action Run
20 run-4.0-Gemfile - 28752344130.20 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
21 run-4.0-gemfiles/dry_validation.gemfile - 28752344130.21 05 Jul 2026 07:32PM UTC 166
58.19
GitHub Action Run
22 run-3.4-gemfiles/rails_8_0.gemfile - 28752344130.22 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
23 run-3.3-gemfiles/rails_8_0.gemfile - 28752344130.23 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
24 run-3.4-Gemfile - 28752344130.24 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
25 run-4.0-gemfiles/grape_entity.gemfile - 28752344130.25 05 Jul 2026 07:32PM UTC 166
50.29
GitHub Action Run
26 run-4.0-gemfiles/rails_7_2.gemfile - 28752344130.26 05 Jul 2026 07:33PM UTC 167
95.14
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 28752344130.27 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
28 run-4.0-gemfiles/rack_3_0.gemfile - 28752344130.28 05 Jul 2026 07:32PM UTC 166
95.14
GitHub Action Run
29 run-4.0-gemfiles/rack_2_2.gemfile - 28752344130.29 05 Jul 2026 07:32PM UTC 166
95.09
GitHub Action Run
30 run-3.3-gemfiles/rails_8_1.gemfile - 28752344130.30 05 Jul 2026 07:32PM UTC 167
95.14
GitHub Action Run
31 run-4.0-gemfiles/multi_xml.gemfile - 28752344130.31 05 Jul 2026 07:32PM UTC 166
46.98
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 28752344130.32 05 Jul 2026 07:32PM UTC 166
95.13
GitHub Action Run
Source Files on build 28752344130
  • 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 #28752344130
  • 2b4ef14f on github
  • Prev Build on v3.3.1 (#28321357192)
  • Next Build on v3.3.2_release (#28752360592)
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