uri 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/Gemfile +1 -0
- data/lib/uri/rfc2396_parser.rb +2 -2
- data/lib/uri/rfc3986_parser.rb +1 -1
- data/lib/uri/version.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: e148d563fe056a564cbc9165907417c7ace215e889313648ef7188978de6967b
|
4
|
+
data.tar.gz: 641d48d8ea5501344b72db29beb2799acf7ffb8711c0b472b31b1cafa670365f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63b7b63b2e1d5a141ae795a628b838bfce9ee31a0d1dbcd8b8d693e776f15195a649f17d16c227f6a1f91dcc45026c499706de5fca14f9a2dc7fea2fa08f9eb4
|
7
|
+
data.tar.gz: 2fbf672737a8b1dc3ab33cd1edec06469ec0691c9c30ee23907e9811c1a263ac27293f659440050a5802bd3e1950891a75695e5b29ecc1a90a45515a4c0f5b5e
|
data/.github/workflows/test.yml
CHANGED
data/Gemfile
CHANGED
data/lib/uri/rfc2396_parser.rb
CHANGED
@@ -497,8 +497,8 @@ module URI
|
|
497
497
|
ret = {}
|
498
498
|
|
499
499
|
# for URI::split
|
500
|
-
ret[:ABS_URI] = Regexp.new('\A\s
|
501
|
-
ret[:REL_URI] = Regexp.new('\A\s
|
500
|
+
ret[:ABS_URI] = Regexp.new('\A\s*+' + pattern[:X_ABS_URI] + '\s*\z', Regexp::EXTENDED)
|
501
|
+
ret[:REL_URI] = Regexp.new('\A\s*+' + pattern[:X_REL_URI] + '\s*\z', Regexp::EXTENDED)
|
502
502
|
|
503
503
|
# for URI::extract
|
504
504
|
ret[:URI_REF] = Regexp.new(pattern[:URI_REF])
|
data/lib/uri/rfc3986_parser.rb
CHANGED
@@ -100,7 +100,7 @@ module URI
|
|
100
100
|
QUERY: /\A(?:%\h\h|[!$&-.0-;=@-Z_a-z~\/?])*\z/,
|
101
101
|
FRAGMENT: /\A(?:%\h\h|[!$&-.0-;=@-Z_a-z~\/?])*\z/,
|
102
102
|
OPAQUE: /\A(?:[^\/].*)?\z/,
|
103
|
-
PORT: /\A[\x09\x0a\x0c\x0d ]
|
103
|
+
PORT: /\A[\x09\x0a\x0c\x0d ]*+\d*[\x09\x0a\x0c\x0d ]*\z/,
|
104
104
|
}
|
105
105
|
end
|
106
106
|
|
data/lib/uri/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akira Yamada
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: URI is a module providing classes to handle Uniform Resource Identifiers
|
14
14
|
email:
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
64
|
- !ruby/object:Gem::Version
|
65
65
|
version: '0'
|
66
66
|
requirements: []
|
67
|
-
rubygems_version: 3.
|
67
|
+
rubygems_version: 3.3.26
|
68
68
|
signing_key:
|
69
69
|
specification_version: 4
|
70
70
|
summary: URI is a module providing classes to handle Uniform Resource Identifiers
|