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

ruby-grape / grape / 44900710876
100%

Build:
DEFAULT BRANCH: master
Ran 21 Nov 2026 11:46AM UTC
Jobs 23
Files 179
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

21 Nov 2026 11:46AM UTC coverage: 100.0%. Remained the same
44900710876

push

github

web-flow
Let a mounted API use the named params of the scope it is mounted in (#3087)

A `params :name` helper declared in an API reached the routes of an API
mounted in it as a method helper does, but `use :name` there raised
`Params :name not found!`. It had two causes:

* `use` looked the name up as the API class was defined, on its base
  instance, which is never mounted.
* `mount_instance` replays the API's setup before `mount` hands the
  instance the mounting scope's settings, so the mounted copy could not
  see the name either, even inside a `mounted` block.

`mount` now lends the mounting scope's named params to the instance it
replays, placed between the instance and what it inherits from its
superclass, minus the names the superclass defines, so those resolve as
they did. Only the named params are lent: inheriting the whole scope
before the replay made a `route_param :id, type: Integer` around the
mount narrow the mounted routes' patterns, turning a 400 into a 404.

A name `use` cannot find is recorded on the route and raised by
`Endpoint#compile!`, so an API that is only ever mounted never raises
for it, while one served on its own raises when it compiles rather than
when it is defined.

Fixes #2113
Fixes #1761

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1647 of 1647 branches covered (100.0%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 5 files covered. (100.0%)

4755 of 4755 relevant lines covered (100.0%)

22164.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_3_1.gemfile - 44900710876.1 21 Nov 2026 11:47AM UTC 178
98.9
GitHub Action Run
2 run-4.0-gemfiles/rack_3_1.gemfile - 44900710876.2 21 Nov 2026 11:47AM UTC 178
98.89
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 44900710876.3 21 Nov 2026 11:47AM UTC 178
98.9
GitHub Action Run
4 run-4.0-Gemfile - 44900710876.4 21 Nov 2026 11:46AM UTC 178
98.89
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 44900710876.5 21 Nov 2026 11:47AM UTC 179
98.91
GitHub Action Run
6 run-4.0-gemfiles/multi_xml.gemfile - 44900710876.6 21 Nov 2026 11:46AM UTC 177
45.8
GitHub Action Run
7 run-3.4-Gemfile - 44900710876.7 21 Nov 2026 11:47AM UTC 178
98.89
GitHub Action Run
8 run-4.0-gemfiles/grape_swagger.gemfile - 44900710876.8 21 Nov 2026 11:46AM UTC 177
53.26
GitHub Action Run
9 run-3.4-gemfiles/rack_3_1.gemfile - 44900710876.9 21 Nov 2026 11:47AM UTC 178
98.89
GitHub Action Run
10 run-3.3-Gemfile - 44900710876.10 21 Nov 2026 11:47AM UTC 178
98.9
GitHub Action Run
11 run-4.0-gemfiles/dry_validation.gemfile - 44900710876.11 21 Nov 2026 11:46AM UTC 177
57.02
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 44900710876.12 21 Nov 2026 11:46AM UTC 178
98.89
GitHub Action Run
13 run-4.0-gemfiles/rails_8_0.gemfile - 44900710876.13 21 Nov 2026 11:47AM UTC 179
98.89
GitHub Action Run
14 run-3.4-gemfiles/rails_8_0.gemfile - 44900710876.14 21 Nov 2026 11:47AM UTC 179
98.89
GitHub Action Run
15 run-4.0-gemfiles/hashie.gemfile - 44900710876.15 21 Nov 2026 11:46AM UTC 177
59.21
GitHub Action Run
16 run-3.4-gemfiles/rails_8_1.gemfile - 44900710876.16 21 Nov 2026 11:47AM UTC 179
98.89
GitHub Action Run
17 run-4.0-gemfiles/multi_json.gemfile - 44900710876.17 21 Nov 2026 11:47AM UTC 177
46.1
GitHub Action Run
18 run-4.0-gemfiles/rails_8_1.gemfile - 44900710876.18 21 Nov 2026 11:47AM UTC 179
98.89
GitHub Action Run
19 run-3.3-gemfiles/rails_8_1.gemfile - 44900710876.19 21 Nov 2026 11:47AM UTC 179
98.91
GitHub Action Run
20 run-4.0-gemfiles/multi_json_1_20.gemfile - 44900710876.20 21 Nov 2026 11:46AM UTC 177
46.13
GitHub Action Run
21 run-3.4-gemfiles/rack_3_2.gemfile - 44900710876.21 21 Nov 2026 11:46AM UTC 178
98.89
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 44900710876.22 21 Nov 2026 11:47AM UTC 177
48.8
GitHub Action Run
23 run-4.0-gemfiles/multi_xml_0_8.gemfile - 44900710876.23 21 Nov 2026 11:47AM UTC 177
45.83
GitHub Action Run
Source Files on build 44900710876
  • Tree
  • List 179
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44900710876
  • 4241021f on github
  • Prev Build on master (#44900676304)
  • Next Build on master (#44914459252)
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