addressable 2.8.6 → 2.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -0
- data/Rakefile +0 -3
- data/addressable.gemspec +6 -6
- data/lib/addressable/template.rb +1 -1
- data/lib/addressable/uri.rb +1 -1
- data/lib/addressable/version.rb +1 -1
- data/tasks/gem.rake +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b62e368b9dffbec4c9aaf879257067698b83daff1cc13542352da419f3f88e
|
4
|
+
data.tar.gz: 7f3231aecc91ef0c3087ff2325d78e9a1f4c9f05a752f2c35c8f0bb740fd5996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670e1aeddc5a4f62ad39040007cef7371107237b2e4064755355dfbc43cfc62a956f78358c95793a9f55cd325b7b46ce532003bdd9711b1bc3c79b35e0d3cbf6
|
7
|
+
data.tar.gz: d7aed8469d926b0bcdd19202593f8bfa162d9dafb38dabca632ccee8af3fd26920dfbce3f18b674d583f5aaa2e7c51717ccf46fab3a1a4fb4a8dfbd74a80da16
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Rakefile
CHANGED
data/addressable.gemspec
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: addressable 2.8.
|
2
|
+
# stub: addressable 2.8.7 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "addressable".freeze
|
6
|
-
s.version = "2.8.
|
6
|
+
s.version = "2.8.7".freeze
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
-
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.
|
9
|
+
s.metadata = { "changelog_uri" => "https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.7" } if s.respond_to? :metadata=
|
10
10
|
s.require_paths = ["lib".freeze]
|
11
11
|
s.authors = ["Bob Aman".freeze]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2024-06-21"
|
13
13
|
s.description = "Addressable is an alternative implementation to the URI implementation that is\npart of Ruby's standard library. It is flexible, offers heuristic parsing, and\nadditionally provides extensive support for IRIs and URI templates.\n".freeze
|
14
14
|
s.email = "bob@sporkmonger.com".freeze
|
15
15
|
s.extra_rdoc_files = ["README.md".freeze]
|
@@ -18,11 +18,11 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.licenses = ["Apache-2.0".freeze]
|
19
19
|
s.rdoc_options = ["--main".freeze, "README.md".freeze]
|
20
20
|
s.required_ruby_version = Gem::Requirement.new(">= 2.2".freeze)
|
21
|
-
s.rubygems_version = "3.
|
21
|
+
s.rubygems_version = "3.5.11".freeze
|
22
22
|
s.summary = "URI Implementation".freeze
|
23
23
|
|
24
24
|
s.specification_version = 4
|
25
25
|
|
26
|
-
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2".freeze, "<
|
26
|
+
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2".freeze, "< 7.0".freeze])
|
27
27
|
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0".freeze, "< 3.0".freeze])
|
28
28
|
end
|
data/lib/addressable/template.rb
CHANGED
@@ -157,7 +157,7 @@ module Addressable
|
|
157
157
|
# the ::MatchData#[] behavior.
|
158
158
|
#
|
159
159
|
# @param [#to_int, nil] len
|
160
|
-
# If provided, an array of values will be
|
160
|
+
# If provided, an array of values will be returned with the given
|
161
161
|
# parameter used as length.
|
162
162
|
#
|
163
163
|
# @return [Array, String, nil]
|
data/lib/addressable/uri.rb
CHANGED
@@ -1539,7 +1539,7 @@ module Addressable
|
|
1539
1539
|
# Relative paths with colons in the first segment are ambiguous.
|
1540
1540
|
path = path.sub(":", "%2F")
|
1541
1541
|
end
|
1542
|
-
# String#split(
|
1542
|
+
# String#split(delimiter, -1) uses the more strict splitting behavior
|
1543
1543
|
# found by default in Python.
|
1544
1544
|
result = path.strip.split(SLASH, -1).map do |segment|
|
1545
1545
|
Addressable::URI.normalize_component(
|
data/lib/addressable/version.rb
CHANGED
data/tasks/gem.rake
CHANGED
@@ -21,7 +21,7 @@ namespace :gem do
|
|
21
21
|
|
22
22
|
s.required_ruby_version = ">= 2.2"
|
23
23
|
|
24
|
-
s.add_runtime_dependency "public_suffix", ">= 2.0.2", "<
|
24
|
+
s.add_runtime_dependency "public_suffix", ">= 2.0.2", "< 7.0"
|
25
25
|
s.add_development_dependency "bundler", ">= 1.0", "< 3.0"
|
26
26
|
|
27
27
|
s.require_path = "lib"
|
@@ -56,7 +56,7 @@ namespace :gem do
|
|
56
56
|
|
57
57
|
desc "Install the gem"
|
58
58
|
task :install => ["clobber", "gem:package"] do
|
59
|
-
sh "
|
59
|
+
sh "gem install --local ./pkg/#{GEM_SPEC.full_name}.gem"
|
60
60
|
end
|
61
61
|
|
62
62
|
desc "Uninstall the gem"
|
@@ -65,7 +65,7 @@ namespace :gem do
|
|
65
65
|
if installed_list &&
|
66
66
|
(installed_list.collect { |s| s.version.to_s}.include?(PKG_VERSION))
|
67
67
|
sh(
|
68
|
-
"
|
68
|
+
"gem uninstall --version '#{PKG_VERSION}' " +
|
69
69
|
"--ignore-dependencies --executables #{PKG_NAME}"
|
70
70
|
)
|
71
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: addressable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.
|
4
|
+
version: 2.8.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Aman
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: public_suffix
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 2.0.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '7.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 2.0.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '7.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -91,8 +91,8 @@ homepage: https://github.com/sporkmonger/addressable
|
|
91
91
|
licenses:
|
92
92
|
- Apache-2.0
|
93
93
|
metadata:
|
94
|
-
changelog_uri: https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.
|
95
|
-
post_install_message:
|
94
|
+
changelog_uri: https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.8.7
|
95
|
+
post_install_message:
|
96
96
|
rdoc_options:
|
97
97
|
- "--main"
|
98
98
|
- README.md
|
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
|
-
rubygems_version: 3.
|
113
|
-
signing_key:
|
112
|
+
rubygems_version: 3.5.11
|
113
|
+
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: URI Implementation
|
116
116
|
test_files: []
|