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

ruby-grape / grape / 26337900387 / 20
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/router-request-time-map-mutation
DEFAULT BRANCH: master
Ran 23 May 2026 05:41PM UTC
Files 163
Run time 10s
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

23 May 2026 04:32PM UTC coverage: 95.632% (-0.01%) from 95.645%
26337900387.20

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

1062 of 1175 branches covered (90.38%)

Branch coverage included in aggregate %.

3492 of 3587 relevant lines covered (97.35%)

991.07 hits per line

Source Files on job run-3.3-gemfiles/rack_2_2.gemfile - 26337900387.20
  • 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 26337900387
  • 34a5f78b on github
  • Prev Job for on refactor/rescue-from-explicit-first-arg (#26292056269.27)
  • Next Job for on refactor/rescue-from-explicit-first-arg (#26468380290.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