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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:11AM UTC
Jobs 32
Files 168
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

27 Jul 2026 05:10AM UTC coverage: 96.944% (+0.007%) from 96.937%
30239000391

Pull #2826

github

ericproulx
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>
Pull Request #2826: Set api.version when the version is the only path segment

1186 of 1277 branches covered (92.87%)

Branch coverage included in aggregate %.

3826 of 3893 relevant lines covered (98.28%)

25049.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rails_8_0.gemfile - 30239000391.1 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
2 run-4.0-gemfiles/grape_swagger.gemfile - 30239000391.2 27 Jul 2026 05:11AM UTC 167
55.62
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 30239000391.3 27 Jul 2026 05:11AM UTC 167
95.56
GitHub Action Run
4 run-3.4-Gemfile - 30239000391.4 27 Jul 2026 05:11AM UTC 167
95.57
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 30239000391.5 27 Jul 2026 05:11AM UTC 168
95.57
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 30239000391.6 27 Jul 2026 05:13AM UTC 167
48.02
GitHub Action Run
7 run-4.0-gemfiles/hashie.gemfile - 30239000391.7 27 Jul 2026 05:12AM UTC 167
62.24
GitHub Action Run
8 run-4.0-gemfiles/dry_validation.gemfile - 30239000391.8 27 Jul 2026 05:13AM UTC 167
58.31
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 30239000391.9 27 Jul 2026 05:11AM UTC 167
95.53
GitHub Action Run
10 run-4.0-gemfiles/multi_xml.gemfile - 30239000391.10 27 Jul 2026 05:12AM UTC 167
47.42
GitHub Action Run
11 run-4.0-gemfiles/multi_json_1_20.gemfile - 30239000391.11 27 Jul 2026 05:11AM UTC 167
48.06
GitHub Action Run
12 run-4.0-gemfiles/rails_8_1.gemfile - 30239000391.12 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
13 run-4.0-Gemfile - 30239000391.13 27 Jul 2026 05:13AM UTC 167
95.57
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 30239000391.14 27 Jul 2026 05:12AM UTC 167
50.74
GitHub Action Run
15 run-4.0-gemfiles/rack_3_0.gemfile - 30239000391.15 27 Jul 2026 05:12AM UTC 167
95.57
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 30239000391.16 27 Jul 2026 05:12AM UTC 167
95.56
GitHub Action Run
17 run-3.4-gemfiles/rails_7_2.gemfile - 30239000391.17 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
18 run-3.3-gemfiles/rails_8_1.gemfile - 30239000391.18 27 Jul 2026 05:11AM UTC 168
95.57
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30239000391.19 27 Jul 2026 05:12AM UTC 167
47.46
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 30239000391.20 27 Jul 2026 05:13AM UTC 167
95.57
GitHub Action Run
21 run-4.0-gemfiles/rails_8_0.gemfile - 30239000391.21 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
22 run-3.4-gemfiles/rack_3_0.gemfile - 30239000391.22 27 Jul 2026 05:11AM UTC 167
95.57
GitHub Action Run
23 run-3.3-gemfiles/rack_3_1.gemfile - 30239000391.23 27 Jul 2026 05:11AM UTC 167
95.56
GitHub Action Run
24 run-3.4-gemfiles/rack_2_2.gemfile - 30239000391.24 27 Jul 2026 05:11AM UTC 167
95.53
GitHub Action Run
25 run-4.0-gemfiles/rails_7_2.gemfile - 30239000391.25 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
26 run-4.0-gemfiles/rack_3_2.gemfile - 30239000391.26 27 Jul 2026 05:13AM UTC 167
95.57
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 30239000391.27 27 Jul 2026 05:11AM UTC 168
95.57
GitHub Action Run
28 run-3.4-gemfiles/rack_3_2.gemfile - 30239000391.28 27 Jul 2026 05:13AM UTC 167
95.57
GitHub Action Run
29 run-3.3-Gemfile - 30239000391.29 27 Jul 2026 05:11AM UTC 167
95.56
GitHub Action Run
30 run-4.0-gemfiles/rack_3_1.gemfile - 30239000391.30 27 Jul 2026 05:12AM UTC 167
95.57
GitHub Action Run
31 run-3.3-gemfiles/rack_2_2.gemfile - 30239000391.31 27 Jul 2026 05:11AM UTC 167
95.53
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 30239000391.32 27 Jul 2026 05:12AM UTC 168
95.57
GitHub Action Run
Source Files on build 30239000391
  • Tree
  • List 168
  • 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 #30239000391
  • Pull Request #2826
  • PR Base - master (#30238951520)
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