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

ruby-grape / grape / 26523164321 / 26
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 165
Run time 12s
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:06PM UTC coverage: 95.75% (+0.007%) from 95.743%
26523164321.26

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

1077 of 1187 branches covered (90.73%)

Branch coverage included in aggregate %.

3497 of 3590 relevant lines covered (97.41%)

976.83 hits per line

Source Files on job run-4.0-gemfiles/rails_7_2.gemfile - 26523164321.26
  • 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 Build 26523164321
  • 28c4528d on github
  • Prev Job for on refactor/middleware-cleanups (#26496466230.22)
  • Next Job for on refactor/middleware-cleanups (#26680612835.15)
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