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

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

Build:
Build:
LAST BUILD BRANCH: fix/route-success-failure-readers
DEFAULT BRANCH: master
Ran 23 Aug 2026 12:09PM 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:09PM UTC coverage: 96.986% (+1.2%) from 95.767%
32638574132

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>
Claude-Session: https://claude.ai/code/session_01H6jozr7oJ6BKq9WrigtjLS
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%)

27108.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 32638574132.1 23 Aug 2026 12:10PM UTC 167
95.67
GitHub Action Run
2 run-3.3-gemfiles/rack_2_2.gemfile - 32638574132.2 23 Aug 2026 12:11PM UTC 167
95.69
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 32638574132.3 23 Aug 2026 12:11PM UTC 167
95.73
GitHub Action Run
4 run-3.4-gemfiles/rails_8_1.gemfile - 32638574132.4 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
5 run-4.0-gemfiles/dry_validation.gemfile - 32638574132.5 23 Aug 2026 12:10PM UTC 167
57.87
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 32638574132.6 23 Aug 2026 12:11PM UTC 167
47.39
GitHub Action Run
7 run-3.3-gemfiles/rack_3_0.gemfile - 32638574132.7 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
8 run-3.4-gemfiles/rack_3_0.gemfile - 32638574132.8 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
9 run-3.4-Gemfile - 32638574132.9 23 Aug 2026 12:11PM UTC 167
95.73
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 32638574132.10 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 32638574132.11 23 Aug 2026 12:11PM UTC 167
95.73
GitHub Action Run
12 run-3.4-gemfiles/rails_7_2.gemfile - 32638574132.12 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 32638574132.13 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
14 run-4.0-gemfiles/multi_xml.gemfile - 32638574132.14 23 Aug 2026 12:10PM UTC 167
46.82
GitHub Action Run
15 run-3.3-gemfiles/rack_3_1.gemfile - 32638574132.15 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
16 run-4.0-Gemfile - 32638574132.16 23 Aug 2026 12:11PM UTC 167
95.73
GitHub Action Run
17 run-3.3-Gemfile - 32638574132.17 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 32638574132.18 23 Aug 2026 12:11PM UTC 168
95.73
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 32638574132.19 23 Aug 2026 12:11PM UTC 168
95.73
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 32638574132.20 23 Aug 2026 12:10PM UTC 167
95.73
GitHub Action Run
21 run-3.3-gemfiles/rails_7_2.gemfile - 32638574132.21 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
22 run-4.0-gemfiles/rack_2_2.gemfile - 32638574132.22 23 Aug 2026 12:10PM UTC 167
95.69
GitHub Action Run
23 run-3.4-gemfiles/rails_8_0.gemfile - 32638574132.23 23 Aug 2026 12:11PM UTC 168
95.73
GitHub Action Run
24 run-4.0-gemfiles/multi_json_1_20.gemfile - 32638574132.24 23 Aug 2026 12:11PM UTC 167
47.43
GitHub Action Run
25 run-4.0-gemfiles/rack_3_1.gemfile - 32638574132.25 23 Aug 2026 12:09PM UTC 167
95.73
GitHub Action Run
26 run-4.0-gemfiles/grape_entity.gemfile - 32638574132.26 23 Aug 2026 12:10PM UTC 167
50.03
GitHub Action Run
27 run-4.0-gemfiles/rails_8_1.gemfile - 32638574132.27 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
28 run-4.0-gemfiles/multi_xml_0_8.gemfile - 32638574132.28 23 Aug 2026 12:10PM UTC 167
46.86
GitHub Action Run
29 run-4.0-gemfiles/rails_8_0.gemfile - 32638574132.29 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
30 run-4.0-gemfiles/grape_swagger.gemfile - 32638574132.30 23 Aug 2026 12:10PM UTC 167
55.11
GitHub Action Run
31 run-4.0-gemfiles/hashie.gemfile - 32638574132.31 23 Aug 2026 12:11PM UTC 167
61.85
GitHub Action Run
32 run-3.3-gemfiles/rails_8_1.gemfile - 32638574132.32 23 Aug 2026 12:10PM UTC 168
95.73
GitHub Action Run
Source Files on build 32638574132
  • 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 #32638574132
  • 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