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

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

Build:
Build:
LAST BUILD BRANCH: registry-frozen-copy-on-write
DEFAULT BRANCH: master
Ran 19 Sep 2026 07:37PM 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

19 Sep 2026 07:36PM UTC coverage: 99.035% (-0.002%) from 99.037%
35464901001

Pull #2967

github

ericproulx
Hand a Proc passed as the last middleware argument to the middleware

The middleware DSL recorded a registration as [operation, *args] and
appended the block only when one was given, so Stack#merge_with told the
block apart by its class: whatever Proc came last was popped and passed
as the block. A callable handed to a middleware as its last argument,
as in `use SomeMiddleware, ->(env) { ... }`, was taken for the block
instead, and the middleware was built without it, raising ArgumentError
when the stack was built. `insert_before` and `insert_after` did the
same.

Every registration now ends in its block, nil when none was given, and
merge_with always takes the last element as the block. That changes the
entries `API.middleware` returns, hence the UPGRADING note.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2967: Hand a Proc passed as the last middleware argument to the middleware

1445 of 1501 branches covered (96.27%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 2 files covered. (100.0%)

4300 of 4300 relevant lines covered (100.0%)

28830.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json.gemfile - 35464901001.1 19 Sep 2026 07:38PM UTC 166
46.0
GitHub Action Run
2 run-4.0-gemfiles/grape_swagger.gemfile - 35464901001.2 19 Sep 2026 07:38PM UTC 166
53.28
GitHub Action Run
3 run-4.0-gemfiles/grape_entity.gemfile - 35464901001.3 19 Sep 2026 07:37PM UTC 166
48.92
GitHub Action Run
4 run-3.3-gemfiles/rack_3_2.gemfile - 35464901001.4 19 Sep 2026 07:37PM UTC 167
97.86
GitHub Action Run
5 run-3.3-gemfiles/rack_2_2.gemfile - 35464901001.5 19 Sep 2026 07:37PM UTC 167
97.84
GitHub Action Run
6 run-4.0-gemfiles/multi_json_1_20.gemfile - 35464901001.6 19 Sep 2026 07:37PM UTC 166
46.04
GitHub Action Run
7 run-4.0-gemfiles/multi_xml.gemfile - 35464901001.7 19 Sep 2026 07:37PM UTC 166
45.73
GitHub Action Run
8 run-4.0-gemfiles/rack_3_0.gemfile - 35464901001.8 19 Sep 2026 07:39PM UTC 167
97.84
GitHub Action Run
9 run-4.0-gemfiles/rails_8_1.gemfile - 35464901001.9 19 Sep 2026 07:38PM UTC 168
97.86
GitHub Action Run
10 run-4.0-gemfiles/rack_3_2.gemfile - 35464901001.10 19 Sep 2026 07:38PM UTC 167
97.84
GitHub Action Run
11 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35464901001.11 19 Sep 2026 07:37PM UTC 166
45.76
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 35464901001.12 19 Sep 2026 07:37PM UTC 166
55.94
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 35464901001.13 19 Sep 2026 07:39PM UTC 168
97.86
GitHub Action Run
14 run-3.4-gemfiles/rack_3_1.gemfile - 35464901001.14 19 Sep 2026 07:37PM UTC 167
97.84
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 35464901001.15 19 Sep 2026 07:38PM UTC 168
97.86
GitHub Action Run
16 run-4.0-gemfiles/rack_2_2.gemfile - 35464901001.16 19 Sep 2026 07:37PM UTC 167
97.83
GitHub Action Run
17 run-4.0-gemfiles/hashie.gemfile - 35464901001.17 19 Sep 2026 07:37PM UTC 166
59.85
GitHub Action Run
18 run-3.4-gemfiles/rack_2_2.gemfile - 35464901001.18 19 Sep 2026 07:37PM UTC 167
97.81
GitHub Action Run
19 run-3.3-gemfiles/rack_3_1.gemfile - 35464901001.19 19 Sep 2026 07:37PM UTC 167
97.86
GitHub Action Run
20 run-3.3-gemfiles/rack_3_0.gemfile - 35464901001.20 19 Sep 2026 07:39PM UTC 167
97.86
GitHub Action Run
21 run-3.3-gemfiles/rails_7_2.gemfile - 35464901001.21 19 Sep 2026 07:37PM UTC 168
97.86
GitHub Action Run
22 run-4.0-gemfiles/rack_3_1.gemfile - 35464901001.22 19 Sep 2026 07:38PM UTC 167
97.86
GitHub Action Run
23 run-3.4-gemfiles/rack_3_0.gemfile - 35464901001.23 19 Sep 2026 07:37PM UTC 167
97.86
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 35464901001.24 19 Sep 2026 07:39PM UTC 167
97.86
GitHub Action Run
25 run-4.0-gemfiles/rails_7_2.gemfile - 35464901001.25 19 Sep 2026 07:37PM UTC 168
97.86
GitHub Action Run
26 run-3.3-Gemfile - 35464901001.26 19 Sep 2026 07:37PM UTC 167
97.88
GitHub Action Run
27 run-3.3-gemfiles/rails_8_0.gemfile - 35464901001.27 19 Sep 2026 07:37PM UTC 168
97.88
GitHub Action Run
28 run-3.4-Gemfile - 35464901001.28 19 Sep 2026 07:37PM UTC 167
97.86
GitHub Action Run
29 run-3.4-gemfiles/rails_8_1.gemfile - 35464901001.29 19 Sep 2026 07:37PM UTC 168
97.86
GitHub Action Run
30 run-4.0-Gemfile - 35464901001.30 19 Sep 2026 07:37PM UTC 167
97.84
GitHub Action Run
31 run-4.0-gemfiles/rails_8_0.gemfile - 35464901001.31 19 Sep 2026 07:38PM UTC 168
97.84
GitHub Action Run
32 run-3.4-gemfiles/rails_7_2.gemfile - 35464901001.32 19 Sep 2026 07:37PM UTC 168
97.84
GitHub Action Run
Source Files on build 35464901001
  • Tree
  • List 168
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35464901001
  • Pull Request #2967
  • PR Base - master (#35463879758)
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