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

ruby-grape / grape / 26493796179 / 34
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 27 May 2026 06:02AM UTC
Files 164
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

27 May 2026 06:00AM UTC coverage: 95.727% (-0.01%) from 95.74%
26493796179.34

push

github

web-flow
Make rescue_from reject meta selectors mixed with exception classes (#2737)

Previously the `*args` signature meant that:

  rescue_from :all, MyError, with: :handler

silently dropped `MyError`: the `if args.include?(:all)` branch fired
and the trailing argument was never registered. Same for
`:grape_exceptions` and `:internal_grape_exceptions`.

Keep the existing `*args` signature, add a single guard above the
dispatch: if any meta selector is present and `args.size > 1`, raise
`ArgumentError`. Valid forms (`rescue_from :all`,
`rescue_from :all, with:`, `rescue_from MyError, OtherError, with:`)
are unaffected.

CHANGELOG + UPGRADING entries added; three new request_response_spec
examples cover the new ArgumentError contract.

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

1065 of 1175 branches covered (90.64%)

Branch coverage included in aggregate %.

3505 of 3599 relevant lines covered (97.39%)

988.56 hits per line

Source Files on job run-3.2-Gemfile - 26493796179.34
  • Tree
  • List 164
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26493796179
  • c6863a35 on github
  • Prev Job for on master (#26493393797.18)
  • Next Job for on master (#26494147065.7)
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