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

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

Build:
Build:
LAST BUILD BRANCH: perf/error-response-copies
DEFAULT BRANCH: master
Ran 05 Sep 2026 10:58AM 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 10:57AM UTC coverage: 97.152% (+0.04%) from 97.114%
33962033684

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

27227.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 33962033684.1 05 Sep 2026 10:58AM UTC 167
50.37
GitHub Action Run
2 run-4.0-gemfiles/multi_json_1_20.gemfile - 33962033684.2 05 Sep 2026 10:58AM UTC 167
47.62
GitHub Action Run
3 run-3.3-gemfiles/rack_2_2.gemfile - 33962033684.3 05 Sep 2026 10:58AM UTC 168
95.87
GitHub Action Run
4 run-4.0-Gemfile - 33962033684.4 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 33962033684.5 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
6 run-3.4-gemfiles/rails_8_0.gemfile - 33962033684.6 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
7 run-3.3-gemfiles/rack_3_1.gemfile - 33962033684.7 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
8 run-4.0-gemfiles/hashie.gemfile - 33962033684.8 05 Sep 2026 10:58AM UTC 167
61.81
GitHub Action Run
9 run-3.4-gemfiles/rack_3_0.gemfile - 33962033684.9 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
10 run-3.3-Gemfile - 33962033684.10 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
11 run-3.3-gemfiles/rails_7_2.gemfile - 33962033684.11 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
12 run-3.4-Gemfile - 33962033684.12 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
13 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33962033684.13 05 Sep 2026 10:58AM UTC 167
47.11
GitHub Action Run
14 run-3.3-gemfiles/rails_8_1.gemfile - 33962033684.14 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
15 run-3.4-gemfiles/rack_2_2.gemfile - 33962033684.15 05 Sep 2026 10:58AM UTC 168
95.87
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 33962033684.16 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
17 run-3.3-gemfiles/rack_3_2.gemfile - 33962033684.17 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
18 run-4.0-gemfiles/rack_2_2.gemfile - 33962033684.18 05 Sep 2026 10:58AM UTC 168
95.87
GitHub Action Run
19 run-4.0-gemfiles/rack_3_1.gemfile - 33962033684.19 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
20 run-3.4-gemfiles/rails_8_1.gemfile - 33962033684.20 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
21 run-4.0-gemfiles/rails_8_0.gemfile - 33962033684.21 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
22 run-4.0-gemfiles/multi_json.gemfile - 33962033684.22 05 Sep 2026 10:58AM UTC 167
47.58
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 33962033684.23 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
24 run-4.0-gemfiles/rails_7_2.gemfile - 33962033684.24 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
25 run-3.4-gemfiles/rails_7_2.gemfile - 33962033684.25 05 Sep 2026 10:58AM UTC 169
95.91
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 33962033684.26 05 Sep 2026 10:58AM UTC 167
47.07
GitHub Action Run
27 run-3.4-gemfiles/rack_3_2.gemfile - 33962033684.27 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
28 run-4.0-gemfiles/grape_swagger.gemfile - 33962033684.28 05 Sep 2026 10:58AM UTC 167
55.31
GitHub Action Run
29 run-4.0-gemfiles/dry_validation.gemfile - 33962033684.29 05 Sep 2026 10:58AM UTC 167
57.81
GitHub Action Run
30 run-3.4-gemfiles/rack_3_1.gemfile - 33962033684.30 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
31 run-4.0-gemfiles/rack_3_0.gemfile - 33962033684.31 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
32 run-4.0-gemfiles/rack_3_2.gemfile - 33962033684.32 05 Sep 2026 10:58AM UTC 168
95.91
GitHub Action Run
Source Files on build 33962033684
  • 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 #33962033684
  • 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