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

ruby-grape / grape / 26755015790 / 14
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 01 Jun 2026 12:31PM UTC
Files 165
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 Jun 2026 12:30PM UTC coverage: 95.648%. Remained the same
26755015790.14

push

github

web-flow
Merge routing args in place in Router#process_route (#2754)

process_route built `args = env[GRAPE_ROUTING_ARGS] || { route_info: route }`
and then reassigned `env[GRAPE_ROUTING_ARGS] = args.merge(route_params)`, which
allocates a second Hash for every matched route that carries params.

Set the routing-args Hash once with `||=` and `merge!` the route params into it
in place, dropping the extra allocation. The resulting routing args are
identical (same keys and values); only the merge is now in-place. `route_params`
is a freshly built Hash, so nothing shared is mutated.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

1090 of 1203 branches covered (90.61%)

Branch coverage included in aggregate %.

3503 of 3599 relevant lines covered (97.33%)

969.56 hits per line

Source Files on job run-3.4-gemfiles/rack_3_0.gemfile - 26755015790.14
  • Tree
  • List 165
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26755015790
  • e99f7907 on github
  • Prev Job for on master (#26754793706.5)
  • Next Job for on master (#26819478808.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