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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d86620a487d2769ad2d77ec2d040b38ce8d97c49c7e58228083cd41cae23e94
4
- data.tar.gz: 5bc762b3a032fedea0ecd0640fd3d580296171ce12231e6cd6c766ff51622675
3
+ metadata.gz: e148d563fe056a564cbc9165907417c7ace215e889313648ef7188978de6967b
4
+ data.tar.gz: 641d48d8ea5501344b72db29beb2799acf7ffb8711c0b472b31b1cafa670365f
5
5
  SHA512:
6
- metadata.gz: 026e3ef8b7e0cb8b5d243169a8eab6b8be7ca820328456b737fc21862ec8e09f1390e9010891607ed6a4689a8bc075384d51ae6c79aaaf872b5f1f5f50473f42
7
- data.tar.gz: c7817221a6ee496344c4d62e91da663ff2eaf4f7d93a05818460225ce75c069b414eb24248bff1d0979cc57f9c559381053768845ffcfdad7997a9e968aa7d8e
6
+ metadata.gz: 63b7b63b2e1d5a141ae795a628b838bfce9ee31a0d1dbcd8b8d693e776f15195a649f17d16c227f6a1f91dcc45026c499706de5fca14f9a2dc7fea2fa08f9eb4
7
+ data.tar.gz: 2fbf672737a8b1dc3ab33cd1edec06469ec0691c9c30ee23907e9811c1a263ac27293f659440050a5802bd3e1950891a75695e5b29ecc1a90a45515a4c0f5b5e
@@ -16,6 +16,6 @@ jobs:
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
18
  ruby-version: ${{ matrix.ruby }}
19
- bundler-cache: true
19
+ - run: bundle install --jobs 4 --retry 3
20
20
  - name: Run test
21
21
  run: rake test
data/Gemfile CHANGED
@@ -6,4 +6,5 @@ group :development do
6
6
  gem "bundler"
7
7
  gem "rake"
8
8
  gem "test-unit"
9
+ gem "test-unit-ruby-core"
9
10
  end
@@ -497,8 +497,8 @@ module URI
497
497
  ret = {}
498
498
 
499
499
  # for URI::split
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)
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])
@@ -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 ]*\d*[\x09\x0a\x0c\x0d ]*\z/,
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
@@ -1,6 +1,6 @@
1
1
  module URI
2
2
  # :stopdoc:
3
- VERSION_CODE = '001201'.freeze
3
+ VERSION_CODE = '001202'.freeze
4
4
  VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
5
5
  # :startdoc:
6
6
  end
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.1
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-03-28 00:00:00.000000000 Z
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.5.0.dev
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