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

ruby-grape / grape / 32638895637
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/route-success-failure-readers
DEFAULT BRANCH: master
Ran 23 Aug 2026 12:16PM UTC
Jobs 32
Files 168
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

23 Aug 2026 12:15PM UTC coverage: 96.986% (+1.2%) from 95.767%
32638895637

Pull #2858

github

ericproulx
Define GreedyRoute#params_for instead of leaning on delegate_missing_to

Grape::Router::Route splits its two param readers: #params returns the
route's declared definitions, #params_for(input) extracts the values out
of a matched path. GreedyRoute still carried the older combined
#params(_input = nil).

A greedy route is what answers auto-OPTIONS and 405, and it reaches
Router#process_route like any other route, which asks it for
route.params_for(input). That call only returned nil because BaseRoute
delegates missing methods to its options bag, where
ActiveSupport::OrderedOptions#method_missing answers any unknown reader
with nil.

Define the method instead. Behavior is unchanged - a greedy route
captures nothing, so both readers are nil - but the no-op is now stated
rather than borrowed from the options Hash, and it no longer breaks if
that bag stops absorbing unknown methods.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2858: Define GreedyRoute#params_for instead of leaning on delegate_missing_to

1239 of 1330 branches covered (93.16%)

Branch coverage included in aggregate %.

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

3877 of 3945 relevant lines covered (98.28%)

27109.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_2.gemfile - 32638895637.1 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 32638895637.2 23 Aug 2026 12:16PM UTC 167
57.87
GitHub Action Run
3 run-3.3-gemfiles/rails_8_0.gemfile - 32638895637.3 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
4 run-4.0-gemfiles/rack_3_2.gemfile - 32638895637.4 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
5 run-4.0-gemfiles/rails_8_1.gemfile - 32638895637.5 23 Aug 2026 12:17PM UTC 168
95.73
GitHub Action Run
6 run-3.3-gemfiles/rails_7_2.gemfile - 32638895637.6 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
7 run-4.0-gemfiles/multi_xml.gemfile - 32638895637.7 23 Aug 2026 12:16PM UTC 167
46.82
GitHub Action Run
8 run-3.3-gemfiles/rack_2_2.gemfile - 32638895637.8 23 Aug 2026 12:16PM UTC 167
95.69
GitHub Action Run
9 run-4.0-gemfiles/rack_3_0.gemfile - 32638895637.9 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
10 run-4.0-gemfiles/multi_xml_0_8.gemfile - 32638895637.10 23 Aug 2026 12:16PM UTC 167
46.86
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 32638895637.11 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
12 run-4.0-gemfiles/multi_json.gemfile - 32638895637.12 23 Aug 2026 12:16PM UTC 167
47.39
GitHub Action Run
13 run-3.4-gemfiles/rack_3_0.gemfile - 32638895637.13 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 32638895637.14 23 Aug 2026 12:16PM UTC 167
50.03
GitHub Action Run
15 run-3.3-gemfiles/rack_3_1.gemfile - 32638895637.15 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
16 run-3.4-gemfiles/rails_8_1.gemfile - 32638895637.16 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 32638895637.17 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
18 run-4.0-gemfiles/grape_swagger.gemfile - 32638895637.18 23 Aug 2026 12:16PM UTC 167
55.11
GitHub Action Run
19 run-4.0-Gemfile - 32638895637.19 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
20 run-4.0-gemfiles/multi_json_1_20.gemfile - 32638895637.20 23 Aug 2026 12:16PM UTC 167
47.43
GitHub Action Run
21 run-4.0-gemfiles/rails_7_2.gemfile - 32638895637.21 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 32638895637.22 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
23 run-4.0-gemfiles/rack_2_2.gemfile - 32638895637.23 23 Aug 2026 12:16PM UTC 167
95.69
GitHub Action Run
24 run-3.3-gemfiles/rack_3_0.gemfile - 32638895637.24 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
25 run-3.4-Gemfile - 32638895637.25 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
26 run-3.3-Gemfile - 32638895637.26 23 Aug 2026 12:16PM UTC 167
95.73
GitHub Action Run
27 run-4.0-gemfiles/rails_8_0.gemfile - 32638895637.27 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
28 run-3.4-gemfiles/rails_8_0.gemfile - 32638895637.28 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
29 run-3.4-gemfiles/rack_2_2.gemfile - 32638895637.29 23 Aug 2026 12:16PM UTC 167
95.69
GitHub Action Run
30 run-3.3-gemfiles/rails_8_1.gemfile - 32638895637.30 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
31 run-3.4-gemfiles/rails_7_2.gemfile - 32638895637.31 23 Aug 2026 12:16PM UTC 168
95.73
GitHub Action Run
32 run-4.0-gemfiles/hashie.gemfile - 32638895637.32 23 Aug 2026 12:16PM UTC 167
61.85
GitHub Action Run
Source Files on build 32638895637
  • Tree
  • List 168
  • Changed 145
  • Source Changed 0
  • Coverage Changed 145
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32638895637
  • Pull Request #2858
  • PR Base - master (#32583678355)
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