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

ruby-grape / grape / 35912331064
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/negotiated-format-fallback
DEFAULT BRANCH: master
Ran 23 Sep 2026 07:53PM UTC
Jobs 14
Files 168
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

23 Sep 2026 07:53PM UTC coverage: 98.73% (-1.0%) from 99.743%
35912331064

push

github

ericproulx
Merge a middleware's headers with a guard clause instead of a case

`Middleware::Base#merge_headers` dispatched on the response with a
`case` whose implicit else -- a response that is neither a
Rack::Response nor an Array -- left the headers unmerged, and no spec
reached it: `call!` hands it what `after` or the app returned, which
the Rack SPEC makes a triplet unless it is a Rack::Response.

The Rack::Response branch is now a guard clause and the triplet the main
flow, so that unreachable third branch is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1470 of 1502 branches covered (97.87%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

42 existing lines in 7 files now uncovered.

4282 of 4324 relevant lines covered (99.03%)

12159.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
30.43
-69.57% lib/grape/json.rb
11
42.31
-57.69% lib/grape/validations/validators/contract_scope_validator.rb
8
25.0
-75.0% lib/grape/validations/contract_scope.rb
4
83.33
-15.15% lib/grape/dsl/entity.rb
2
90.91
-5.45% lib/grape/error_formatter/base.rb
2
66.67
-33.33% lib/grape/util/header.rb
1
99.72
-0.28% lib/grape/util/inheritable_setting.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml.gemfile - 35912331064.1 23 Sep 2026 07:53PM UTC 166
45.72
GitHub Action Run
2 run-4.0-gemfiles/hashie.gemfile - 35912331064.2 23 Sep 2026 07:53PM UTC 166
59.98
GitHub Action Run
3 run-3.4-gemfiles/rails_8_0.gemfile - 35912331064.3 23 Sep 2026 07:54PM UTC 168
98.59
GitHub Action Run
4 run-4.0-gemfiles/rails_8_1.gemfile - 35912331064.4 23 Sep 2026 07:53PM UTC 168
98.59
GitHub Action Run
5 run-4.0-gemfiles/rails_8_0.gemfile - 35912331064.5 23 Sep 2026 07:54PM UTC 168
98.59
GitHub Action Run
6 run-3.3-Gemfile - 35912331064.6 23 Sep 2026 07:54PM UTC 167
98.61
GitHub Action Run
7 run-3.4-Gemfile - 35912331064.7 23 Sep 2026 07:53PM UTC 167
98.59
GitHub Action Run
8 run-3.3-gemfiles/rack_3_2.gemfile - 35912331064.8 23 Sep 2026 07:53PM UTC 167
98.61
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 35912331064.9 23 Sep 2026 07:54PM UTC 167
98.59
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 35912331064.10 23 Sep 2026 07:54PM UTC 168
98.61
GitHub Action Run
11 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35912331064.11 23 Sep 2026 07:54PM UTC 166
45.75
GitHub Action Run
12 run-3.3-gemfiles/rails_8_0.gemfile - 35912331064.12 23 Sep 2026 07:54PM UTC 168
98.61
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 35912331064.13 23 Sep 2026 07:54PM UTC 167
98.61
GitHub Action Run
14 run-4.0-gemfiles/grape_swagger.gemfile - 35912331064.14 23 Sep 2026 07:53PM UTC 166
53.35
GitHub Action Run
Source Files on build 35912331064
  • Tree
  • List 168
  • 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 #35912331064
  • 007ef289 on github
  • Prev Build on master (#35879179396)
  • Next Build on refactor/merge-headers-guard (#35912350033)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc