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

ruby-grape / grape / 42519225313
100%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2026 08:21PM UTC
Jobs 23
Files 176
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

08 Nov 2026 08:15PM UTC coverage: 100.0%. Remained the same
42519225313

push

github

web-flow
Drop support for Rack 2.2 and 3.0 (#3063)

Rack's security policy covers its current release series and the one
before it, now 3.2 and 3.1. Rack 3.0 has had no release since 3.0.18
(2025-05-22) and is still affected by GHSA-2j8w-xcrc-x985, fixed only in
3.1.23 and 3.2.8. Grape now requires Rack >= 3.1 and stops testing
against 2.2 and 3.0: their gemfiles and CI matrix entries are removed.

With Rack::BadRequest and Rack::Headers always present, the version
branches in lib go. RACK_ERRORS is [EOFError, Rack::BadRequest], and
Grape::Util::Header, an alias that only existed to pick between
Rack::Headers and Rack::Utils::HeaderHash, is removed in favour of
Rack::Headers, now required explicitly next to the other rack requires.
Router#cascade? no longer falls back to X-Cascade, the Rack 2 spelling
#3064 still read from a mounted app's plain Hash. The specs lose their
Rack 2 and pre-3.1 branches, and the README's Rack::ETag note no longer
names 3.0.

Grape::Request::KNOWN_HEADERS no longer copies the 73 names of
Rack::Headers::KNOWN_HEADERS by hand: it takes them from Rack and adds
the 53 request headers Rack leaves out (Accept, Host, User-Agent, Cookie,
X-Forwarded-*, ...). Rack's table alone would make #headers build each
of those names, 45 allocations instead of 11 for a typical request.
The env keys are the same 126 as before. Names are now Rack's own frozen
lowercase Strings, which Rack::Headers#[]= stores without downcasing a
copy, so a typical request allocates 10 instead of 11.

The header names Grape writes are now spelled in lowercase, as the Rack
3 SPEC requires: allow, location, transfer-encoding and x-cascade. Each
went through a Rack::Headers or Rack::Response that lowercased it
already, so responses are unchanged; the code no longer relies on it.
The router's default 404 headers, an internal constant, are a plain
Hash rather than a Rack::Headers.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1525 of 1525 branches covered (100.0%)

Branch coverage included in aggregate %.

16 of 16 new or added lines in 8 files covered. (100.0%)

4561 of 4561 relevant lines covered (100.0%)

19338.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-Gemfile - 42519225313.1 08 Nov 2026 08:22PM UTC 175
98.95
GitHub Action Run
2 run-3.3-gemfiles/rails_8_1.gemfile - 42519225313.2 08 Nov 2026 08:21PM UTC 176
98.96
GitHub Action Run
3 run-4.0-gemfiles/multi_xml.gemfile - 42519225313.3 08 Nov 2026 08:21PM UTC 174
46.2
GitHub Action Run
4 run-4.0-gemfiles/multi_json_1_20.gemfile - 42519225313.4 08 Nov 2026 08:22PM UTC 174
46.5
GitHub Action Run
5 run-4.0-gemfiles/grape_swagger.gemfile - 42519225313.5 08 Nov 2026 08:21PM UTC 174
53.47
GitHub Action Run
6 run-3.4-gemfiles/rack_3_1.gemfile - 42519225313.6 08 Nov 2026 08:21PM UTC 175
98.95
GitHub Action Run
7 run-3.3-gemfiles/rack_3_2.gemfile - 42519225313.7 08 Nov 2026 08:22PM UTC 175
98.96
GitHub Action Run
8 run-3.4-gemfiles/rails_8_1.gemfile - 42519225313.8 08 Nov 2026 08:22PM UTC 176
98.95
GitHub Action Run
9 run-3.3-gemfiles/rack_3_1.gemfile - 42519225313.9 08 Nov 2026 08:21PM UTC 175
98.96
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 42519225313.10 08 Nov 2026 08:22PM UTC 175
98.95
GitHub Action Run
11 run-3.3-Gemfile - 42519225313.11 08 Nov 2026 08:22PM UTC 175
98.96
GitHub Action Run
12 run-3.3-gemfiles/rails_8_0.gemfile - 42519225313.12 08 Nov 2026 08:22PM UTC 176
98.96
GitHub Action Run
13 run-4.0-gemfiles/dry_validation.gemfile - 42519225313.13 08 Nov 2026 08:22PM UTC 174
56.29
GitHub Action Run
14 run-3.4-gemfiles/rack_3_2.gemfile - 42519225313.14 08 Nov 2026 08:21PM UTC 175
98.95
GitHub Action Run
15 run-4.0-gemfiles/hashie.gemfile - 42519225313.15 08 Nov 2026 08:22PM UTC 174
60.11
GitHub Action Run
16 run-3.4-gemfiles/rails_8_0.gemfile - 42519225313.16 08 Nov 2026 08:22PM UTC 176
98.95
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 42519225313.17 08 Nov 2026 08:21PM UTC 176
98.95
GitHub Action Run
18 run-3.4-Gemfile - 42519225313.18 08 Nov 2026 08:22PM UTC 175
98.95
GitHub Action Run
19 run-4.0-gemfiles/grape_entity.gemfile - 42519225313.19 08 Nov 2026 08:22PM UTC 174
49.39
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 42519225313.20 08 Nov 2026 08:22PM UTC 175
98.95
GitHub Action Run
21 run-4.0-gemfiles/multi_json.gemfile - 42519225313.21 08 Nov 2026 08:21PM UTC 174
46.47
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42519225313.22 08 Nov 2026 08:22PM UTC 174
46.23
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 42519225313.23 08 Nov 2026 08:22PM UTC 176
98.95
GitHub Action Run
Source Files on build 42519225313
  • Tree
  • List 176
  • Changed 10
  • Source Changed 10
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42519225313
  • 0dd2ca38 on github
  • Prev Build on master (#42517281040)
  • Next Build on master (#42519925321)
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