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

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

Build:
Build:
LAST BUILD BRANCH: perf/lazy-response-cookies
DEFAULT BRANCH: master
Ran 27 May 2026 04:06PM UTC
Jobs 38
Files 165
Run time 4min
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

27 May 2026 04:05PM UTC coverage: 97.01% (+0.005%) from 97.005%
26523130391

Pull #2749

github

ericproulx
Middleware tidy-up: dedupe versioner media types + Formatter cleanups

* `Versioner::Base#build_available_media_types`: emit the bare
  `application/vnd.<vendor>-<version>` once per version instead of once
  per (version × content_type), eliminating N-1 duplicate entries per
  version in `@available_media_types`.
* `Formatter#read_body_input?`: chained `&&` rewritten as guard returns.
* `Formatter#read_rack_input`: merge parsed body into the existing
  `RACK_REQUEST_FORM_HASH` in place via `merge!` instead of allocating
  a new hash; also tolerates a nil-valued key (previously crashed).
* `Formatter#ensure_content_type`: assign content-type in place rather
  than allocating a merged headers hash.
* `Formatter#after`: drop the no-op splat on
  `status, headers, bodies = *@app_response`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2749: Middleware tidy-up: dedupe versioner media types + Formatter cleanups

1103 of 1189 branches covered (92.77%)

Branch coverage included in aggregate %.

14 of 15 new or added lines in 2 files covered. (93.33%)

3537 of 3594 relevant lines covered (98.41%)

31262.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.66
0.16% lib/grape/middleware/formatter.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json.gemfile - 26523130391.1 27 May 2026 04:06PM UTC 164
36.9
GitHub Action Run
2 run-4.0-gemfiles/grape_entity.gemfile - 26523130391.2 27 May 2026 04:06PM UTC 164
50.51
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 26523130391.3 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
4 run-3.3-gemfiles/rack_3_1.gemfile - 26523130391.4 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
5 run-3.4-gemfiles/rack_2_2.gemfile - 26523130391.5 27 May 2026 04:06PM UTC 164
95.71
GitHub Action Run
6 run-4.0-gemfiles/hashie.gemfile - 26523130391.6 27 May 2026 04:06PM UTC 164
62.81
GitHub Action Run
7 run-3.4-gemfiles/rack_3_1.gemfile - 26523130391.7 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
8 run-3.3-gemfiles/rack_3_0.gemfile - 26523130391.8 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 26523130391.9 27 May 2026 04:06PM UTC 164
95.7
GitHub Action Run
10 run-4.0-Gemfile - 26523130391.10 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
11 run-3.4-gemfiles/rails_8_0.gemfile - 26523130391.11 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
12 run-3.2-gemfiles/rack_3_2.gemfile - 26523130391.12 27 May 2026 04:06PM UTC 164
95.79
GitHub Action Run
13 run-3.4-gemfiles/rails_8_1.gemfile - 26523130391.13 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
14 run-3.3-Gemfile - 26523130391.14 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
15 run-4.0-gemfiles/rails_8_0.gemfile - 26523130391.15 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
16 run-3.3-gemfiles/rails_8_0.gemfile - 26523130391.16 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
17 run-3.4-Gemfile - 26523130391.17 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
18 run-3.2-gemfiles/rails_7_2.gemfile - 26523130391.18 27 May 2026 04:06PM UTC 165
95.79
GitHub Action Run
19 run-4.0-gemfiles/dry_validation.gemfile - 26523130391.19 27 May 2026 04:06PM UTC 164
58.66
GitHub Action Run
20 run-3.2-gemfiles/rails_8_1.gemfile - 26523130391.20 27 May 2026 04:06PM UTC 165
95.79
GitHub Action Run
21 run-3.3-gemfiles/rails_8_1.gemfile - 26523130391.21 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
22 run-4.0-gemfiles/rails_7_2.gemfile - 26523130391.22 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
23 run-4.0-gemfiles/rack_3_0.gemfile - 26523130391.23 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
24 run-3.2-gemfiles/rack_3_0.gemfile - 26523130391.24 27 May 2026 04:06PM UTC 164
95.79
GitHub Action Run
25 run-3.2-gemfiles/rack_3_1.gemfile - 26523130391.25 27 May 2026 04:06PM UTC 164
95.79
GitHub Action Run
26 run-4.0-gemfiles/rack_3_2.gemfile - 26523130391.26 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
27 run-3.4-gemfiles/rails_7_2.gemfile - 26523130391.27 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
28 run-3.2-Gemfile - 26523130391.28 27 May 2026 04:06PM UTC 164
95.79
GitHub Action Run
29 run-4.0-gemfiles/rack_2_2.gemfile - 26523130391.29 27 May 2026 04:06PM UTC 164
95.71
GitHub Action Run
30 run-4.0-gemfiles/multi_xml.gemfile - 26523130391.30 27 May 2026 04:06PM UTC 164
36.9
GitHub Action Run
31 run-4.0-gemfiles/rack_3_1.gemfile - 26523130391.31 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
32 run-4.0-gemfiles/rails_8_1.gemfile - 26523130391.32 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
33 run-4.0-gemfiles/grape_swagger.gemfile - 26523130391.33 27 May 2026 04:06PM UTC 164
55.54
GitHub Action Run
34 run-3.3-gemfiles/rails_7_2.gemfile - 26523130391.34 27 May 2026 04:06PM UTC 165
95.75
GitHub Action Run
35 run-3.4-gemfiles/rack_3_0.gemfile - 26523130391.35 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
36 run-3.2-gemfiles/rack_2_2.gemfile - 26523130391.36 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
37 run-3.2-gemfiles/rails_8_0.gemfile - 26523130391.37 27 May 2026 04:07PM UTC 165
95.79
GitHub Action Run
38 run-3.4-gemfiles/rack_3_2.gemfile - 26523130391.38 27 May 2026 04:06PM UTC 164
95.75
GitHub Action Run
Source Files on build 26523130391
  • Tree
  • List 165
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26523130391
  • Pull Request #2749
  • PR Base - master (#26496466230)
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