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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:08AM 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:07AM UTC coverage: 96.943% (+0.007%) from 96.936%
30238893681

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 %.

3825 of 3892 relevant lines covered (98.28%)

24982.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json.gemfile - 30238893681.1 27 Jul 2026 05:08AM UTC 167
48.03
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 30238893681.2 27 Jul 2026 05:10AM UTC 167
58.3
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 30238893681.3 27 Jul 2026 05:09AM UTC 167
95.56
GitHub Action Run
4 run-3.3-gemfiles/rack_2_2.gemfile - 30238893681.4 27 Jul 2026 05:09AM UTC 167
95.52
GitHub Action Run
5 run-3.3-gemfiles/rack_3_0.gemfile - 30238893681.5 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
6 run-4.0-gemfiles/grape_entity.gemfile - 30238893681.6 27 Jul 2026 05:10AM UTC 167
50.73
GitHub Action Run
7 run-3.3-Gemfile - 30238893681.7 27 Jul 2026 05:09AM UTC 167
95.56
GitHub Action Run
8 run-3.4-Gemfile - 30238893681.8 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
9 run-3.4-gemfiles/rails_7_2.gemfile - 30238893681.9 27 Jul 2026 05:08AM UTC 168
95.57
GitHub Action Run
10 run-4.0-gemfiles/rails_7_2.gemfile - 30238893681.10 27 Jul 2026 05:09AM UTC 168
95.57
GitHub Action Run
11 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30238893681.11 27 Jul 2026 05:09AM UTC 167
47.47
GitHub Action Run
12 run-4.0-gemfiles/hashie.gemfile - 30238893681.12 27 Jul 2026 05:10AM UTC 167
62.23
GitHub Action Run
13 run-3.3-gemfiles/rails_7_2.gemfile - 30238893681.13 27 Jul 2026 05:09AM UTC 168
95.57
GitHub Action Run
14 run-4.0-gemfiles/rails_8_0.gemfile - 30238893681.14 27 Jul 2026 05:10AM UTC 168
95.57
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 30238893681.15 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
16 run-3.4-gemfiles/rack_2_2.gemfile - 30238893681.16 27 Jul 2026 05:08AM UTC 167
95.53
GitHub Action Run
17 run-3.4-gemfiles/rails_8_1.gemfile - 30238893681.17 27 Jul 2026 05:08AM UTC 168
95.57
GitHub Action Run
18 run-4.0-Gemfile - 30238893681.18 27 Jul 2026 05:10AM UTC 167
95.56
GitHub Action Run
19 run-4.0-gemfiles/grape_swagger.gemfile - 30238893681.19 27 Jul 2026 05:09AM UTC 167
55.63
GitHub Action Run
20 run-4.0-gemfiles/multi_xml.gemfile - 30238893681.20 27 Jul 2026 05:09AM UTC 167
47.43
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 30238893681.21 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
22 run-3.3-gemfiles/rack_3_1.gemfile - 30238893681.22 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
23 run-3.4-gemfiles/rails_8_0.gemfile - 30238893681.23 27 Jul 2026 05:09AM UTC 168
95.57
GitHub Action Run
24 run-4.0-gemfiles/rails_8_1.gemfile - 30238893681.24 27 Jul 2026 05:09AM UTC 168
95.57
GitHub Action Run
25 run-4.0-gemfiles/multi_json_1_20.gemfile - 30238893681.25 27 Jul 2026 05:10AM UTC 167
48.07
GitHub Action Run
26 run-3.3-gemfiles/rails_8_0.gemfile - 30238893681.26 27 Jul 2026 05:08AM UTC 168
95.57
GitHub Action Run
27 run-3.4-gemfiles/rack_3_0.gemfile - 30238893681.27 27 Jul 2026 05:09AM UTC 167
95.56
GitHub Action Run
28 run-4.0-gemfiles/rack_2_2.gemfile - 30238893681.28 27 Jul 2026 05:08AM UTC 167
95.53
GitHub Action Run
29 run-3.4-gemfiles/rack_3_2.gemfile - 30238893681.29 27 Jul 2026 05:08AM UTC 167
95.56
GitHub Action Run
30 run-3.4-gemfiles/rack_3_1.gemfile - 30238893681.30 27 Jul 2026 05:09AM UTC 167
95.56
GitHub Action Run
31 run-3.3-gemfiles/rails_8_1.gemfile - 30238893681.31 27 Jul 2026 05:09AM UTC 168
95.57
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 30238893681.32 27 Jul 2026 05:08AM UTC 167
95.55
GitHub Action Run
Source Files on build 30238893681
  • Tree
  • List 168
  • 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 #30238893681
  • Pull Request #2826
  • PR Base - master (#30226977190)
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