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

ruby-grape / grape / 42591433311
100%

Build:
DEFAULT BRANCH: master
Ran 09 Nov 2026 09:11AM UTC
Jobs 23
Files 178
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

09 Nov 2026 09:11AM UTC coverage: 100.0%. Remained the same
42591433311

push

github

web-flow
Raise ArgumentError on a version that is not a String, Symbol or Integer (#3060)

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.

Every other version was stringified too, so check them all against an
explicit set: a non-empty String, Symbol or Integer. A Float drops its
trailing zeros (1.10 registered "1.1"), and nil, an empty name or any
other object registered a version no request could reach. The
arguments are flattened before the check, so a Hash or nil inside an
Array of versions raises as well, as does an empty Array.

UPGRADING notes the break and how to keep path versioning.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1587 of 1587 branches covered (100.0%)

Branch coverage included in aggregate %.

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

4672 of 4672 relevant lines covered (100.0%)

19306.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-Gemfile - 42591433311.1 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
2 run-3.3-gemfiles/rack_3_2.gemfile - 42591433311.2 09 Nov 2026 09:11AM UTC 177
98.88
GitHub Action Run
3 run-4.0-gemfiles/multi_xml.gemfile - 42591433311.3 09 Nov 2026 09:11AM UTC 176
45.74
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 42591433311.4 09 Nov 2026 09:11AM UTC 176
48.85
GitHub Action Run
5 run-4.0-gemfiles/multi_json.gemfile - 42591433311.5 09 Nov 2026 09:11AM UTC 176
46.0
GitHub Action Run
6 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42591433311.6 09 Nov 2026 09:11AM UTC 176
45.77
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 42591433311.7 09 Nov 2026 09:11AM UTC 178
98.88
GitHub Action Run
8 run-4.0-gemfiles/rack_3_2.gemfile - 42591433311.8 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
9 run-3.3-gemfiles/rack_3_1.gemfile - 42591433311.9 09 Nov 2026 09:11AM UTC 177
98.88
GitHub Action Run
10 run-4.0-gemfiles/grape_swagger.gemfile - 42591433311.10 09 Nov 2026 09:11AM UTC 176
52.81
GitHub Action Run
11 run-4.0-Gemfile - 42591433311.11 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 42591433311.12 09 Nov 2026 09:11AM UTC 176
56.77
GitHub Action Run
13 run-3.4-gemfiles/rails_8_1.gemfile - 42591433311.13 09 Nov 2026 09:11AM UTC 178
98.86
GitHub Action Run
14 run-3.3-Gemfile - 42591433311.14 09 Nov 2026 09:11AM UTC 177
98.88
GitHub Action Run
15 run-4.0-gemfiles/rails_8_1.gemfile - 42591433311.15 09 Nov 2026 09:11AM UTC 178
98.86
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 42591433311.16 09 Nov 2026 09:11AM UTC 176
59.28
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 42591433311.17 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
18 run-3.4-gemfiles/rack_3_2.gemfile - 42591433311.18 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
19 run-4.0-gemfiles/multi_json_1_20.gemfile - 42591433311.19 09 Nov 2026 09:11AM UTC 176
46.03
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 42591433311.20 09 Nov 2026 09:11AM UTC 177
98.86
GitHub Action Run
21 run-3.4-gemfiles/rails_8_0.gemfile - 42591433311.21 09 Nov 2026 09:11AM UTC 178
98.86
GitHub Action Run
22 run-4.0-gemfiles/rails_8_0.gemfile - 42591433311.22 09 Nov 2026 09:11AM UTC 178
98.86
GitHub Action Run
23 run-3.3-gemfiles/rails_8_1.gemfile - 42591433311.23 09 Nov 2026 09:11AM UTC 178
98.88
GitHub Action Run
Source Files on build 42591433311
  • Tree
  • List 178
  • 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 #42591433311
  • 842c137d on github
  • Prev Build on master (#42521047877)
  • Next Build on master (#42594201089)
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