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

ruby-grape / grape / 28746672698
97%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2026 04:03PM UTC
Jobs 32
Files 167
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

05 Jul 2026 04:03PM UTC coverage: 96.643% (+0.03%) from 96.618%
28746672698

push

github

web-flow
Land #2775–#2779 on master (stacked-merge recovery) (#2780)

* Pass http_methods to Grape::Endpoint as a keyword instead of via options

`method` was pulled out of the endpoint's `**options` Hash, normalized in
place (`@options[:method] = Array(...)`), and renamed to `http_methods` on
the `Options` value object purely to dodge the `Object#method` shadow on
the generated Data accessor.

Expose it directly as a required `http_methods:` keyword on
`Grape::Endpoint#initialize` and pass it straight into `Options`, whose
field is now genuinely named `http_methods` (no rename, no shadow). The
value stays in `config` so endpoint equality — `config == other.config`,
which keeps same-path/different-verb endpoints distinct — is unchanged.

The endpoint's public `options` Hash no longer carries the redundant
`:method` entry; nothing read it, and grape-swagger reads the verb from
`route.request_method`. Documented in UPGRADING.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Pass path to Grape::Endpoint as a keyword instead of via options

`path` was pulled from the endpoint's `**options` Hash and normalized in
place (`@options[:path] = Array(...)`), duplicating the normalization
`Options` already does.

Expose it as a required `path:` keyword on `Grape::Endpoint#initialize`
and pass it straight into `Options`, which stays the single normalized
source of truth. `path` remains in `config` because it is load-bearing
for route building (`config.path`) and for endpoint equality
(`config == other.config`, which keeps same-path/different-verb endpoints
distinct).

The endpoint's public `options` Hash no longer carries `:path`. Its only
reader was an internal test; `route.path` (the compiled pattern) is the
public path API and is what grape-swagger already uses. Documented in
UPGRADING.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Add mounted_app reader and app: keyword to Grape::Endpoint

`app` (the Rack app or Grape ... (continued)

1130 of 1226 branches covered (92.17%)

Branch coverage included in aggregate %.

33 of 33 new or added lines in 7 files covered. (100.0%)

3591 of 3659 relevant lines covered (98.14%)

23423.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 28746672698.1 05 Jul 2026 04:04PM UTC 166
95.14
GitHub Action Run
2 run-3.3-gemfiles/rails_8_0.gemfile - 28746672698.2 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
3 run-3.3-gemfiles/rack_3_0.gemfile - 28746672698.3 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
4 run-4.0-gemfiles/rack_3_2.gemfile - 28746672698.4 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
5 run-3.4-gemfiles/rack_3_0.gemfile - 28746672698.5 05 Jul 2026 04:04PM UTC 166
95.18
GitHub Action Run
6 run-3.3-Gemfile - 28746672698.6 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 28746672698.7 05 Jul 2026 04:04PM UTC 166
95.14
GitHub Action Run
8 run-3.3-gemfiles/rack_3_1.gemfile - 28746672698.8 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
9 run-4.0-gemfiles/multi_xml_0_8.gemfile - 28746672698.9 05 Jul 2026 04:04PM UTC 166
47.12
GitHub Action Run
10 run-4.0-gemfiles/multi_xml.gemfile - 28746672698.10 05 Jul 2026 04:03PM UTC 166
47.08
GitHub Action Run
11 run-3.4-gemfiles/rack_3_1.gemfile - 28746672698.11 05 Jul 2026 04:04PM UTC 166
95.18
GitHub Action Run
12 run-4.0-Gemfile - 28746672698.12 05 Jul 2026 04:04PM UTC 166
95.18
GitHub Action Run
13 run-3.4-gemfiles/rack_3_2.gemfile - 28746672698.13 05 Jul 2026 04:04PM UTC 166
95.18
GitHub Action Run
14 run-4.0-gemfiles/hashie.gemfile - 28746672698.14 05 Jul 2026 04:03PM UTC 166
62.39
GitHub Action Run
15 run-3.4-gemfiles/rails_8_1.gemfile - 28746672698.15 05 Jul 2026 04:03PM UTC 167
95.19
GitHub Action Run
16 run-4.0-gemfiles/rack_3_0.gemfile - 28746672698.16 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 28746672698.17 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
18 run-4.0-gemfiles/grape_swagger.gemfile - 28746672698.18 05 Jul 2026 04:03PM UTC 166
55.26
GitHub Action Run
19 run-4.0-gemfiles/dry_validation.gemfile - 28746672698.19 05 Jul 2026 04:04PM UTC 166
58.27
GitHub Action Run
20 run-3.4-gemfiles/rails_8_0.gemfile - 28746672698.20 05 Jul 2026 04:03PM UTC 167
95.19
GitHub Action Run
21 run-3.3-gemfiles/rails_7_2.gemfile - 28746672698.21 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 28746672698.22 05 Jul 2026 04:03PM UTC 166
50.38
GitHub Action Run
23 run-4.0-gemfiles/multi_json_1_20.gemfile - 28746672698.23 05 Jul 2026 04:03PM UTC 166
47.65
GitHub Action Run
24 run-4.0-gemfiles/rack_2_2.gemfile - 28746672698.24 05 Jul 2026 04:03PM UTC 166
95.14
GitHub Action Run
25 run-3.4-gemfiles/rails_7_2.gemfile - 28746672698.25 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 28746672698.26 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
27 run-4.0-gemfiles/rack_3_1.gemfile - 28746672698.27 05 Jul 2026 04:04PM UTC 166
95.18
GitHub Action Run
28 run-3.3-gemfiles/rack_3_2.gemfile - 28746672698.28 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
29 run-4.0-gemfiles/rails_7_2.gemfile - 28746672698.29 05 Jul 2026 04:03PM UTC 167
95.19
GitHub Action Run
30 run-3.4-Gemfile - 28746672698.30 05 Jul 2026 04:03PM UTC 166
95.18
GitHub Action Run
31 run-4.0-gemfiles/multi_json.gemfile - 28746672698.31 05 Jul 2026 04:04PM UTC 166
47.61
GitHub Action Run
32 run-4.0-gemfiles/rails_8_1.gemfile - 28746672698.32 05 Jul 2026 04:04PM UTC 167
95.19
GitHub Action Run
Source Files on build 28746672698
  • Tree
  • List 167
  • Changed 7
  • Source Changed 7
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28746672698
  • ab000ef6 on github
  • Prev Build on master (#28743926364)
  • Next Build on master (#28747175440)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc