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

ruby-grape / grape / 28782563800
97%

Build:
DEFAULT BRANCH: master
Ran 06 Jul 2026 09:44AM 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

06 Jul 2026 09:44AM UTC coverage: 96.661% (-0.002%) from 96.663%
28782563800

push

github

web-flow
Read a route's version, anchor and requirements from its pattern (#2783)

`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>

1127 of 1222 branches covered (92.23%)

Branch coverage included in aggregate %.

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

3591 of 3659 relevant lines covered (98.14%)

23325.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 28782563800.1 06 Jul 2026 09:44AM UTC 166
95.16
GitHub Action Run
2 run-3.3-gemfiles/rack_3_2.gemfile - 28782563800.2 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
3 run-4.0-gemfiles/rack_3_2.gemfile - 28782563800.3 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
4 run-3.4-gemfiles/rack_3_1.gemfile - 28782563800.4 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
5 run-3.3-gemfiles/rack_2_2.gemfile - 28782563800.5 06 Jul 2026 09:44AM UTC 166
95.16
GitHub Action Run
6 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28782563800.6 06 Jul 2026 09:44AM UTC 166
47.1
GitHub Action Run
7 run-4.0-gemfiles/rack_3_0.gemfile - 28782563800.7 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 28782563800.8 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
9 run-4.0-gemfiles/grape_swagger.gemfile - 28782563800.9 06 Jul 2026 09:44AM UTC 166
55.26
GitHub Action Run
10 run-4.0-gemfiles/rails_8_0.gemfile - 28782563800.10 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
11 run-4.0-Gemfile - 28782563800.11 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
12 run-3.4-gemfiles/rails_8_1.gemfile - 28782563800.12 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 28782563800.13 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
14 run-3.3-Gemfile - 28782563800.14 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
15 run-4.0-gemfiles/multi_json_1_20.gemfile - 28782563800.15 06 Jul 2026 09:44AM UTC 166
47.63
GitHub Action Run
16 run-4.0-gemfiles/dry_validation.gemfile - 28782563800.16 06 Jul 2026 09:44AM UTC 166
58.26
GitHub Action Run
17 run-3.3-gemfiles/rack_3_0.gemfile - 28782563800.17 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
18 run-4.0-gemfiles/multi_json.gemfile - 28782563800.18 06 Jul 2026 09:44AM UTC 166
47.59
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 28782563800.19 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
20 run-3.4-Gemfile - 28782563800.20 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
21 run-3.4-gemfiles/rails_7_2.gemfile - 28782563800.21 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
22 run-3.3-gemfiles/rack_3_1.gemfile - 28782563800.22 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
23 run-3.3-gemfiles/rails_7_2.gemfile - 28782563800.23 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
24 run-4.0-gemfiles/rack_2_2.gemfile - 28782563800.24 06 Jul 2026 09:44AM UTC 166
95.16
GitHub Action Run
25 run-4.0-gemfiles/multi_xml.gemfile - 28782563800.25 06 Jul 2026 09:44AM UTC 166
47.06
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 28782563800.26 06 Jul 2026 09:44AM UTC 166
62.4
GitHub Action Run
27 run-3.4-gemfiles/rack_3_2.gemfile - 28782563800.27 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
28 run-4.0-gemfiles/rails_8_1.gemfile - 28782563800.28 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
29 run-3.4-gemfiles/rack_3_0.gemfile - 28782563800.29 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
30 run-3.4-gemfiles/rails_8_0.gemfile - 28782563800.30 06 Jul 2026 09:44AM UTC 167
95.2
GitHub Action Run
31 run-4.0-gemfiles/grape_entity.gemfile - 28782563800.31 06 Jul 2026 09:44AM UTC 166
50.38
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 28782563800.32 06 Jul 2026 09:44AM UTC 166
95.2
GitHub Action Run
Source Files on build 28782563800
  • 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 #28782563800
  • 7f7b9e93 on github
  • Prev Build on master (#28752506290)
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