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

ruby-grape / grape / 25361575770 / 9
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 05 May 2026 06:38AM UTC
Files 155
Run time 6s
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

05 May 2026 06:34AM UTC coverage: 95.64% (-0.02%) from 95.661%
25361575770.9

push

github

web-flow
Collapse `extract_handler` type-dispatch into a `case`/`when` (#2698)

`DSL::RequestResponse#extract_handler` dispatched on `with`'s type via three
`with.instance_of?` predicates, each on its own line. Lift the dispatch into a
single `case`/`when` block. Branches stay as plain expressions per the project
style; the early returns above the `case` short-circuit when there's no `with`
to inspect.

Side effect: `case`/`when` uses `===` (i.e. `is_a?`), not `instance_of?`. So a
hypothetical `Symbol`/`String`/`Proc` *subclass* now matches where it didn't
before — `is_a?` is the more conventional check and handles inheritance
correctly. None of the codebase or tests rely on the strict-instance behavior.

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

1050 of 1158 branches covered (90.67%)

Branch coverage included in aggregate %.

3337 of 3429 relevant lines covered (97.32%)

1013.52 hits per line

Source Files on job run-4.0-Gemfile - 25361575770.9
  • Tree
  • List 155
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25361575770
  • 3a8f0ba5 on github
  • Prev Job for on master (#25361382857.17)
  • Next Job for on master (#25406647923.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