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

ruby-grape / grape / 26468380290 / 23
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 26 May 2026 07:01PM UTC
Files 163
Run time 24s
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

26 May 2026 06:50PM UTC coverage: 95.695% (-0.01%) from 95.708%
26468380290.23

Pull #2737

github

ericproulx
Make rescue_from reject meta selectors mixed with exception classes

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>
Pull Request #2737: Make rescue_from reject meta selectors mixed with exception classes

1063 of 1173 branches covered (90.62%)

Branch coverage included in aggregate %.

3494 of 3589 relevant lines covered (97.35%)

989.02 hits per line

Source Files on job run-3.3-Gemfile - 26468380290.23
  • Tree
  • List 163
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26468380290
  • e6c95b4e on github
  • Prev Job for on refactor/rescue-from-explicit-first-arg (#26418525997.32)
  • Next Job for on refactor/rescue-from-explicit-first-arg (#26493681000.10)
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