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

ruby-grape / grape / 30261081468 / 25
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 11:14AM UTC
Files 166
Run time 11s
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

27 Jul 2026 11:12AM UTC coverage: 95.579% (+0.001%) from 95.578%
30261081468.25

push

github

web-flow
Restore the nil-base fallback in Grape::API::Instance#to_s (#2833)

def_delegators :@base, :to_s (#2581) evaluates nil.to_s and returns ""
for any Instance whose @base is unset -- notably the bare
Grape::API::Instance class itself, which is never mounted and never
has base= called on it, so it stays base-less forever. Anything that
enumerates loaded classes and renders them by string (Sorbet/Tapioca
RBI generation, log/error interpolation) sees an empty name instead of
"Grape::API::Instance", while #name stays correct -- the disagreement
is what makes it surprising.

Replace the delegator with an explicit method that falls back to
Module#to_s via super when @base is nil, matching the pre-3.0 behavior.

Fixes #2832.

Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>

1169 of 1282 branches covered (91.19%)

Branch coverage included in aggregate %.

3739 of 3853 relevant lines covered (97.04%)

1116.37 hits per line

Source Files on job run-4.0-gemfiles/rack_3_1.gemfile - 30261081468.25
  • Tree
  • List 166
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30261081468
  • 013a5b80 on github
  • Prev Job for on master (#30240557756.19)
  • Next Job for on master (#30306029090.5)
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