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

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

Build:
Build:
LAST BUILD BRANCH: perf/union-match-path-captures
DEFAULT BRANCH: master
Ran 04 Sep 2026 10:09PM 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

04 Sep 2026 10:09PM UTC coverage: 97.001% (+0.04%) from 96.964%
33924269493

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

1246 of 1339 branches covered (93.05%)

Branch coverage included in aggregate %.

3962 of 4030 relevant lines covered (98.31%)

27088.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_8_0.gemfile - 33924269493.1 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
2 run-4.0-gemfiles/grape_entity.gemfile - 33924269493.2 04 Sep 2026 10:09PM UTC 167
50.31
GitHub Action Run
3 run-4.0-gemfiles/hashie.gemfile - 33924269493.3 04 Sep 2026 10:10PM UTC 167
61.7
GitHub Action Run
4 run-3.3-Gemfile - 33924269493.4 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
5 run-3.4-gemfiles/rack_3_1.gemfile - 33924269493.5 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
6 run-4.0-Gemfile - 33924269493.6 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
7 run-3.4-gemfiles/rails_7_2.gemfile - 33924269493.7 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
8 run-4.0-gemfiles/grape_swagger.gemfile - 33924269493.8 04 Sep 2026 10:10PM UTC 167
55.16
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 33924269493.9 04 Sep 2026 10:09PM UTC 168
95.73
GitHub Action Run
10 run-3.3-gemfiles/rails_7_2.gemfile - 33924269493.10 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
11 run-4.0-gemfiles/rails_8_0.gemfile - 33924269493.11 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 33924269493.12 04 Sep 2026 10:09PM UTC 167
46.97
GitHub Action Run
13 run-3.3-gemfiles/rack_2_2.gemfile - 33924269493.13 04 Sep 2026 10:09PM UTC 168
95.73
GitHub Action Run
14 run-3.3-gemfiles/rails_8_0.gemfile - 33924269493.14 04 Sep 2026 10:10PM UTC 169
95.77
GitHub Action Run
15 run-4.0-gemfiles/rails_8_1.gemfile - 33924269493.15 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
16 run-4.0-gemfiles/multi_json_1_20.gemfile - 33924269493.16 04 Sep 2026 10:09PM UTC 167
47.52
GitHub Action Run
17 run-3.4-gemfiles/rails_8_1.gemfile - 33924269493.17 04 Sep 2026 10:13PM UTC 169
95.77
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 33924269493.18 04 Sep 2026 10:10PM UTC 168
95.77
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33924269493.19 04 Sep 2026 10:09PM UTC 167
47.01
GitHub Action Run
20 run-3.3-gemfiles/rack_3_1.gemfile - 33924269493.20 04 Sep 2026 10:10PM UTC 168
95.77
GitHub Action Run
21 run-4.0-gemfiles/rack_3_0.gemfile - 33924269493.21 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
22 run-3.4-gemfiles/rack_2_2.gemfile - 33924269493.22 04 Sep 2026 10:09PM UTC 168
95.73
GitHub Action Run
23 run-3.4-Gemfile - 33924269493.23 04 Sep 2026 10:10PM UTC 168
95.77
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 33924269493.24 04 Sep 2026 10:10PM UTC 167
47.48
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 33924269493.25 04 Sep 2026 10:10PM UTC 168
95.77
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 33924269493.26 04 Sep 2026 10:09PM UTC 169
95.77
GitHub Action Run
27 run-4.0-gemfiles/rails_7_2.gemfile - 33924269493.27 04 Sep 2026 10:10PM UTC 169
95.77
GitHub Action Run
28 run-4.0-gemfiles/dry_validation.gemfile - 33924269493.28 04 Sep 2026 10:09PM UTC 167
57.73
GitHub Action Run
29 run-3.3-gemfiles/rack_3_2.gemfile - 33924269493.29 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
30 run-3.4-gemfiles/rack_3_0.gemfile - 33924269493.30 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
31 run-3.4-gemfiles/rack_3_2.gemfile - 33924269493.31 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 33924269493.32 04 Sep 2026 10:09PM UTC 168
95.77
GitHub Action Run
Source Files on build 33924269493
  • 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 #33924269493
  • Pull Request #2904
  • PR Base - master (#33920012157)
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