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

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

Build:
Build:
LAST BUILD BRANCH: fix/version-positional-options
DEFAULT BRANCH: master
Ran 06 Nov 2026 11:16PM UTC
Jobs 32
Files 177
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

06 Nov 2026 11:16PM UTC coverage: 100.0%. Remained the same
42310795076

Pull #3060

github

ericproulx
Raise ArgumentError on a positional options Hash in version

Since #2618 replaced extract_options! with keyword arguments (3.0.0), a
trailing braced options Hash such as

    version 'v1', { using: :header, vendor: 'acme' }

lands in the splat. Grape registered a version literally named
`{using: :header, vendor: "acme"}` and kept the API on the default :path
strategy, with no warning.

Raise ArgumentError instead, as auth, http_basic and desc have done
since 4.0.0. Redispatching the Hash as keywords, as #2853 did for
requires, optional and use, would quietly move an API that has been
serving /v1/... since 3.0 onto header versioning in a minor release.
Raising stops it at boot and points at the line. Any Hash among the
arguments raises, since a Hash is never a version name.

UPGRADING notes the break and how to keep path versioning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #3060: Raise ArgumentError on a positional options Hash in version

1531 of 1531 branches covered (100.0%)

Branch coverage included in aggregate %.

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

4568 of 4568 relevant lines covered (100.0%)

30878.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_2_2.gemfile - 42310795076.1 06 Nov 2026 11:17PM UTC 176
98.85
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 42310795076.2 06 Nov 2026 11:16PM UTC 175
46.45
GitHub Action Run
3 run-4.0-gemfiles/rails_8_0.gemfile - 42310795076.3 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
4 run-3.4-gemfiles/rack_3_2.gemfile - 42310795076.4 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 42310795076.5 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
6 run-3.4-gemfiles/rails_8_0.gemfile - 42310795076.6 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
7 run-4.0-gemfiles/grape_entity.gemfile - 42310795076.7 06 Nov 2026 11:16PM UTC 175
49.37
GitHub Action Run
8 run-4.0-gemfiles/hashie.gemfile - 42310795076.8 06 Nov 2026 11:17PM UTC 175
60.06
GitHub Action Run
9 run-4.0-gemfiles/rails_8_1.gemfile - 42310795076.9 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
10 run-4.0-gemfiles/rack_2_2.gemfile - 42310795076.10 06 Nov 2026 11:17PM UTC 176
98.83
GitHub Action Run
11 run-3.3-gemfiles/rails_7_2.gemfile - 42310795076.11 06 Nov 2026 11:17PM UTC 177
98.88
GitHub Action Run
12 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42310795076.12 06 Nov 2026 11:17PM UTC 175
46.22
GitHub Action Run
13 run-4.0-gemfiles/rack_3_2.gemfile - 42310795076.13 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 42310795076.14 06 Nov 2026 11:17PM UTC 176
98.88
GitHub Action Run
15 run-3.3-Gemfile - 42310795076.15 06 Nov 2026 11:17PM UTC 176
98.88
GitHub Action Run
16 run-4.0-gemfiles/dry_validation.gemfile - 42310795076.16 06 Nov 2026 11:17PM UTC 175
56.26
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 42310795076.17 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
18 run-4.0-gemfiles/multi_json_1_20.gemfile - 42310795076.18 06 Nov 2026 11:16PM UTC 175
46.48
GitHub Action Run
19 run-3.4-gemfiles/rails_8_1.gemfile - 42310795076.19 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 42310795076.20 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
21 run-3.3-gemfiles/rails_8_0.gemfile - 42310795076.21 06 Nov 2026 11:17PM UTC 177
98.88
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 42310795076.22 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
23 run-4.0-gemfiles/multi_xml.gemfile - 42310795076.23 06 Nov 2026 11:17PM UTC 175
46.18
GitHub Action Run
24 run-3.3-gemfiles/rack_3_1.gemfile - 42310795076.24 06 Nov 2026 11:17PM UTC 176
98.88
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 42310795076.25 06 Nov 2026 11:17PM UTC 176
98.88
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 42310795076.26 06 Nov 2026 11:17PM UTC 177
98.88
GitHub Action Run
27 run-3.4-gemfiles/rack_3_0.gemfile - 42310795076.27 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
28 run-4.0-Gemfile - 42310795076.28 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
29 run-3.4-gemfiles/rack_2_2.gemfile - 42310795076.29 06 Nov 2026 11:17PM UTC 176
98.83
GitHub Action Run
30 run-3.4-gemfiles/rails_7_2.gemfile - 42310795076.30 06 Nov 2026 11:17PM UTC 177
98.87
GitHub Action Run
31 run-3.4-Gemfile - 42310795076.31 06 Nov 2026 11:17PM UTC 176
98.87
GitHub Action Run
32 run-4.0-gemfiles/grape_swagger.gemfile - 42310795076.32 06 Nov 2026 11:16PM UTC 175
53.44
GitHub Action Run
Source Files on build 42310795076
  • Tree
  • List 177
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42310795076
  • Pull Request #3060
  • PR Base - master (#42266160520)
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