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

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

Build:
Build:
LAST BUILD BRANCH: fix/variant-collection-coercer-to-s
DEFAULT BRANCH: master
Ran 27 May 2026 04:08PM UTC
Files 164
Run time 21s
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: 95.746% (+0.007%) from 95.739%
26523130391.4

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

1078 of 1189 branches covered (90.66%)

Branch coverage included in aggregate %.

3491 of 3583 relevant lines covered (97.43%)

978.37 hits per line

Source Files on job run-3.3-gemfiles/rack_3_1.gemfile - 26523130391.4
  • Tree
  • List 164
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26523130391
  • 0dfc1dbd on github
  • Prev Job for on refactor/middleware-cleanups (#26496466230.29)
  • Next Job for on refactor/middleware-cleanups (#26523164321.14)
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