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

ruby-grape / grape / 25873432159 / 25
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: refactor/params-dsl-using-except-kwargs
DEFAULT BRANCH: master
Ran 14 May 2026 05:00PM UTC
Files 159
Run time 9s
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

14 May 2026 04:58PM UTC coverage: 95.741% (-0.002%) from 95.743%
25873432159.25

Pull #2714

github

ericproulx
Drop Grape::Middleware::Globals

Grape::Middleware::Globals and its three env keys
(Grape::Env::GRAPE_REQUEST, GRAPE_REQUEST_HEADERS, GRAPE_REQUEST_PARAMS)
have been dead code for years. The middleware was introduced in 2013
(commit 9987090b, bundled awkwardly into an oauth2 change) and was never
mounted by Grape's own stack — Endpoint builds its Grape::Request
directly. Nothing in lib/ reads grape.request* either; the env keys had
no internal consumers.

Outside lib/ the only reference was the file's own spec. README and
UPGRADING never mentioned the class.

Removing the class, the spec, and the three constants. The original
implementation is preserved in git history at
https://github.com/ruby-grape/grape/blob/6b4111b3/lib/grape/middleware/globals.rb.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2714: Drop Grape::Middleware::Globals

1058 of 1165 branches covered (90.82%)

Branch coverage included in aggregate %.

3460 of 3554 relevant lines covered (97.36%)

1003.3 hits per line

Source Files on job run-3.4-gemfiles/rack_3_1.gemfile - 25873432159.25
  • Tree
  • List 159
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25873432159
  • 0ee65847 on github
  • Prev Job for on chore/drop-middleware-globals (#25873392065.16)
  • Next Job for on chore/drop-middleware-globals (#25873470348.35)
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