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

ruby-grape / grape / 30486032579
97%

Build:
DEFAULT BRANCH: master
Ran 29 Jul 2026 07:48PM UTC
Jobs 32
Files 167
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

29 Jul 2026 07:48PM UTC coverage: 96.976% (+0.007%) from 96.969%
30486032579

push

github

web-flow
Set api.version when the version is the only path segment (#2826)

* Set api.version when the version is the only path segment

The path versioner only extracted the version when a second slash
followed it (path_info.index('/', 1)), so the root route of a
path-versioned API (GET /v1, or /v1.json with a format suffix) matched
and ran without env['api.version'] — the `version` helper returned nil
and entity `version:` embeds were omitted.

When the path is a single segment, record the version on an exact match
against the declared versions, trimming a trailing .format suffix
(right-to-left, so dotted versions like v1.2 still match). An unmatched
segment is left for the router to resolve — never a 404 from here.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Clarify dotted version and prefix contexts with nested RSpec contexts

Split the dotted version and prefix test cases into separate nested contexts
to make it explicit that they test different scenarios (different options
overrides). This answers the question: why do we need to override options[:versions]
or options[:prefix] mid-context? Answer: we don't — each scenario gets its own
context with its own let(:options).

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>

1196 of 1285 branches covered (93.07%)

Branch coverage included in aggregate %.

3807 of 3874 relevant lines covered (98.27%)

26783.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-Gemfile - 30486032579.1 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
2 run-3.4-gemfiles/rack_3_2.gemfile - 30486032579.2 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
3 run-4.0-gemfiles/rails_8_1.gemfile - 30486032579.3 29 Jul 2026 07:49PM UTC 167
95.6
GitHub Action Run
4 run-3.4-gemfiles/rack_3_1.gemfile - 30486032579.4 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
5 run-4.0-gemfiles/multi_xml.gemfile - 30486032579.5 29 Jul 2026 07:48PM UTC 166
47.22
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 30486032579.6 29 Jul 2026 07:49PM UTC 166
95.59
GitHub Action Run
7 run-3.4-Gemfile - 30486032579.7 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
8 run-4.0-gemfiles/rails_8_0.gemfile - 30486032579.8 29 Jul 2026 07:49PM UTC 167
95.6
GitHub Action Run
9 run-4.0-gemfiles/rack_3_0.gemfile - 30486032579.9 29 Jul 2026 07:49PM UTC 166
95.59
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 30486032579.10 29 Jul 2026 07:49PM UTC 167
95.6
GitHub Action Run
11 run-3.4-gemfiles/rails_7_2.gemfile - 30486032579.11 29 Jul 2026 07:48PM UTC 167
95.6
GitHub Action Run
12 run-4.0-gemfiles/rails_7_2.gemfile - 30486032579.12 29 Jul 2026 07:48PM UTC 167
95.6
GitHub Action Run
13 run-4.0-Gemfile - 30486032579.13 29 Jul 2026 07:49PM UTC 166
95.59
GitHub Action Run
14 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30486032579.14 29 Jul 2026 07:48PM UTC 166
47.25
GitHub Action Run
15 run-4.0-gemfiles/rack_3_2.gemfile - 30486032579.15 29 Jul 2026 07:49PM UTC 166
95.59
GitHub Action Run
16 run-3.4-gemfiles/rack_2_2.gemfile - 30486032579.16 29 Jul 2026 07:48PM UTC 166
95.56
GitHub Action Run
17 run-3.4-gemfiles/rack_3_0.gemfile - 30486032579.17 29 Jul 2026 07:49PM UTC 166
95.58
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 30486032579.18 29 Jul 2026 07:49PM UTC 167
95.6
GitHub Action Run
19 run-4.0-gemfiles/grape_entity.gemfile - 30486032579.19 29 Jul 2026 07:49PM UTC 166
50.51
GitHub Action Run
20 run-3.3-gemfiles/rails_7_2.gemfile - 30486032579.20 29 Jul 2026 07:48PM UTC 167
95.6
GitHub Action Run
21 run-4.0-gemfiles/grape_swagger.gemfile - 30486032579.21 29 Jul 2026 07:49PM UTC 166
55.42
GitHub Action Run
22 run-4.0-gemfiles/rack_2_2.gemfile - 30486032579.22 29 Jul 2026 07:48PM UTC 166
95.56
GitHub Action Run
23 run-4.0-gemfiles/rack_3_1.gemfile - 30486032579.23 29 Jul 2026 07:49PM UTC 166
95.59
GitHub Action Run
24 run-4.0-gemfiles/hashie.gemfile - 30486032579.24 29 Jul 2026 07:48PM UTC 166
62.04
GitHub Action Run
25 run-4.0-gemfiles/dry_validation.gemfile - 30486032579.25 29 Jul 2026 07:49PM UTC 166
58.12
GitHub Action Run
26 run-3.3-gemfiles/rack_2_2.gemfile - 30486032579.26 29 Jul 2026 07:48PM UTC 166
95.56
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 30486032579.27 29 Jul 2026 07:49PM UTC 167
95.6
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 30486032579.28 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
29 run-3.3-gemfiles/rack_3_2.gemfile - 30486032579.29 29 Jul 2026 07:48PM UTC 166
95.59
GitHub Action Run
30 run-4.0-gemfiles/multi_json_1_20.gemfile - 30486032579.30 29 Jul 2026 07:48PM UTC 166
47.86
GitHub Action Run
31 run-4.0-gemfiles/multi_json.gemfile - 30486032579.31 29 Jul 2026 07:49PM UTC 166
47.82
GitHub Action Run
32 run-3.4-gemfiles/rails_8_1.gemfile - 30486032579.32 29 Jul 2026 07:48PM UTC 167
95.6
GitHub Action Run
Source Files on build 30486032579
  • Tree
  • List 167
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30486032579
  • ba112453 on github
  • Prev Build on master (#30485820748)
  • Next Build on master (#30542026971)
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