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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 14 May 2026 06:16PM UTC
Jobs 37
Files 160
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

14 May 2026 06:15PM UTC coverage: 97.034%. First build
25877276008

Pull #2719

github

ericproulx
Move content-type helpers from Middleware::Base into PrecomputedContentTypes

`Middleware::Base#content_types` / `#mime_types` / `#content_type_for` /
`#content_type` / `#content_types_indifferent_access` are only consumed by
middleware that include `PrecomputedContentTypes` — namely `Formatter`,
`Error`, and `Versioner::Base`. The other concrete middlewares
(`Filter`, `Auth::Base`) never call them.

Move the five methods into `PrecomputedContentTypes`. `Base` keeps the
ivar plumbing (`@options`, `@env`, `@app`), `Rack::Request` wrapper,
header merge, and `query_params`; the content-type concern lives with
the mixin that already takes responsibility for warming its caches.

This narrows `Base` to the storage / lifecycle layer and unblocks future
work to give per-middleware `Options` value objects without `Base`
reaching back into the option hash. No behaviour change — every
middleware that called those helpers already included
`PrecomputedContentTypes`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2719: Move content-type helpers from Middleware::Base into PrecomputedContentTypes

1084 of 1167 branches covered (92.89%)

Branch coverage included in aggregate %.

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

3496 of 3553 relevant lines covered (98.4%)

32137.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_1.gemfile - 25877276008.1 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 25877276008.2 14 May 2026 06:16PM UTC 159
58.05
GitHub Action Run
3 run-4.0-gemfiles/rails_8_0.gemfile - 25877276008.3 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
4 run-3.3-gemfiles/rack_3_1.gemfile - 25877276008.4 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
5 run-3.4-gemfiles/rack_2_2.gemfile - 25877276008.5 14 May 2026 06:16PM UTC 159
95.69
GitHub Action Run
6 run-3.4-gemfiles/rack_3_0.gemfile - 25877276008.6 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
7 run-4.0-gemfiles/rails_7_2.gemfile - 25877276008.7 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
8 run-3.3-gemfiles/rack_3_0.gemfile - 25877276008.8 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 25877276008.9 14 May 2026 06:16PM UTC 159
95.69
GitHub Action Run
10 run-3.2-gemfiles/rack_2_2.gemfile - 25877276008.10 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
11 run-3.4-gemfiles/rails_8_1.gemfile - 25877276008.11 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
12 run-3.3-gemfiles/rails_7_2.gemfile - 25877276008.12 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
13 run-3.3-Gemfile - 25877276008.13 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 25877276008.14 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
15 run-4.0-Gemfile - 25877276008.15 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
16 run-3.4-Gemfile - 25877276008.16 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
17 run-4.0-gemfiles/rack_3_0.gemfile - 25877276008.17 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
18 run-3.2-gemfiles/rack_3_1.gemfile - 25877276008.18 14 May 2026 06:16PM UTC 159
95.78
GitHub Action Run
19 run-3.3-gemfiles/rails_8_0.gemfile - 25877276008.19 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
20 run-3.4-gemfiles/rack_3_2.gemfile - 25877276008.20 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 25877276008.21 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
22 run-3.2-gemfiles/rails_8_0.gemfile - 25877276008.22 14 May 2026 06:16PM UTC 160
95.78
GitHub Action Run
23 run-3.2-gemfiles/rails_7_2.gemfile - 25877276008.23 14 May 2026 06:16PM UTC 160
95.78
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 25877276008.24 14 May 2026 06:16PM UTC 159
36.33
GitHub Action Run
25 run-3.2-Gemfile - 25877276008.25 14 May 2026 06:16PM UTC 159
95.78
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 25877276008.26 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 25877276008.27 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
28 run-3.2-gemfiles/rack_3_0.gemfile - 25877276008.28 14 May 2026 06:16PM UTC 159
95.78
GitHub Action Run
29 run-4.0-gemfiles/rack_3_1.gemfile - 25877276008.29 14 May 2026 06:16PM UTC 159
95.73
GitHub Action Run
30 run-3.4-gemfiles/rails_7_2.gemfile - 25877276008.30 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
31 run-3.3-gemfiles/rack_2_2.gemfile - 25877276008.31 14 May 2026 06:16PM UTC 159
95.69
GitHub Action Run
32 run-3.2-gemfiles/rack_3_2.gemfile - 25877276008.32 14 May 2026 06:16PM UTC 159
95.78
GitHub Action Run
33 run-4.0-gemfiles/multi_xml.gemfile - 25877276008.33 14 May 2026 06:16PM UTC 159
36.33
GitHub Action Run
34 run-4.0-gemfiles/rails_8_1.gemfile - 25877276008.34 14 May 2026 06:16PM UTC 160
95.74
GitHub Action Run
35 run-3.2-gemfiles/rails_8_1.gemfile - 25877276008.35 14 May 2026 06:16PM UTC 160
95.78
GitHub Action Run
36 run-4.0-gemfiles/grape_entity.gemfile - 25877276008.36 14 May 2026 06:16PM UTC 159
50.0
GitHub Action Run
37 run-4.0-gemfiles/hashie.gemfile - 25877276008.37 14 May 2026 06:16PM UTC 159
62.4
GitHub Action Run
Source Files on build 25877276008
  • Tree
  • List 160
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25877276008
  • Pull Request #2719
  • PR Base - master (#25873678149)
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