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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 01 May 2026 10:43PM 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:42PM UTC coverage: 96.958% (-0.02%) from 96.98%
25236304270

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.66 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.3-gemfiles/rails_7_2.gemfile - 25236304270.1 01 May 2026 10:44PM UTC 155
95.62
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 25236304270.2 01 May 2026 10:43PM UTC 154
57.8
GitHub Action Run
3 run-3.3-gemfiles/rack_3_1.gemfile - 25236304270.3 01 May 2026 10:43PM UTC 154
95.61
GitHub Action Run
4 run-3.3-gemfiles/rack_2_2.gemfile - 25236304270.4 01 May 2026 10:44PM UTC 154
95.57
GitHub Action Run
5 run-3.2-gemfiles/rails_7_2.gemfile - 25236304270.5 01 May 2026 10:44PM UTC 155
95.66
GitHub Action Run
6 run-4.0-gemfiles/rails_8_1.gemfile - 25236304270.6 01 May 2026 10:43PM UTC 155
95.64
GitHub Action Run
7 run-4.0-gemfiles/multi_json.gemfile - 25236304270.7 01 May 2026 10:44PM UTC 154
35.97
GitHub Action Run
8 run-4.0-gemfiles/rack_2_2.gemfile - 25236304270.8 01 May 2026 10:44PM UTC 154
95.59
GitHub Action Run
9 run-3.4-Gemfile - 25236304270.9 01 May 2026 10:43PM UTC 154
95.64
GitHub Action Run
10 run-3.2-gemfiles/rack_3_0.gemfile - 25236304270.10 01 May 2026 10:43PM UTC 154
95.66
GitHub Action Run
11 run-4.0-gemfiles/grape_entity.gemfile - 25236304270.11 01 May 2026 10:44PM UTC 154
49.46
GitHub Action Run
12 run-3.2-gemfiles/rack_3_2.gemfile - 25236304270.12 01 May 2026 10:43PM UTC 154
95.66
GitHub Action Run
13 run-3.2-gemfiles/rails_8_1.gemfile - 25236304270.13 01 May 2026 10:44PM UTC 155
95.66
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 25236304270.14 01 May 2026 10:43PM UTC 154
95.61
GitHub Action Run
15 run-3.4-gemfiles/rack_3_2.gemfile - 25236304270.15 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 25236304270.16 01 May 2026 10:43PM UTC 154
95.61
GitHub Action Run
17 run-3.2-gemfiles/rack_2_2.gemfile - 25236304270.17 01 May 2026 10:43PM UTC 154
95.61
GitHub Action Run
18 run-3.2-gemfiles/rails_8_0.gemfile - 25236304270.18 01 May 2026 10:43PM UTC 155
95.66
GitHub Action Run
19 run-3.3-Gemfile - 25236304270.19 01 May 2026 10:43PM UTC 154
95.61
GitHub Action Run
20 run-3.4-gemfiles/rails_7_2.gemfile - 25236304270.20 01 May 2026 10:44PM UTC 155
95.64
GitHub Action Run
21 run-3.3-gemfiles/rails_8_1.gemfile - 25236304270.21 01 May 2026 10:44PM UTC 155
95.62
GitHub Action Run
22 run-3.3-gemfiles/rails_8_0.gemfile - 25236304270.22 01 May 2026 10:44PM UTC 155
95.62
GitHub Action Run
23 run-3.4-gemfiles/rack_3_1.gemfile - 25236304270.23 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
24 run-4.0-Gemfile - 25236304270.24 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
25 run-3.4-gemfiles/rack_3_0.gemfile - 25236304270.25 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 25236304270.26 01 May 2026 10:44PM UTC 154
62.49
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 25236304270.27 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
28 run-3.2-gemfiles/rack_3_1.gemfile - 25236304270.28 01 May 2026 10:44PM UTC 154
95.66
GitHub Action Run
29 run-4.0-gemfiles/rails_7_2.gemfile - 25236304270.29 01 May 2026 10:44PM UTC 155
95.64
GitHub Action Run
30 run-3.2-Gemfile - 25236304270.30 01 May 2026 10:43PM UTC 154
95.66
GitHub Action Run
31 run-3.4-gemfiles/rack_2_2.gemfile - 25236304270.31 01 May 2026 10:44PM UTC 154
95.59
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 25236304270.32 01 May 2026 10:44PM UTC 155
95.64
GitHub Action Run
33 run-4.0-gemfiles/multi_xml.gemfile - 25236304270.33 01 May 2026 10:44PM UTC 154
35.97
GitHub Action Run
34 run-3.4-gemfiles/rails_8_1.gemfile - 25236304270.34 01 May 2026 10:44PM UTC 155
95.64
GitHub Action Run
35 run-4.0-gemfiles/rack_3_1.gemfile - 25236304270.35 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
36 run-4.0-gemfiles/rack_3_2.gemfile - 25236304270.36 01 May 2026 10:44PM UTC 154
95.64
GitHub Action Run
37 run-4.0-gemfiles/rails_8_0.gemfile - 25236304270.37 01 May 2026 10:44PM UTC 155
95.64
GitHub Action Run
Source Files on build 25236304270
  • 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 #25236304270
  • 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