Package: ruby-rack-parser / 0.7.0-4
Metadata
| Package | Version | Patches format |
|---|---|---|
| ruby-rack-parser | 0.7.0-4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| remove spec to lib relative require.patch | (download) |
spec/spec_helper.rb |
2 1 + 1 - 0 ! |
--- |
| rack3 support.patch | (download) |
lib/rack/parser.rb |
2 2 + 0 - 0 ! |
[patch] fix compatibility with rack 3.1+ rack.input was made optional in this [PR](https://github.com/rack/rack/pull/2018/files), which landed in 3.1. That broke rack-parser which always expects it to be present. This gracefully handles cases where it's not. |
| rack3 spec.patch | (download) |
spec/parser_spec.rb |
6 5 + 1 - 0 ! |
accomodate a test for ruby rack version 3 |
| use params not body.patch | (download) |
spec/parser_spec.rb |
6 3 + 3 - 0 ! |
fix test expectations for ruby 3.4 hash#inspect change
Ruby 3.4 changed Hash#inspect output for non-symbol keys to add spaces
around => ({"a" => 1} instead of {"a"=>1}). The test suite relied on the
old format via last_response.body, causing FTBFS only on ruby3.4.
|
1
