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

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

Build:
DEFAULT BRANCH: master
Ran 12 Jul 2026 04:31PM UTC
Files 167
Run time 4s
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: 47.614% (+0.06%) from 47.55%
29200240078.24

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>

161 of 1222 branches covered (13.18%)

Branch coverage included in aggregate %.

2164 of 3661 relevant lines covered (59.11%)

1.01 hits per line

Source Files on job run-4.0-gemfiles/multi_json.gemfile - 29200240078.24
  • 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.21)
  • Next Job for on master (#29200448895.1)
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