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

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

Build:
Build:
LAST BUILD BRANCH: dblock/automate-gem-release
DEFAULT BRANCH: master
Ran 28 Sep 2026 02:43PM UTC
Jobs 32
Files 166
Run time 2min
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

28 Sep 2026 02:42PM UTC coverage: 99.983%. Remained the same
36438022392

Pull #3013

github

ericproulx
Read a header version holding a hyphen whole

The header versioner parses `application/vnd.<vendor>-<version>+<format>`
with one pattern for every vendor. A hyphen can end either the vendor or
the version, so the pattern keeps hyphens out of the version. A dated
version such as `2024-06-20` (or `2.0-beta`) then split at its last
hyphen: `version` answered "20" and `env['api.vendor']` "acme-2024-06".
The request still reached the right version, because the whole media
type is matched against the declared ones, but everything reading the
parsed parts was wrong. An undeclared version of that shape was also
reported as an unknown vendor.

The versioner knows its vendor, so `MediaType.parse` and `.best_quality`
now take it: with the vendor spelled out, everything after it up to the
format is the version, hyphens included. A media type naming another
vendor is parsed as before. The per-vendor pattern lives in a
Grape::Util::Cache keyed by the vendors APIs declare, not by what
clients send.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #3013: Read a header version holding a hyphen whole

1497 of 1497 branches covered (100.0%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 2 files covered. (100.0%)

4321 of 4322 relevant lines covered (99.98%)

29430.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 36438022392.1 28 Sep 2026 02:44PM UTC 165
98.76
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 36438022392.2 28 Sep 2026 02:44PM UTC 164
55.81
GitHub Action Run
3 run-4.0-gemfiles/rails_7_2.gemfile - 36438022392.3 28 Sep 2026 02:45PM UTC 166
98.8
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 36438022392.4 28 Sep 2026 02:44PM UTC 164
48.71
GitHub Action Run
5 run-3.3-gemfiles/rails_7_2.gemfile - 36438022392.5 28 Sep 2026 02:45PM UTC 166
98.81
GitHub Action Run
6 run-3.4-gemfiles/rails_8_1.gemfile - 36438022392.6 28 Sep 2026 02:44PM UTC 166
98.8
GitHub Action Run
7 run-4.0-gemfiles/rack_3_0.gemfile - 36438022392.7 28 Sep 2026 02:44PM UTC 165
98.8
GitHub Action Run
8 run-4.0-gemfiles/rack_3_2.gemfile - 36438022392.8 28 Sep 2026 02:44PM UTC 165
98.8
GitHub Action Run
9 run-3.3-gemfiles/rack_3_2.gemfile - 36438022392.9 28 Sep 2026 02:45PM UTC 165
98.81
GitHub Action Run
10 run-3.4-gemfiles/rack_3_0.gemfile - 36438022392.10 28 Sep 2026 02:45PM UTC 165
98.8
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 36438022392.11 28 Sep 2026 02:45PM UTC 164
59.89
GitHub Action Run
12 run-4.0-gemfiles/grape_swagger.gemfile - 36438022392.12 28 Sep 2026 02:44PM UTC 164
53.24
GitHub Action Run
13 run-4.0-gemfiles/multi_json_1_20.gemfile - 36438022392.13 28 Sep 2026 02:45PM UTC 164
45.98
GitHub Action Run
14 run-4.0-gemfiles/multi_xml.gemfile - 36438022392.14 28 Sep 2026 02:45PM UTC 164
45.64
GitHub Action Run
15 run-4.0-gemfiles/rack_3_1.gemfile - 36438022392.15 28 Sep 2026 02:44PM UTC 165
98.8
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 36438022392.16 28 Sep 2026 02:43PM UTC 166
98.8
GitHub Action Run
17 run-3.4-gemfiles/rack_2_2.gemfile - 36438022392.17 28 Sep 2026 02:45PM UTC 165
98.76
GitHub Action Run
18 run-3.3-gemfiles/rack_3_0.gemfile - 36438022392.18 28 Sep 2026 02:43PM UTC 165
98.81
GitHub Action Run
19 run-3.4-Gemfile - 36438022392.19 28 Sep 2026 02:44PM UTC 165
98.8
GitHub Action Run
20 run-3.4-gemfiles/rack_3_2.gemfile - 36438022392.20 28 Sep 2026 02:45PM UTC 165
98.8
GitHub Action Run
21 run-3.4-gemfiles/rack_3_1.gemfile - 36438022392.21 28 Sep 2026 02:45PM UTC 165
98.8
GitHub Action Run
22 run-4.0-Gemfile - 36438022392.22 28 Sep 2026 02:44PM UTC 165
98.8
GitHub Action Run
23 run-3.3-gemfiles/rails_8_1.gemfile - 36438022392.23 28 Sep 2026 02:44PM UTC 166
98.81
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 36438022392.24 28 Sep 2026 02:45PM UTC 164
45.95
GitHub Action Run
25 run-3.3-gemfiles/rack_3_1.gemfile - 36438022392.25 28 Sep 2026 02:44PM UTC 165
98.81
GitHub Action Run
26 run-3.3-gemfiles/rack_2_2.gemfile - 36438022392.26 28 Sep 2026 02:45PM UTC 165
98.78
GitHub Action Run
27 run-3.3-gemfiles/rails_8_0.gemfile - 36438022392.27 28 Sep 2026 02:45PM UTC 166
98.81
GitHub Action Run
28 run-3.4-gemfiles/rails_7_2.gemfile - 36438022392.28 28 Sep 2026 02:44PM UTC 166
98.8
GitHub Action Run
29 run-4.0-gemfiles/multi_xml_0_8.gemfile - 36438022392.29 28 Sep 2026 02:44PM UTC 164
45.67
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 36438022392.30 28 Sep 2026 02:43PM UTC 166
98.8
GitHub Action Run
31 run-3.4-gemfiles/rails_8_0.gemfile - 36438022392.31 28 Sep 2026 02:43PM UTC 166
98.8
GitHub Action Run
32 run-3.3-Gemfile - 36438022392.32 28 Sep 2026 02:45PM UTC 165
98.81
GitHub Action Run
Source Files on build 36438022392
  • Tree
  • List 166
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36438022392
  • Pull Request #3013
  • PR Base - master (#36437608697)
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