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.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rack/utils.rb +2 -2
  3. data/lib/rack.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6c6bc44966ead6d6a9da2aaf2491e17ae23f2ad2a812ebca495b804a4574405
4
- data.tar.gz: 7aa862a282ed242ed951ca59158e3078a05f19ea377009cd96e4dd09ebf5f513
3
+ metadata.gz: 67d6719dffaa22a871452610e93f69046aff97a0977c5a5533f2cbfd6f366f78
4
+ data.tar.gz: 4a66af6c5afa8700f9718c64bb524c618daa2f6948e5a884dd06ff2e6cbe023f
5
5
  SHA512:
6
- metadata.gz: 5ce33f287708bb007eac0960c5ab16dadbc759bdea9266f0d3ca51c9d79bab83c815a6d8b73450cd1878f3a2e10cf26b1892304352b027bd7924c07ea1a28c31
7
- data.tar.gz: 264d2812f22b99a85e83b65664d1d08380c1699384a21f3c144837f4a6449a5b3a05e3df3187b19082da4e6e51695dce23dc4e98f5463bb7361e34614286ff8d
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(/\s*,\s*/).map do |part|
150
- value, parameters = part.split(/\s*;\s*/, 2)
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
@@ -20,7 +20,7 @@ module Rack
20
20
  VERSION.join(".")
21
21
  end
22
22
 
23
- RELEASE = "2.1.4.3"
23
+ RELEASE = "2.1.4.4"
24
24
 
25
25
  # Return the Rack release as a dotted string.
26
26
  def self.release
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.3
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: 2023-03-02 00:00:00.000000000 Z
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.1
188
+ rubygems_version: 3.4.10
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: a modular Ruby webserver interface