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

ruby-grape / grape / 29144197494
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:15AM UTC coverage: 96.665% (+0.004%) from 96.661%
29144197494

push

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>

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.6 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_0.gemfile - 29144197494.1 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
2 run-3.4-Gemfile - 29144197494.2 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
3 run-4.0-gemfiles/rack_2_2.gemfile - 29144197494.3 11 Jul 2026 07:16AM UTC 167
95.16
GitHub Action Run
4 run-4.0-gemfiles/multi_xml.gemfile - 29144197494.4 11 Jul 2026 07:16AM UTC 167
47.12
GitHub Action Run
5 run-4.0-gemfiles/multi_xml_0_8.gemfile - 29144197494.5 11 Jul 2026 07:16AM UTC 167
47.16
GitHub Action Run
6 run-3.4-gemfiles/rack_3_2.gemfile - 29144197494.6 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 29144197494.7 11 Jul 2026 07:16AM UTC 167
95.16
GitHub Action Run
8 run-4.0-gemfiles/rails_8_1.gemfile - 29144197494.8 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
9 run-3.4-gemfiles/rails_8_1.gemfile - 29144197494.9 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
10 run-4.0-gemfiles/multi_json.gemfile - 29144197494.10 11 Jul 2026 07:16AM UTC 167
47.65
GitHub Action Run
11 run-4.0-gemfiles/multi_json_1_20.gemfile - 29144197494.11 11 Jul 2026 07:16AM UTC 167
47.7
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 29144197494.12 11 Jul 2026 07:16AM UTC 167
95.2
GitHub Action Run
13 run-4.0-gemfiles/rack_3_0.gemfile - 29144197494.13 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
14 run-3.3-gemfiles/rails_8_1.gemfile - 29144197494.14 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
15 run-3.4-gemfiles/rack_2_2.gemfile - 29144197494.15 11 Jul 2026 07:16AM UTC 167
95.16
GitHub Action Run
16 run-4.0-gemfiles/rails_7_2.gemfile - 29144197494.16 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
17 run-3.4-gemfiles/rails_8_0.gemfile - 29144197494.17 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
18 run-4.0-gemfiles/grape_entity.gemfile - 29144197494.18 11 Jul 2026 07:16AM UTC 167
50.44
GitHub Action Run
19 run-3.3-Gemfile - 29144197494.19 11 Jul 2026 07:16AM UTC 167
95.2
GitHub Action Run
20 run-3.4-gemfiles/rails_7_2.gemfile - 29144197494.20 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
21 run-4.0-Gemfile - 29144197494.21 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
22 run-3.4-gemfiles/rack_3_0.gemfile - 29144197494.22 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
23 run-4.0-gemfiles/grape_swagger.gemfile - 29144197494.23 11 Jul 2026 07:16AM UTC 167
55.32
GitHub Action Run
24 run-3.4-gemfiles/rack_3_1.gemfile - 29144197494.24 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
25 run-4.0-gemfiles/rack_3_1.gemfile - 29144197494.25 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
26 run-3.3-gemfiles/rails_7_2.gemfile - 29144197494.26 11 Jul 2026 07:16AM UTC 168
95.21
GitHub Action Run
27 run-3.3-gemfiles/rack_3_0.gemfile - 29144197494.27 11 Jul 2026 07:16AM UTC 167
95.2
GitHub Action Run
28 run-4.0-gemfiles/hashie.gemfile - 29144197494.28 11 Jul 2026 07:16AM UTC 167
62.45
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 29144197494.29 11 Jul 2026 07:16AM UTC 167
95.21
GitHub Action Run
30 run-4.0-gemfiles/dry_validation.gemfile - 29144197494.30 11 Jul 2026 07:16AM UTC 167
58.31
GitHub Action Run
31 run-3.3-gemfiles/rack_3_2.gemfile - 29144197494.31 11 Jul 2026 07:16AM UTC 167
95.2
GitHub Action Run
32 run-4.0-gemfiles/rails_8_0.gemfile - 29144197494.32 11 Jul 2026 07:17AM UTC 168
95.21
GitHub Action Run
Source Files on build 29144197494
  • 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 #29144197494
  • db45362f on github
  • Prev Build on master (#28782563800)
  • Next Build on refactor/nest-path-in-pattern (#29144212943)
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