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

ruby-grape / grape / 34685089796
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: perf/static-route-matching
DEFAULT BRANCH: master
Ran 12 Sep 2026 09:09AM 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

12 Sep 2026 09:09AM UTC coverage: 99.184% (-0.02%) from 99.203%
34685089796

Pull #2937

github

ericproulx
Forward the class methods kept off an API class to its base instance explicitly

`.override_all_methods!` redefines every base-instance method on the API
class itself, so that calling one records a setup step to replay on each
mounted instance. `NON_OVERRIDABLE` keeps a few names off that list, and
only seven of them had a `def_delegators` entry; `base=`,
`base_instance?`, `reset!` and `top_level_setting` were answered by
`delegate_missing_to :base_instance` through `method_missing`. They are
forwarded explicitly now, so the class states the surface it answers.

`delegate_missing_to` stays for the names no list can hold: anything
defined on `Grape::API::Instance` after an API class was created, since
`.override_all_methods!` copies the methods it finds at that moment.
That is how a gem adds to the DSL, and two specs now pin both halves --
nothing did, and deleting the delegation left the suite green.

`inherit_settings` keeps its place in NON_OVERRIDABLE, with a comment
saying why: it is protected on the base instance, and `.methods` answers
protected methods too, so without it `.override_all_methods!` would give
the class a recording method for it. It gets no delegator, since a public
one would raise NoMethodError exactly as the missing method does.

`top_level_setting=` leaves the list: no such method exists, so the entry
excluded nothing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2937: Forward the class methods kept off an API class to its base instance explicitly

1306 of 1350 branches covered (96.74%)

Branch coverage included in aggregate %.

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

4039 of 4039 relevant lines covered (100.0%)

27252.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-Gemfile - 34685089796.1 12 Sep 2026 09:09AM UTC 168
97.88
GitHub Action Run
2 run-3.4-Gemfile - 34685089796.2 12 Sep 2026 09:10AM UTC 168
97.88
GitHub Action Run
3 run-3.3-gemfiles/rails_7_2.gemfile - 34685089796.3 12 Sep 2026 09:09AM UTC 169
97.88
GitHub Action Run
4 run-4.0-gemfiles/multi_xml.gemfile - 34685089796.4 12 Sep 2026 09:09AM UTC 167
46.95
GitHub Action Run
5 run-4.0-gemfiles/rack_3_2.gemfile - 34685089796.5 12 Sep 2026 09:10AM UTC 168
97.86
GitHub Action Run
6 run-3.4-gemfiles/rack_3_1.gemfile - 34685089796.6 12 Sep 2026 09:10AM UTC 168
97.86
GitHub Action Run
7 run-4.0-gemfiles/grape_swagger.gemfile - 34685089796.7 12 Sep 2026 09:10AM UTC 167
54.97
GitHub Action Run
8 run-4.0-gemfiles/rack_3_1.gemfile - 34685089796.8 12 Sep 2026 09:10AM UTC 168
97.88
GitHub Action Run
9 run-4.0-gemfiles/multi_json_1_20.gemfile - 34685089796.9 12 Sep 2026 09:09AM UTC 167
47.38
GitHub Action Run
10 run-3.3-gemfiles/rack_3_1.gemfile - 34685089796.10 12 Sep 2026 09:10AM UTC 168
97.9
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 34685089796.11 12 Sep 2026 09:10AM UTC 168
97.86
GitHub Action Run
12 run-3.4-gemfiles/rails_8_0.gemfile - 34685089796.12 12 Sep 2026 09:10AM UTC 169
97.87
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 34685089796.13 12 Sep 2026 09:09AM UTC 167
61.71
GitHub Action Run
14 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34685089796.14 12 Sep 2026 09:10AM UTC 167
46.99
GitHub Action Run
15 run-3.4-gemfiles/rack_3_2.gemfile - 34685089796.15 12 Sep 2026 09:09AM UTC 168
97.86
GitHub Action Run
16 run-3.3-gemfiles/rack_2_2.gemfile - 34685089796.16 12 Sep 2026 09:09AM UTC 168
97.86
GitHub Action Run
17 run-3.3-gemfiles/rack_3_2.gemfile - 34685089796.17 12 Sep 2026 09:10AM UTC 168
97.9
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 34685089796.18 12 Sep 2026 09:09AM UTC 169
97.88
GitHub Action Run
19 run-4.0-gemfiles/rack_2_2.gemfile - 34685089796.19 12 Sep 2026 09:09AM UTC 168
97.83
GitHub Action Run
20 run-3.4-gemfiles/rack_2_2.gemfile - 34685089796.20 12 Sep 2026 09:10AM UTC 168
97.85
GitHub Action Run
21 run-4.0-gemfiles/rails_8_0.gemfile - 34685089796.21 12 Sep 2026 09:10AM UTC 169
97.88
GitHub Action Run
22 run-3.3-gemfiles/rails_8_0.gemfile - 34685089796.22 12 Sep 2026 09:10AM UTC 169
97.88
GitHub Action Run
23 run-4.0-gemfiles/dry_validation.gemfile - 34685089796.23 12 Sep 2026 09:09AM UTC 167
57.74
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 34685089796.24 12 Sep 2026 09:10AM UTC 167
47.34
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 34685089796.25 12 Sep 2026 09:10AM UTC 168
97.88
GitHub Action Run
26 run-4.0-gemfiles/rails_7_2.gemfile - 34685089796.26 12 Sep 2026 09:10AM UTC 169
97.87
GitHub Action Run
27 run-3.3-gemfiles/rack_3_0.gemfile - 34685089796.27 12 Sep 2026 09:10AM UTC 168
97.88
GitHub Action Run
28 run-3.3-gemfiles/rails_8_1.gemfile - 34685089796.28 12 Sep 2026 09:10AM UTC 169
97.9
GitHub Action Run
29 run-4.0-gemfiles/grape_entity.gemfile - 34685089796.29 12 Sep 2026 09:09AM UTC 167
50.25
GitHub Action Run
30 run-3.4-gemfiles/rails_8_1.gemfile - 34685089796.30 12 Sep 2026 09:09AM UTC 169
97.87
GitHub Action Run
31 run-4.0-gemfiles/rails_8_1.gemfile - 34685089796.31 12 Sep 2026 09:10AM UTC 169
97.88
GitHub Action Run
32 run-4.0-Gemfile - 34685089796.32 12 Sep 2026 09:09AM UTC 168
97.88
GitHub Action Run
Source Files on build 34685089796
  • Tree
  • List 169
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34685089796
  • Pull Request #2937
  • PR Base - master (#34684568247)
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