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

ruby-grape / grape / 25236292407
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 01 May 2026 10:42PM UTC
Jobs 37
Files 155
Run time 1min
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

01 May 2026 10:41PM UTC coverage: 96.958% (-0.02%) from 96.98%
25236292407

Pull #2698

github

ericproulx
Collapse `extract_handler` type-dispatch into a `case`/`when`

`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>
Pull Request #2698: Collapse extract_handler type-dispatch into case/when

1078 of 1162 branches covered (92.77%)

Branch coverage included in aggregate %.

4 of 5 new or added lines in 1 file covered. (80.0%)

3353 of 3408 relevant lines covered (98.39%)

32185.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.26
-1.06% lib/grape/dsl/request_response.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-Gemfile - 25236292407.1 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
2 run-3.4-gemfiles/rack_3_1.gemfile - 25236292407.2 01 May 2026 10:43PM UTC 154
95.64
GitHub Action Run
3 run-4.0-gemfiles/dry_validation.gemfile - 25236292407.3 01 May 2026 10:42PM UTC 154
57.8
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 25236292407.4 01 May 2026 10:42PM UTC 154
49.46
GitHub Action Run
5 run-4.0-gemfiles/rack_3_0.gemfile - 25236292407.5 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
6 run-4.0-gemfiles/rails_8_0.gemfile - 25236292407.6 01 May 2026 10:42PM UTC 155
95.64
GitHub Action Run
7 run-3.2-gemfiles/rack_2_2.gemfile - 25236292407.7 01 May 2026 10:42PM UTC 154
95.61
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 25236292407.8 01 May 2026 10:42PM UTC 155
95.64
GitHub Action Run
9 run-3.3-Gemfile - 25236292407.9 01 May 2026 10:42PM UTC 154
95.61
GitHub Action Run
10 run-3.2-gemfiles/rails_8_1.gemfile - 25236292407.10 01 May 2026 10:42PM UTC 155
95.66
GitHub Action Run
11 run-4.0-gemfiles/rack_3_2.gemfile - 25236292407.11 01 May 2026 10:43PM UTC 154
95.64
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 25236292407.12 01 May 2026 10:42PM UTC 154
95.61
GitHub Action Run
13 run-3.3-gemfiles/rails_7_2.gemfile - 25236292407.13 01 May 2026 10:42PM UTC 155
95.62
GitHub Action Run
14 run-3.2-gemfiles/rails_7_2.gemfile - 25236292407.14 01 May 2026 10:42PM UTC 155
95.66
GitHub Action Run
15 run-3.3-gemfiles/rails_8_1.gemfile - 25236292407.15 01 May 2026 10:42PM UTC 155
95.62
GitHub Action Run
16 run-3.3-gemfiles/rails_8_0.gemfile - 25236292407.16 01 May 2026 10:42PM UTC 155
95.62
GitHub Action Run
17 run-3.2-gemfiles/rack_3_1.gemfile - 25236292407.17 01 May 2026 10:42PM UTC 154
95.66
GitHub Action Run
18 run-3.4-gemfiles/rack_3_0.gemfile - 25236292407.18 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
19 run-3.4-gemfiles/rails_7_2.gemfile - 25236292407.19 01 May 2026 10:42PM UTC 155
95.64
GitHub Action Run
20 run-3.4-gemfiles/rails_8_1.gemfile - 25236292407.20 01 May 2026 10:43PM UTC 155
95.64
GitHub Action Run
21 run-4.0-gemfiles/multi_xml.gemfile - 25236292407.21 01 May 2026 10:42PM UTC 154
35.97
GitHub Action Run
22 run-4.0-Gemfile - 25236292407.22 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 25236292407.23 01 May 2026 10:42PM UTC 154
95.59
GitHub Action Run
24 run-3.2-Gemfile - 25236292407.24 01 May 2026 10:42PM UTC 154
95.66
GitHub Action Run
25 run-4.0-gemfiles/rack_3_1.gemfile - 25236292407.25 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 25236292407.26 01 May 2026 10:42PM UTC 154
62.49
GitHub Action Run
27 run-3.3-gemfiles/rack_3_2.gemfile - 25236292407.27 01 May 2026 10:42PM UTC 154
95.61
GitHub Action Run
28 run-3.3-gemfiles/rack_2_2.gemfile - 25236292407.28 01 May 2026 10:43PM UTC 154
95.57
GitHub Action Run
29 run-4.0-gemfiles/multi_json.gemfile - 25236292407.29 01 May 2026 10:42PM UTC 154
35.97
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 25236292407.30 01 May 2026 10:42PM UTC 154
95.59
GitHub Action Run
31 run-3.2-gemfiles/rails_8_0.gemfile - 25236292407.31 01 May 2026 10:43PM UTC 155
95.66
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 25236292407.32 01 May 2026 10:42PM UTC 155
95.64
GitHub Action Run
33 run-3.2-gemfiles/rack_3_2.gemfile - 25236292407.33 01 May 2026 10:42PM UTC 154
95.66
GitHub Action Run
34 run-3.4-gemfiles/rack_3_2.gemfile - 25236292407.34 01 May 2026 10:42PM UTC 154
95.64
GitHub Action Run
35 run-4.0-gemfiles/rails_8_1.gemfile - 25236292407.35 01 May 2026 10:42PM UTC 155
95.64
GitHub Action Run
36 run-3.3-gemfiles/rack_3_0.gemfile - 25236292407.36 01 May 2026 10:42PM UTC 154
95.61
GitHub Action Run
37 run-3.2-gemfiles/rack_3_0.gemfile - 25236292407.37 01 May 2026 10:42PM UTC 154
95.66
GitHub Action Run
Source Files on build 25236292407
  • 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 Repo
  • Github Actions Build #25236292407
  • Pull Request #2698
  • PR Base - master (#25137726391)
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