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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 05 Jul 2026 07:00PM 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:00PM UTC coverage: 96.658% (-0.003%) from 96.661%
28751482172

Pull #2783

github

ericproulx
Read a route's version, anchor and requirements from its pattern

`version`, `anchor` and `requirements` are the attributes that shape the
matcher — they are passed to `Grape::Router::Pattern` to build the
mustermann pattern. They were also passed a second time to
`Grape::Router::Route` and stored as ivars, purely to back the readers.

Expose them on `Pattern` instead (`attr_reader`) and delegate the
`BaseRoute` readers to `@pattern`, alongside the existing `path`/`origin`
delegation. `to_routes` no longer passes them to `Route.new`. Metadata
that does not shape matching — `namespace`, `prefix`, `settings` — stays
as route keyword arguments.

grape-swagger already passes these to `Pattern.new` and none of them to
`Route.new`, so its routes' readers become correct rather than `nil`.

Also collapse `extract_capture` to a guard plus a single merge. With the
`format` keyword gone (#2782) it just adds an optional `version`
constraint to `requirements`, so the intermediate accumulator was noise.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #2783: Read a route's version, anchor and requirements from its pattern

1127 of 1222 branches covered (92.23%)

Branch coverage included in aggregate %.

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

3588 of 3656 relevant lines covered (98.14%)

23334.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml.gemfile - 28751482172.1 05 Jul 2026 07:00PM UTC 166
47.04
GitHub Action Run
2 run-3.3-gemfiles/rack_3_0.gemfile - 28751482172.2 05 Jul 2026 07:01PM UTC 166
95.2
GitHub Action Run
3 run-3.4-gemfiles/rack_3_2.gemfile - 28751482172.3 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
4 run-4.0-gemfiles/rack_3_0.gemfile - 28751482172.4 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
5 run-3.3-Gemfile - 28751482172.5 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
6 run-4.0-gemfiles/dry_validation.gemfile - 28751482172.6 05 Jul 2026 07:00PM UTC 166
58.25
GitHub Action Run
7 run-3.4-gemfiles/rack_3_0.gemfile - 28751482172.7 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
8 run-4.0-gemfiles/rails_8_1.gemfile - 28751482172.8 05 Jul 2026 07:01PM UTC 167
95.2
GitHub Action Run
9 run-3.4-gemfiles/rails_7_2.gemfile - 28751482172.9 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
10 run-3.3-gemfiles/rails_7_2.gemfile - 28751482172.10 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
11 run-4.0-gemfiles/multi_json_1_20.gemfile - 28751482172.11 05 Jul 2026 07:00PM UTC 166
47.62
GitHub Action Run
12 run-4.0-gemfiles/rack_2_2.gemfile - 28751482172.12 05 Jul 2026 07:00PM UTC 166
95.16
GitHub Action Run
13 run-4.0-gemfiles/grape_swagger.gemfile - 28751482172.13 05 Jul 2026 07:00PM UTC 166
55.23
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 28751482172.14 05 Jul 2026 07:00PM UTC 166
50.35
GitHub Action Run
15 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28751482172.15 05 Jul 2026 07:00PM UTC 166
47.09
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 28751482172.16 05 Jul 2026 07:00PM UTC 166
62.38
GitHub Action Run
17 run-3.4-Gemfile - 28751482172.17 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
18 run-3.3-gemfiles/rails_8_1.gemfile - 28751482172.18 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
19 run-3.3-gemfiles/rack_3_2.gemfile - 28751482172.19 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
20 run-3.3-gemfiles/rack_3_1.gemfile - 28751482172.20 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
21 run-4.0-gemfiles/rack_3_1.gemfile - 28751482172.21 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
22 run-4.0-gemfiles/rails_8_0.gemfile - 28751482172.22 05 Jul 2026 07:01PM UTC 167
95.2
GitHub Action Run
23 run-3.4-gemfiles/rails_8_1.gemfile - 28751482172.23 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
24 run-3.4-gemfiles/rails_8_0.gemfile - 28751482172.24 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
25 run-3.4-gemfiles/rack_2_2.gemfile - 28751482172.25 05 Jul 2026 07:00PM UTC 166
95.16
GitHub Action Run
26 run-4.0-gemfiles/rails_7_2.gemfile - 28751482172.26 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
27 run-3.3-gemfiles/rack_2_2.gemfile - 28751482172.27 05 Jul 2026 07:01PM UTC 166
95.15
GitHub Action Run
28 run-3.4-gemfiles/rack_3_1.gemfile - 28751482172.28 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
29 run-4.0-gemfiles/multi_json.gemfile - 28751482172.29 05 Jul 2026 07:00PM UTC 166
47.58
GitHub Action Run
30 run-4.0-gemfiles/rack_3_2.gemfile - 28751482172.30 05 Jul 2026 07:01PM UTC 166
95.2
GitHub Action Run
31 run-4.0-Gemfile - 28751482172.31 05 Jul 2026 07:00PM UTC 166
95.2
GitHub Action Run
32 run-3.3-gemfiles/rails_8_0.gemfile - 28751482172.32 05 Jul 2026 07:00PM UTC 167
95.2
GitHub Action Run
Source Files on build 28751482172
  • 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 #28751482172
  • Pull Request #2783
  • PR Base - master (#28751276321)
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