rack 3.0.2 → 3.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ef3f40b22f1176082dbf385b1370a4453d6f2547bb821b86464b2e282d599f0
4
- data.tar.gz: cbdc48698cce4a62c73e202f75f9226663c484395576188800e3a063aac9c341
3
+ metadata.gz: 34b725c90a83ec4df8164adb05c3384cbce08f286ea70eb0056ec9f285a0a08d
4
+ data.tar.gz: 206a427659d70e9ea2a2376e87e70d4ee6cbc6f57a77cd4dc9f525c20bd1de22
5
5
  SHA512:
6
- metadata.gz: 15759c4ffbf202d6697e4eb440e470e49e2d81a211e29b5a3eb8580765ff93c77cdbda66927f42f098246a3b7ba2e62c2971703b9a2be51ff3f4cc7fcadb5f8e
7
- data.tar.gz: f0bb7abd2f11b80c3ac6286ac6db9395e635cdd90cc621a35a248fdf987b2e03174502c769093790c4a128429feefc6ee8beca2ec3f138a5615c0c79443af876
6
+ metadata.gz: b07f5d9cf822e38de1703d52642ad9f23ecb394d3f151d908d29e0be89c3277c2a69e08e3864abf6ccd4d37014906386ae6b3de2a7f162342ea3e4044a04d337
7
+ data.tar.gz: 74ec4806a23b4d62fb8d74e9391379ce0860f0b55b4e06202e7c17d539c716d12cdf838969d38c0224b9ab75727918f078f00b754da4478b92ca41e657ea4357
data/CHANGELOG.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference [Keep A Changelog](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.0.2] -2022-12-05
5
+ ## [3.0.3] - 2022-12-27
6
+
7
+ ### Fixed
8
+
9
+ - `Rack::URLMap` uses non-deprecated form of `Regexp.new`. ([#1998](https://github.com/rack/rack/pull/1998), [@weizheheng](https://github.com/weizheheng))
10
+
11
+ ## [3.0.2] - 2022-12-05
6
12
 
7
13
  ### Fixed
8
14
 
data/lib/rack/urlmap.rb CHANGED
@@ -37,7 +37,7 @@ module Rack
37
37
  end
38
38
 
39
39
  location = location.chomp('/')
40
- match = Regexp.new("^#{Regexp.quote(location).gsub('/', '/+')}(.*)", nil, 'n')
40
+ match = Regexp.new("^#{Regexp.quote(location).gsub('/', '/+')}(.*)", Regexp::NOENCODING)
41
41
 
42
42
  [host, location, match, app]
43
43
  }.sort_by do |(host, location, _, _)|
data/lib/rack/version.rb CHANGED
@@ -25,7 +25,7 @@ module Rack
25
25
  VERSION
26
26
  end
27
27
 
28
- RELEASE = "3.0.2"
28
+ RELEASE = "3.0.3"
29
29
 
30
30
  # Return the Rack release as a dotted string.
31
31
  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: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leah Neukirchen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2022-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest