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

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

Build:
Build:
LAST BUILD BRANCH: fix/base-only-rescue-handlers
DEFAULT BRANCH: master
Ran 11 Jul 2026 07:16AM 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

11 Jul 2026 07:16AM UTC coverage: 96.665% (+0.004%) from 96.661%
29144212943

Pull #2792

github

ericproulx
Nest Grape::Path inside Grape::Router::Pattern

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>
Pull Request #2792: Nest Grape::Path inside Grape::Router::Pattern

1127 of 1222 branches covered (92.23%)

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%)

23312.18 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/rails_8_1.gemfile - 29144212943.1 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
2 run-3.3-Gemfile - 29144212943.2 11 Jul 2026 07:17AM UTC 167
95.2
GitHub Action Run
3 run-3.3-gemfiles/rails_8_0.gemfile - 29144212943.3 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
4 run-4.0-gemfiles/rails_8_1.gemfile - 29144212943.4 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
5 run-3.3-gemfiles/rack_3_2.gemfile - 29144212943.5 11 Jul 2026 07:17AM UTC 167
95.2
GitHub Action Run
6 run-3.4-gemfiles/rack_2_2.gemfile - 29144212943.6 11 Jul 2026 07:17AM UTC 167
95.16
GitHub Action Run
7 run-4.0-gemfiles/grape_swagger.gemfile - 29144212943.7 11 Jul 2026 07:17AM UTC 167
55.32
GitHub Action Run
8 run-4.0-gemfiles/rack_3_2.gemfile - 29144212943.8 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 29144212943.9 11 Jul 2026 07:17AM UTC 167
95.16
GitHub Action Run
10 run-4.0-gemfiles/hashie.gemfile - 29144212943.10 11 Jul 2026 07:17AM UTC 167
62.45
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 29144212943.11 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 29144212943.12 11 Jul 2026 07:17AM UTC 167
95.2
GitHub Action Run
13 run-4.0-gemfiles/multi_xml.gemfile - 29144212943.13 11 Jul 2026 07:17AM UTC 167
47.12
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 29144212943.14 11 Jul 2026 07:17AM UTC 167
50.44
GitHub Action Run
15 run-4.0-gemfiles/rack_3_1.gemfile - 29144212943.15 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
16 run-3.4-gemfiles/rack_3_1.gemfile - 29144212943.16 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 29144212943.17 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
18 run-4.0-gemfiles/rack_2_2.gemfile - 29144212943.18 11 Jul 2026 07:17AM UTC 167
95.16
GitHub Action Run
19 run-3.4-gemfiles/rails_8_1.gemfile - 29144212943.19 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
20 run-3.4-gemfiles/rack_3_2.gemfile - 29144212943.20 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
21 run-3.4-Gemfile - 29144212943.21 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
22 run-3.4-gemfiles/rails_7_2.gemfile - 29144212943.22 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
23 run-4.0-gemfiles/rails_7_2.gemfile - 29144212943.23 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
24 run-4.0-gemfiles/rack_3_0.gemfile - 29144212943.24 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
25 run-4.0-gemfiles/multi_json_1_20.gemfile - 29144212943.25 11 Jul 2026 07:17AM UTC 167
47.7
GitHub Action Run
26 run-4.0-gemfiles/dry_validation.gemfile - 29144212943.26 11 Jul 2026 07:17AM UTC 167
58.31
GitHub Action Run
27 run-4.0-gemfiles/multi_xml_0_8.gemfile - 29144212943.27 11 Jul 2026 07:17AM UTC 167
47.16
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 29144212943.28 11 Jul 2026 07:16AM UTC 167
95.2
GitHub Action Run
29 run-3.3-gemfiles/rails_7_2.gemfile - 29144212943.29 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
30 run-3.4-gemfiles/rails_8_0.gemfile - 29144212943.30 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
31 run-4.0-Gemfile - 29144212943.31 11 Jul 2026 07:17AM UTC 167
95.21
GitHub Action Run
32 run-4.0-gemfiles/multi_json.gemfile - 29144212943.32 11 Jul 2026 07:17AM UTC 167
47.65
GitHub Action Run
Source Files on build 29144212943
  • 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 #29144212943
  • Pull Request #2792
  • PR Base - master (#28782563800)
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