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

ruby-grape / grape / 29200240078
97%

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2026 04:30PM UTC
Jobs 32
Files 168
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

12 Jul 2026 04:30PM UTC coverage: 96.686% (+0.004%) from 96.682%
29200240078

push

github

web-flow
Nest Grape::Path inside Grape::Router::Pattern (#2792)

Grape::Path only ever existed to compute the origin/suffix strings that
Grape::Router::Pattern compiles into a matcher — it had a single caller
(Endpoint#to_routes) yet sat at the top level of the Grape namespace as if
it were public.

Move it to Grape::Router::Pattern::Path and add a Pattern.build factory that
takes the raw path, namespace and inheritable settings and constructs the
Path internally, so the endpoint makes one call instead of building a Path
and threading its origin/suffix into Pattern.new. Pattern.new stays
value-based (origin:/suffix:/...), so the matcher never learns about the
settings-hash shape; only Path (and the thin factory) is settings-aware.

Grape::Path is kept as a deprecated constant proxy to the new location.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

1130 of 1224 branches covered (92.32%)

Branch coverage included in aggregate %.

47 of 48 new or added lines in 4 files covered. (97.92%)

3597 of 3665 relevant lines covered (98.14%)

23178.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.25
lib/grape/router/pattern/path.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_3_0.gemfile - 29200240078.1 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
2 run-3.3-gemfiles/rack_2_2.gemfile - 29200240078.2 12 Jul 2026 04:30PM UTC 167
95.19
GitHub Action Run
3 run-4.0-gemfiles/multi_xml.gemfile - 29200240078.3 12 Jul 2026 04:30PM UTC 167
47.08
GitHub Action Run
4 run-3.4-gemfiles/rails_7_2.gemfile - 29200240078.4 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
5 run-4.0-gemfiles/rack_2_2.gemfile - 29200240078.5 12 Jul 2026 04:30PM UTC 167
95.19
GitHub Action Run
6 run-4.0-gemfiles/grape_entity.gemfile - 29200240078.6 12 Jul 2026 04:30PM UTC 167
50.4
GitHub Action Run
7 run-3.3-gemfiles/rails_7_2.gemfile - 29200240078.7 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
8 run-3.4-gemfiles/rack_3_1.gemfile - 29200240078.8 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 29200240078.9 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
10 run-3.3-gemfiles/rack_3_1.gemfile - 29200240078.10 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 29200240078.11 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
12 run-3.3-Gemfile - 29200240078.12 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
13 run-4.0-gemfiles/rack_3_1.gemfile - 29200240078.13 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
14 run-4.0-gemfiles/rails_8_1.gemfile - 29200240078.14 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
15 run-4.0-gemfiles/dry_validation.gemfile - 29200240078.15 12 Jul 2026 04:30PM UTC 167
58.24
GitHub Action Run
16 run-3.4-gemfiles/rails_8_1.gemfile - 29200240078.16 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
17 run-4.0-gemfiles/multi_json_1_20.gemfile - 29200240078.17 12 Jul 2026 04:30PM UTC 167
47.66
GitHub Action Run
18 run-4.0-gemfiles/rails_8_0.gemfile - 29200240078.18 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
19 run-3.4-gemfiles/rack_2_2.gemfile - 29200240078.19 12 Jul 2026 04:30PM UTC 167
95.19
GitHub Action Run
20 run-3.4-Gemfile - 29200240078.20 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
21 run-4.0-gemfiles/rack_3_0.gemfile - 29200240078.21 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 29200240078.22 12 Jul 2026 04:30PM UTC 167
47.12
GitHub Action Run
23 run-4.0-Gemfile - 29200240078.23 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 29200240078.24 12 Jul 2026 04:30PM UTC 167
47.61
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 29200240078.25 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 29200240078.26 12 Jul 2026 04:30PM UTC 167
62.4
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 29200240078.27 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
28 run-4.0-gemfiles/rails_7_2.gemfile - 29200240078.28 12 Jul 2026 04:30PM UTC 168
95.23
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 29200240078.29 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
30 run-3.4-gemfiles/rack_3_0.gemfile - 29200240078.30 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
31 run-3.3-gemfiles/rack_3_2.gemfile - 29200240078.31 12 Jul 2026 04:30PM UTC 167
95.23
GitHub Action Run
32 run-4.0-gemfiles/grape_swagger.gemfile - 29200240078.32 12 Jul 2026 04:30PM UTC 167
55.23
GitHub Action Run
Source Files on build 29200240078
  • Tree
  • List 168
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29200240078
  • d7137976 on github
  • Prev Build on master (#29200085335)
  • Next Build on master (#29200448895)
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