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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 23 May 2026 08:08AM UTC
Jobs 38
Files 164
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

23 May 2026 08:07AM UTC coverage: 96.979% (+0.002%) from 96.977%
26327699911

Pull #2734

github

ericproulx
Extract `options_route_enabled` from Endpoint options Hash into a dedicated accessor

`options_route_enabled` is not a constructor input — it's set later by
`Grape::API::Instance#configure_options_routes` via
`last_route.app.options[:options_route_enabled] = true`. Threading it
through the `**options` Hash was the only reason `Endpoint#options` had
to remain externally mutable.

This change:

- Adds `attr_accessor :options_route_enabled` on `Grape::Endpoint`,
  initialized to `false`.
- Rewrites `options?` to read the ivar instead of `options[:options_route_enabled]`.
- Rewrites the writer at `Grape::API::Instance` to use
  `last_route.app.options_route_enabled = true`.

No behavior change. Sets the stage for tightening the rest of the
Endpoint constructor surface in a follow-up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2734: Extract options_route_enabled from Endpoint options Hash into a dedicated accessor

1088 of 1173 branches covered (92.75%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 2 files covered. (100.0%)

3534 of 3593 relevant lines covered (98.36%)

31652.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml.gemfile - 26327699911.1 23 May 2026 08:08AM UTC 163
36.67
GitHub Action Run
2 run-3.2-gemfiles/rails_7_2.gemfile - 26327699911.2 23 May 2026 08:08AM UTC 164
95.74
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 26327699911.3 23 May 2026 08:08AM UTC 164
95.69
GitHub Action Run
4 run-3.2-gemfiles/rack_3_2.gemfile - 26327699911.4 23 May 2026 08:09AM UTC 163
95.73
GitHub Action Run
5 run-3.4-gemfiles/rack_3_0.gemfile - 26327699911.5 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
6 run-4.0-gemfiles/rails_7_2.gemfile - 26327699911.6 23 May 2026 08:09AM UTC 164
95.69
GitHub Action Run
7 run-4.0-gemfiles/hashie.gemfile - 26327699911.7 23 May 2026 08:08AM UTC 163
62.45
GitHub Action Run
8 run-3.4-gemfiles/rails_8_0.gemfile - 26327699911.8 23 May 2026 08:09AM UTC 164
95.69
GitHub Action Run
9 run-3.2-gemfiles/rack_3_1.gemfile - 26327699911.9 23 May 2026 08:08AM UTC 163
95.73
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 26327699911.10 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
11 run-3.4-gemfiles/rack_2_2.gemfile - 26327699911.11 23 May 2026 08:08AM UTC 163
95.65
GitHub Action Run
12 run-4.0-gemfiles/multi_json.gemfile - 26327699911.12 23 May 2026 08:09AM UTC 163
36.67
GitHub Action Run
13 run-3.3-gemfiles/rack_3_1.gemfile - 26327699911.13 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
14 run-3.4-Gemfile - 26327699911.14 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
15 run-3.2-gemfiles/rails_8_1.gemfile - 26327699911.15 23 May 2026 08:09AM UTC 164
95.74
GitHub Action Run
16 run-3.4-gemfiles/rails_8_1.gemfile - 26327699911.16 23 May 2026 08:08AM UTC 164
95.69
GitHub Action Run
17 run-3.4-gemfiles/rack_3_1.gemfile - 26327699911.17 23 May 2026 08:09AM UTC 163
95.69
GitHub Action Run
18 run-3.3-gemfiles/rack_3_2.gemfile - 26327699911.18 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
19 run-4.0-gemfiles/dry_validation.gemfile - 26327699911.19 23 May 2026 08:09AM UTC 163
58.24
GitHub Action Run
20 run-3.3-Gemfile - 26327699911.20 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
21 run-4.0-gemfiles/rails_8_0.gemfile - 26327699911.21 23 May 2026 08:09AM UTC 164
95.69
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 26327699911.22 23 May 2026 08:09AM UTC 163
50.23
GitHub Action Run
23 run-3.2-gemfiles/rack_2_2.gemfile - 26327699911.23 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
24 run-4.0-Gemfile - 26327699911.24 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
25 run-4.0-gemfiles/rack_2_2.gemfile - 26327699911.25 23 May 2026 08:08AM UTC 163
95.65
GitHub Action Run
26 run-3.3-gemfiles/rack_3_0.gemfile - 26327699911.26 23 May 2026 08:09AM UTC 163
95.69
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 26327699911.27 23 May 2026 08:12AM UTC 163
95.69
GitHub Action Run
28 run-3.4-gemfiles/rack_3_2.gemfile - 26327699911.28 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
29 run-4.0-gemfiles/rails_8_1.gemfile - 26327699911.29 23 May 2026 08:08AM UTC 164
95.69
GitHub Action Run
30 run-3.3-gemfiles/rack_2_2.gemfile - 26327699911.30 23 May 2026 08:08AM UTC 163
95.65
GitHub Action Run
31 run-3.3-gemfiles/rails_8_0.gemfile - 26327699911.31 23 May 2026 08:08AM UTC 164
95.69
GitHub Action Run
32 run-3.3-gemfiles/rails_8_1.gemfile - 26327699911.32 23 May 2026 08:09AM UTC 164
95.69
GitHub Action Run
33 run-3.2-Gemfile - 26327699911.33 23 May 2026 08:08AM UTC 163
95.73
GitHub Action Run
34 run-3.3-gemfiles/rails_7_2.gemfile - 26327699911.34 23 May 2026 08:08AM UTC 164
95.69
GitHub Action Run
35 run-3.2-gemfiles/rails_8_0.gemfile - 26327699911.35 23 May 2026 08:09AM UTC 164
95.74
GitHub Action Run
36 run-3.2-gemfiles/rack_3_0.gemfile - 26327699911.36 23 May 2026 08:08AM UTC 163
95.73
GitHub Action Run
37 run-4.0-gemfiles/grape_swagger.gemfile - 26327699911.37 23 May 2026 08:08AM UTC 163
55.19
GitHub Action Run
38 run-4.0-gemfiles/rack_3_2.gemfile - 26327699911.38 23 May 2026 08:08AM UTC 163
95.69
GitHub Action Run
Source Files on build 26327699911
  • Tree
  • List 164
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26327699911
  • Pull Request #2734
  • PR Base - master (#26292056269)
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