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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 04 Jul 2026 03:10PM 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

04 Jul 2026 03:09PM UTC coverage: 96.643% (+0.004%) from 96.639%
28710340907

Pull #2779

github

ericproulx
Promote route metadata to Route keyword arguments

`version`, `namespace`, `prefix`, `requirements`, `anchor` and `settings`
were computed in `Endpoint#prepare_default_route_attributes`, merged into
the route options Hash, and read back through `Grape::Router::BaseRoute`'s
`def_delegators :@options`. They are route metadata, not part of the
user-declared options bag grape-swagger consumes.

They are now passed to `Grape::Router::Route` as explicit keyword
arguments and exposed as plain readers on `BaseRoute`. `Endpoint#to_routes`
computes each as a local and passes `config.route_options` straight
through, so `prepare_default_route_attributes` (and the intermediate
`default_route_options`/`complete_route_options`) is gone. `Route`
forwards the attributes to `super` via `**route_attributes` to keep its
signature lean.

`route.options` now carries only what was declared for the route; the
`@options` delegation is down to `description` plus the documentation
`DSL_METHODS`. The readers are unchanged, so grape-swagger (which reads
`route.prefix` and `route.settings`) is unaffected. `requirements` and
`anchor` can still be declared as route options, so any explicit value
stays in `route.options`; the effective value comes from the reader.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #2779: Promote route metadata to Route keyword arguments

1130 of 1226 branches covered (92.17%)

Branch coverage included in aggregate %.

18 of 18 new or added lines in 3 files covered. (100.0%)

3591 of 3659 relevant lines covered (98.14%)

23422.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 28710340907.1 04 Jul 2026 03:11PM UTC 166
95.14
GitHub Action Run
2 run-4.0-gemfiles/rails_7_2.gemfile - 28710340907.2 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
3 run-4.0-gemfiles/grape_swagger.gemfile - 28710340907.3 04 Jul 2026 03:11PM UTC 166
55.26
GitHub Action Run
4 run-3.3-gemfiles/rails_8_0.gemfile - 28710340907.4 04 Jul 2026 03:10PM UTC 167
95.19
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 28710340907.5 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
6 run-3.3-gemfiles/rack_2_2.gemfile - 28710340907.6 04 Jul 2026 03:10PM UTC 166
95.14
GitHub Action Run
7 run-3.4-gemfiles/rack_3_1.gemfile - 28710340907.7 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
8 run-4.0-gemfiles/grape_entity.gemfile - 28710340907.8 04 Jul 2026 03:10PM UTC 166
50.38
GitHub Action Run
9 run-4.0-gemfiles/rack_3_2.gemfile - 28710340907.9 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
10 run-3.4-Gemfile - 28710340907.10 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
11 run-4.0-gemfiles/multi_json.gemfile - 28710340907.11 04 Jul 2026 03:11PM UTC 166
47.61
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 28710340907.12 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
13 run-3.4-gemfiles/rack_3_2.gemfile - 28710340907.13 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
14 run-4.0-gemfiles/rails_8_1.gemfile - 28710340907.14 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
15 run-4.0-gemfiles/dry_validation.gemfile - 28710340907.15 04 Jul 2026 03:10PM UTC 166
58.27
GitHub Action Run
16 run-3.4-gemfiles/rack_3_0.gemfile - 28710340907.16 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
17 run-3.4-gemfiles/rails_7_2.gemfile - 28710340907.17 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
18 run-4.0-gemfiles/rails_8_0.gemfile - 28710340907.18 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
19 run-4.0-Gemfile - 28710340907.19 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
20 run-4.0-gemfiles/rack_3_0.gemfile - 28710340907.20 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
21 run-4.0-gemfiles/rack_3_1.gemfile - 28710340907.21 04 Jul 2026 03:11PM UTC 166
95.18
GitHub Action Run
22 run-3.3-gemfiles/rails_7_2.gemfile - 28710340907.22 04 Jul 2026 03:10PM UTC 167
95.19
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 28710340907.23 04 Jul 2026 03:11PM UTC 166
95.14
GitHub Action Run
24 run-3.3-Gemfile - 28710340907.24 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
25 run-4.0-gemfiles/multi_json_1_20.gemfile - 28710340907.25 04 Jul 2026 03:10PM UTC 166
47.65
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 28710340907.26 04 Jul 2026 03:10PM UTC 166
47.08
GitHub Action Run
27 run-3.3-gemfiles/rack_3_2.gemfile - 28710340907.27 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 28710340907.28 04 Jul 2026 03:10PM UTC 166
95.18
GitHub Action Run
29 run-4.0-gemfiles/hashie.gemfile - 28710340907.29 04 Jul 2026 03:10PM UTC 166
62.39
GitHub Action Run
30 run-3.4-gemfiles/rails_8_0.gemfile - 28710340907.30 04 Jul 2026 03:11PM UTC 167
95.19
GitHub Action Run
31 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28710340907.31 04 Jul 2026 03:11PM UTC 166
47.12
GitHub Action Run
32 run-3.3-gemfiles/rails_8_1.gemfile - 28710340907.32 04 Jul 2026 03:10PM UTC 167
95.19
GitHub Action Run
Source Files on build 28710340907
  • Tree
  • List 167
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28710340907
  • Pull Request #2779
  • PR Base - endpoint_api_kwarg (#28708868356)
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