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

ruby-grape / grape / 25235915455 / 10
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 01 May 2026 10:32PM UTC
Files 156
Run time 9s
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:29PM UTC coverage: 95.667% (-0.02%) from 95.684%
25235915455.10

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

1055 of 1163 branches covered (90.71%)

Branch coverage included in aggregate %.

3317 of 3407 relevant lines covered (97.36%)

1005.07 hits per line

Source Files on job run-3.2-gemfiles/rails_8_1.gemfile - 25235915455.10
  • Tree
  • List 156
  • Changed 5
  • Source Changed 5
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25235915455
  • 8473bad1 on github
  • Prev Job for on refactor/extract-path-normalizer (#25137726391.23)
  • Next Job for on refactor/extract-path-normalizer (#25361181726.15)
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