rack 2.1.4.3 → 2.1.4.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rack might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/rack/utils.rb +2 -2
- data/lib/rack.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67d6719dffaa22a871452610e93f69046aff97a0977c5a5533f2cbfd6f366f78
|
4
|
+
data.tar.gz: 4a66af6c5afa8700f9718c64bb524c618daa2f6948e5a884dd06ff2e6cbe023f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd068a7c94991582e581b94fceff44789e008ba86234a3d749e04138f1d057c9ae265b8cb990d76f4f6c59f672501cfa952e2d728f48e2f5cc43c863afbc5dfc
|
7
|
+
data.tar.gz: 19bea2c733f870aac2a23dcec2c939683448625e101ee6388e08ec742d9f6765faad5860129504ebdcb9c1ac698ac1e0e88c91faf03078609815c581ca92875f
|
data/lib/rack/utils.rb
CHANGED
@@ -146,8 +146,8 @@ module Rack
|
|
146
146
|
module_function :build_nested_query
|
147
147
|
|
148
148
|
def q_values(q_value_header)
|
149
|
-
q_value_header.to_s.split(
|
150
|
-
value, parameters = part.split(
|
149
|
+
q_value_header.to_s.split(',').map do |part|
|
150
|
+
value, parameters = part.split(';', 2).map(&:strip)
|
151
151
|
quality = 1.0
|
152
152
|
if parameters && (md = /\Aq=([\d.]+)/.match(parameters))
|
153
153
|
quality = md[1].to_f
|
data/lib/rack.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.4.
|
4
|
+
version: 2.1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leah Neukirchen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
187
|
requirements: []
|
188
|
-
rubygems_version: 3.4.
|
188
|
+
rubygems_version: 3.4.10
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: a modular Ruby webserver interface
|