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

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

Build:
Build:
LAST BUILD BRANCH: update_rubocop_1_90
DEFAULT BRANCH: master
Ran 04 Sep 2026 10:33PM 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:32PM UTC coverage: 97.005% (+0.004%) from 97.001%
33925937310

Pull #2905

github

ericproulx
Nest any lone route_param requirement, and reject a non-Hash elsewhere

`route_param` nested a lone `requirements:` under the param name only when it
was a Regexp. Every other constraint — a capture type such as `Integer` or
`:date` — travelled unwrapped into `Endpoint#prepare_routes_requirements`,
which merges the requirement Hashes of the namespaces a route sits in, and
raised `TypeError: no implicit conversion of Class into Hash` there. That
happens when routes are built, so a mistake in the API's definition surfaced
on the first request, from a method that names neither the route nor the
requirement.

The param is named at the call, so nest any lone constraint, the way the
Regexp shorthand already did. `namespace` and an endpoint have no single param
to attach one to, so they now reject a non-Hash `requirements` where it is
written, with a message that says what was expected.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2905: Nest any lone route_param requirement, and reject a non-Hash elsewhere

1248 of 1341 branches covered (93.06%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

3967 of 4035 relevant lines covered (98.31%)

27105.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_8_1.gemfile - 33925937310.1 04 Sep 2026 10:34PM UTC 169
95.78
GitHub Action Run
2 run-3.4-gemfiles/rails_7_2.gemfile - 33925937310.2 04 Sep 2026 10:33PM UTC 169
95.78
GitHub Action Run
3 run-3.4-gemfiles/rails_8_0.gemfile - 33925937310.3 04 Sep 2026 10:33PM UTC 169
95.78
GitHub Action Run
4 run-4.0-gemfiles/rack_3_1.gemfile - 33925937310.4 04 Sep 2026 10:33PM UTC 168
95.77
GitHub Action Run
5 run-3.3-gemfiles/rails_8_1.gemfile - 33925937310.5 04 Sep 2026 10:34PM UTC 169
95.78
GitHub Action Run
6 run-3.3-gemfiles/rack_3_2.gemfile - 33925937310.6 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
7 run-4.0-gemfiles/rails_8_1.gemfile - 33925937310.7 04 Sep 2026 10:33PM UTC 169
95.78
GitHub Action Run
8 run-4.0-gemfiles/multi_json.gemfile - 33925937310.8 04 Sep 2026 10:33PM UTC 167
47.49
GitHub Action Run
9 run-3.3-gemfiles/rails_7_2.gemfile - 33925937310.9 04 Sep 2026 10:34PM UTC 169
95.78
GitHub Action Run
10 run-4.0-gemfiles/multi_json_1_20.gemfile - 33925937310.10 04 Sep 2026 10:33PM UTC 167
47.53
GitHub Action Run
11 run-4.0-gemfiles/grape_entity.gemfile - 33925937310.11 04 Sep 2026 10:33PM UTC 167
50.32
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 33925937310.12 04 Sep 2026 10:33PM UTC 167
46.99
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 33925937310.13 04 Sep 2026 10:33PM UTC 167
61.71
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 33925937310.14 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
15 run-3.4-gemfiles/rack_2_2.gemfile - 33925937310.15 04 Sep 2026 10:33PM UTC 168
95.74
GitHub Action Run
16 run-4.0-gemfiles/rails_7_2.gemfile - 33925937310.16 04 Sep 2026 10:34PM UTC 169
95.78
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 33925937310.17 04 Sep 2026 10:33PM UTC 169
95.78
GitHub Action Run
18 run-3.3-gemfiles/rack_3_1.gemfile - 33925937310.18 04 Sep 2026 10:33PM UTC 168
95.77
GitHub Action Run
19 run-4.0-gemfiles/rack_3_0.gemfile - 33925937310.19 04 Sep 2026 10:33PM UTC 168
95.77
GitHub Action Run
20 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33925937310.20 04 Sep 2026 10:33PM UTC 167
47.02
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 33925937310.21 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
22 run-4.0-Gemfile - 33925937310.22 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
23 run-3.4-gemfiles/rack_3_2.gemfile - 33925937310.23 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
24 run-4.0-gemfiles/dry_validation.gemfile - 33925937310.24 04 Sep 2026 10:33PM UTC 167
57.75
GitHub Action Run
25 run-3.4-Gemfile - 33925937310.25 04 Sep 2026 10:33PM UTC 168
95.77
GitHub Action Run
26 run-3.3-gemfiles/rails_8_0.gemfile - 33925937310.26 04 Sep 2026 10:34PM UTC 169
95.78
GitHub Action Run
27 run-3.4-gemfiles/rack_3_1.gemfile - 33925937310.27 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 33925937310.28 04 Sep 2026 10:33PM UTC 168
95.77
GitHub Action Run
29 run-3.3-Gemfile - 33925937310.29 04 Sep 2026 10:34PM UTC 168
95.77
GitHub Action Run
30 run-3.3-gemfiles/rack_2_2.gemfile - 33925937310.30 04 Sep 2026 10:33PM UTC 168
95.73
GitHub Action Run
31 run-4.0-gemfiles/grape_swagger.gemfile - 33925937310.31 04 Sep 2026 10:33PM UTC 167
55.16
GitHub Action Run
32 run-4.0-gemfiles/rack_2_2.gemfile - 33925937310.32 04 Sep 2026 10:34PM UTC 168
95.74
GitHub Action Run
Source Files on build 33925937310
  • Tree
  • List 169
  • 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 #33925937310
  • Pull Request #2905
  • PR Base - document-typed-route-requirements (#33924269493)
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