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

ruby-grape / grape / 25235897210 / 13
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 01 May 2026 10:31PM UTC
Files 155
Run time 8s
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

01 May 2026 10:28PM UTC coverage: 49.496% (+0.02%) from 49.473%
25235897210.13

Pull #2697

github

ericproulx
Extract Grape::Util::PathNormalizer from Grape::Router

`Grape::Router.normalize_path` is a pure string utility — five of its six
callers already live outside `Grape::Router` (`Grape::Path`, `Grape::Namespace`,
`Grape::Middleware::Versioner::Path`, and `Grape::DSL::Routing`). Moving it to
`Grape::Util::PathNormalizer` puts the helper next to other utility-style
modules (`Header`, `Translation`, `Cache`, etc.) and clarifies that the function
has no dependency on `Router` state.

The class method `Grape::Router.normalize_path` is preserved as a deprecated
alias that delegates to `Grape::Util::PathNormalizer.call` and warns via
`Grape.deprecator`. It will be removed in a future release.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2697: Extract Grape::Util::PathNormalizer from Grape::Router

199 of 1161 branches covered (17.14%)

Branch coverage included in aggregate %.

2060 of 3403 relevant lines covered (60.53%)

8.04 hits per line

Source Files on job run-4.0-gemfiles/grape_entity.gemfile - 25235897210.13
  • Tree
  • List 155
  • Changed 5
  • Source Changed 5
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25235897210
  • 29b8b97b on github
  • Prev Job for on refactor/extract-path-normalizer (#25137726391.22)
  • Next Job for on refactor/extract-path-normalizer (#25235915455.23)
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