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

ruby-grape / grape / 33958303572
97%
master: 99%

Build:
Build:
LAST BUILD BRANCH: perf/plain-union-fast-path
DEFAULT BRANCH: master
Ran 05 Sep 2026 09:33AM UTC
Jobs 32
Files 169
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

05 Sep 2026 09:33AM UTC coverage: 97.152% (+0.04%) from 97.114%
33958303572

Pull #2904

github

ericproulx
Document and spec route requirements given as a capture type

A route's `requirements` are handed to Mustermann as the capture's constraint.
Given a Regexp that only narrows what the route matches, but a Class or a
Symbol Mustermann knows also registers a converter, so the router extracts an
Integer, a Float, a Symbol, a Date or a Gem::Version rather than a String —
`requirements: { id: Integer }` matches `-?\d+` and hands the endpoint `23`.

Nothing exercised it: `Route#tag_utf8!`'s non-String branch had no coverage,
and the README documents `requirements` with regular expressions only, so a
working capability looked like dead code.

Specs at all three levels — the pattern converting and constraining, the
route keeping the converted value out of `params_for` (with the UTF-8 tagging
of a String capture pinned next to it), and an API handing it to the endpoint,
including a `params` block coercing it back, since validation runs after the
router.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2904: Document and spec route requirements given as a capture type

1241 of 1330 branches covered (93.31%)

Branch coverage included in aggregate %.

3944 of 4007 relevant lines covered (98.43%)

27233.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-Gemfile - 33958303572.1 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
2 run-4.0-gemfiles/multi_json_1_20.gemfile - 33958303572.2 05 Sep 2026 09:33AM UTC 167
47.62
GitHub Action Run
3 run-3.4-gemfiles/rails_8_1.gemfile - 33958303572.3 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
4 run-3.4-gemfiles/rack_3_2.gemfile - 33958303572.4 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
5 run-4.0-gemfiles/multi_xml.gemfile - 33958303572.5 05 Sep 2026 09:33AM UTC 167
47.07
GitHub Action Run
6 run-3.4-gemfiles/rack_3_1.gemfile - 33958303572.6 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
7 run-4.0-gemfiles/rails_7_2.gemfile - 33958303572.7 05 Sep 2026 09:34AM UTC 169
95.91
GitHub Action Run
8 run-3.3-gemfiles/rack_3_1.gemfile - 33958303572.8 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
9 run-4.0-gemfiles/dry_validation.gemfile - 33958303572.9 05 Sep 2026 09:33AM UTC 167
57.81
GitHub Action Run
10 run-3.4-gemfiles/rails_8_0.gemfile - 33958303572.10 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
11 run-4.0-Gemfile - 33958303572.11 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
12 run-3.3-gemfiles/rack_3_0.gemfile - 33958303572.12 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 33958303572.13 05 Sep 2026 09:34AM UTC 169
95.91
GitHub Action Run
14 run-3.3-gemfiles/rails_8_0.gemfile - 33958303572.14 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
15 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33958303572.15 05 Sep 2026 09:33AM UTC 167
47.11
GitHub Action Run
16 run-3.3-gemfiles/rails_7_2.gemfile - 33958303572.16 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 33958303572.17 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
18 run-4.0-gemfiles/rack_3_0.gemfile - 33958303572.18 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
19 run-3.4-gemfiles/rails_7_2.gemfile - 33958303572.19 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
20 run-4.0-gemfiles/rack_2_2.gemfile - 33958303572.20 05 Sep 2026 09:33AM UTC 168
95.87
GitHub Action Run
21 run-4.0-gemfiles/grape_entity.gemfile - 33958303572.21 05 Sep 2026 09:33AM UTC 167
50.37
GitHub Action Run
22 run-3.4-Gemfile - 33958303572.22 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 33958303572.23 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 33958303572.24 05 Sep 2026 09:33AM UTC 167
47.58
GitHub Action Run
25 run-3.4-gemfiles/rack_3_0.gemfile - 33958303572.25 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
26 run-3.3-gemfiles/rack_2_2.gemfile - 33958303572.26 05 Sep 2026 09:34AM UTC 168
95.87
GitHub Action Run
27 run-4.0-gemfiles/rails_8_0.gemfile - 33958303572.27 05 Sep 2026 09:33AM UTC 169
95.91
GitHub Action Run
28 run-3.3-gemfiles/rack_3_2.gemfile - 33958303572.28 05 Sep 2026 09:34AM UTC 168
95.91
GitHub Action Run
29 run-4.0-gemfiles/grape_swagger.gemfile - 33958303572.29 05 Sep 2026 09:33AM UTC 167
55.31
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 33958303572.30 05 Sep 2026 09:33AM UTC 167
61.81
GitHub Action Run
31 run-4.0-gemfiles/rack_3_2.gemfile - 33958303572.31 05 Sep 2026 09:33AM UTC 168
95.91
GitHub Action Run
32 run-3.4-gemfiles/rack_2_2.gemfile - 33958303572.32 05 Sep 2026 09:34AM UTC 168
95.87
GitHub Action Run
Source Files on build 33958303572
  • Tree
  • List 169
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33958303572
  • Pull Request #2904
  • PR Base - master (#33958239245)
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