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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 05 Jul 2026 06:51PM 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 06:51PM UTC coverage: 96.643%. Remained the same
28751236776

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

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

1130 of 1226 branches covered (92.17%)

Branch coverage included in aggregate %.

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

3591 of 3659 relevant lines covered (98.14%)

23389.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/hashie.gemfile - 28751236776.1 05 Jul 2026 06:51PM UTC 166
62.39
GitHub Action Run
2 run-4.0-gemfiles/rack_3_2.gemfile - 28751236776.2 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
3 run-3.4-gemfiles/rack_2_2.gemfile - 28751236776.3 05 Jul 2026 06:52PM UTC 166
95.14
GitHub Action Run
4 run-3.3-gemfiles/rails_8_0.gemfile - 28751236776.4 05 Jul 2026 06:52PM UTC 167
95.19
GitHub Action Run
5 run-4.0-gemfiles/grape_swagger.gemfile - 28751236776.5 05 Jul 2026 06:51PM UTC 166
55.26
GitHub Action Run
6 run-3.3-gemfiles/rails_7_2.gemfile - 28751236776.6 05 Jul 2026 06:52PM UTC 167
95.19
GitHub Action Run
7 run-3.4-gemfiles/rails_7_2.gemfile - 28751236776.7 05 Jul 2026 06:51PM UTC 167
95.19
GitHub Action Run
8 run-4.0-gemfiles/rack_3_1.gemfile - 28751236776.8 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 28751236776.9 05 Jul 2026 06:52PM UTC 166
95.14
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 28751236776.10 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
11 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28751236776.11 05 Jul 2026 06:52PM UTC 166
47.12
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 28751236776.12 05 Jul 2026 06:52PM UTC 166
47.08
GitHub Action Run
13 run-4.0-Gemfile - 28751236776.13 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
14 run-3.3-Gemfile - 28751236776.14 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
15 run-4.0-gemfiles/dry_validation.gemfile - 28751236776.15 05 Jul 2026 06:51PM UTC 166
58.27
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 28751236776.16 05 Jul 2026 06:52PM UTC 167
95.19
GitHub Action Run
17 run-4.0-gemfiles/rails_7_2.gemfile - 28751236776.17 05 Jul 2026 06:51PM UTC 167
95.19
GitHub Action Run
18 run-3.4-gemfiles/rack_3_0.gemfile - 28751236776.18 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
19 run-4.0-gemfiles/rails_8_0.gemfile - 28751236776.19 05 Jul 2026 06:52PM UTC 167
95.19
GitHub Action Run
20 run-3.4-gemfiles/rails_8_0.gemfile - 28751236776.20 05 Jul 2026 06:51PM UTC 167
95.19
GitHub Action Run
21 run-3.4-gemfiles/rails_8_1.gemfile - 28751236776.21 05 Jul 2026 06:52PM UTC 167
95.19
GitHub Action Run
22 run-3.3-gemfiles/rails_8_1.gemfile - 28751236776.22 05 Jul 2026 06:51PM UTC 167
95.19
GitHub Action Run
23 run-4.0-gemfiles/multi_json_1_20.gemfile - 28751236776.23 05 Jul 2026 06:52PM UTC 166
47.65
GitHub Action Run
24 run-3.4-Gemfile - 28751236776.24 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
25 run-3.3-gemfiles/rack_3_1.gemfile - 28751236776.25 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
26 run-4.0-gemfiles/rack_2_2.gemfile - 28751236776.26 05 Jul 2026 06:51PM UTC 166
95.14
GitHub Action Run
27 run-3.3-gemfiles/rack_3_0.gemfile - 28751236776.27 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
28 run-3.3-gemfiles/rack_3_2.gemfile - 28751236776.28 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
29 run-4.0-gemfiles/rack_3_0.gemfile - 28751236776.29 05 Jul 2026 06:52PM UTC 166
95.18
GitHub Action Run
30 run-4.0-gemfiles/grape_entity.gemfile - 28751236776.30 05 Jul 2026 06:52PM UTC 166
50.38
GitHub Action Run
31 run-3.4-gemfiles/rack_3_1.gemfile - 28751236776.31 05 Jul 2026 06:51PM UTC 166
95.18
GitHub Action Run
32 run-4.0-gemfiles/multi_json.gemfile - 28751236776.32 05 Jul 2026 06:51PM UTC 166
47.61
GitHub Action Run
Source Files on build 28751236776
  • 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 #28751236776
  • Pull Request #2783
  • PR Base - master (#28747175440)
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