uri 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +8 -4
- data/lib/uri/generic.rb +7 -8
- 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: c29481905b99ec405086769e5fce6c32539064d0a2917b23d4dddd8419e4db0d
|
4
|
+
data.tar.gz: 5bbfeac4e030df131451c4847132e360d48f76f9d1e4344f8eba92dd6a07d8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da33d741be44959eeb82c761c53a6d4a9483554d08be0ef0939ee146d991aa1117d0d89d3c917ee1ed2b44d39c03cc465de71cb556d24861ffb907053b013034
|
7
|
+
data.tar.gz: 347fc502d30a10cb3f24dc06945780c625dde86737c48e904cff913726385c5a54e5ae0ba8e8036e3c3f1457f8003eea8b7fffe44dd6f3f4481d0ed563fd3289
|
data/.github/workflows/test.yml
CHANGED
@@ -7,16 +7,20 @@ jobs:
|
|
7
7
|
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [ '3.0', 2.7, 2.6, 2.5, 2.4, head ]
|
10
|
+
ruby: [ 3.1, '3.0', 2.7, 2.6, 2.5, 2.4, head, truffleruby ]
|
11
11
|
os: [ ubuntu-latest, macos-latest ]
|
12
|
+
exclude:
|
13
|
+
- ruby: 2.4
|
14
|
+
os: macos-latest
|
15
|
+
- ruby: 2.5
|
16
|
+
os: macos-latest
|
12
17
|
runs-on: ${{ matrix.os }}
|
13
18
|
steps:
|
14
|
-
- uses: actions/checkout@
|
19
|
+
- uses: actions/checkout@v3
|
15
20
|
- name: Set up Ruby
|
16
21
|
uses: ruby/setup-ruby@v1
|
17
22
|
with:
|
18
23
|
ruby-version: ${{ matrix.ruby }}
|
19
|
-
-
|
20
|
-
run: bundle install
|
24
|
+
- run: bundle install --jobs 4 --retry 3
|
21
25
|
- name: Run test
|
22
26
|
run: rake test
|
data/lib/uri/generic.rb
CHANGED
@@ -1123,17 +1123,16 @@ module URI
|
|
1123
1123
|
base.fragment=(nil)
|
1124
1124
|
|
1125
1125
|
# RFC2396, Section 5.2, 4)
|
1126
|
-
if
|
1127
|
-
base.
|
1128
|
-
|
1129
|
-
|
1130
|
-
base.set_path(rel.path)
|
1126
|
+
if authority
|
1127
|
+
base.set_userinfo(rel.userinfo)
|
1128
|
+
base.set_host(rel.host)
|
1129
|
+
base.set_port(rel.port || base.default_port)
|
1130
|
+
base.set_path(rel.path)
|
1131
|
+
elsif base.path && rel.path
|
1132
|
+
base.set_path(merge_path(base.path, rel.path))
|
1131
1133
|
end
|
1132
1134
|
|
1133
1135
|
# RFC2396, Section 5.2, 7)
|
1134
|
-
base.set_userinfo(rel.userinfo) if rel.userinfo
|
1135
|
-
base.set_host(rel.host) if rel.host
|
1136
|
-
base.set_port(rel.port) if rel.port
|
1137
1136
|
base.query = rel.query if rel.query
|
1138
1137
|
base.fragment=(rel.fragment) if rel.fragment
|
1139
1138
|
|
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.11.
|
4
|
+
version: 0.11.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akira Yamada
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-26 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:
|
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
rubygems_version: 3.
|
66
|
+
rubygems_version: 3.4.19
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: URI is a module providing classes to handle Uniform Resource Identifiers
|