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

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

Build:
Build:
LAST BUILD BRANCH: refactor/validation-errors-drop-enumerable
DEFAULT BRANCH: master
Ran 14 May 2026 12:21PM UTC
Files 158
Run time 6s
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 12:19PM UTC coverage: 95.73% (-0.01%) from 95.741%
25859619327.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. Original
implementation preserved in history: see commit 6b4111b3 (master before
this change) for the file content.

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

1048 of 1155 branches covered (90.74%)

Branch coverage included in aggregate %.

3413 of 3505 relevant lines covered (97.38%)

1008.46 hits per line

Source Files on job run-3.3-gemfiles/rails_8_0.gemfile - 25859619327.25
  • Tree
  • List 158
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25859619327
  • 268e2c4e on github
  • Prev Job for on chore/drop-middleware-globals (#25854383996.6)
  • Next Job for on chore/drop-middleware-globals (#25873218028.20)
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