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

ruby-grape / grape / 29200240078 / 8
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2026 04:31PM UTC
Files 167
Run time 7s
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: 95.228% (+0.006%) from 95.222%
29200240078.8

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>

1104 of 1222 branches covered (90.34%)

Branch coverage included in aggregate %.

3546 of 3661 relevant lines covered (96.86%)

964.45 hits per line

Source Files on job run-3.4-gemfiles/rack_3_1.gemfile - 29200240078.8
  • Tree
  • List 167
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 29200240078
  • d7137976 on github
  • Prev Job for on master (#29200085335.13)
  • Next Job for on master (#29200448895.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc