-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New runtime dependency on `public_suffix` gem. * Match the escaping rules in the `reg-name` rule. * Note: This implies underscores are no longer escaped in hostnames.
- Loading branch information
1 parent
8d040f6
commit f032606
Showing
5 changed files
with
115 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,37 @@ | ||
# -*- encoding: utf-8 -*- | ||
# stub: addressable 2.4.0 ruby lib | ||
# stub: addressable 2.5.0 ruby lib | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "addressable" | ||
s.version = "2.4.0" | ||
s.version = "2.5.0" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.require_paths = ["lib"] | ||
s.authors = ["Bob Aman"] | ||
s.date = "2015-12-07" | ||
s.date = "2016-11-04" | ||
s.description = "Addressable is a replacement for the URI implementation that is part of\nRuby's standard library. It more closely conforms to the relevant RFCs and\nadds support for IRIs and URI templates.\n" | ||
s.email = "bob@sporkmonger.com" | ||
s.extra_rdoc_files = ["README.md"] | ||
s.files = ["CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "addressable.gemspec", "data/unicode.data", "lib/addressable.rb", "lib/addressable/idna.rb", "lib/addressable/idna/native.rb", "lib/addressable/idna/pure.rb", "lib/addressable/template.rb", "lib/addressable/uri.rb", "lib/addressable/version.rb", "spec/addressable/idna_spec.rb", "spec/addressable/net_http_compat_spec.rb", "spec/addressable/rack_mount_compat_spec.rb", "spec/addressable/security_spec.rb", "spec/addressable/template_spec.rb", "spec/addressable/uri_spec.rb", "spec/spec_helper.rb", "tasks/clobber.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/metrics.rake", "tasks/rspec.rake", "tasks/yard.rake"] | ||
s.files = ["CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "data/unicode.data", "lib/addressable", "lib/addressable.rb", "lib/addressable/idna", "lib/addressable/idna.rb", "lib/addressable/idna/native.rb", "lib/addressable/idna/pure.rb", "lib/addressable/template.rb", "lib/addressable/uri.rb", "lib/addressable/version.rb", "spec/addressable", "spec/addressable/idna_spec.rb", "spec/addressable/net_http_compat_spec.rb", "spec/addressable/rack_mount_compat_spec.rb", "spec/addressable/security_spec.rb", "spec/addressable/template_spec.rb", "spec/addressable/uri_spec.rb", "spec/spec_helper.rb", "tasks/clobber.rake", "tasks/gem.rake", "tasks/git.rake", "tasks/metrics.rake", "tasks/rspec.rake", "tasks/yard.rake"] | ||
s.homepage = "https://github.com/sporkmonger/addressable" | ||
s.licenses = ["Apache-2.0"] | ||
s.rdoc_options = ["--main", "README.md"] | ||
s.required_ruby_version = Gem::Requirement.new(">= 1.9.0") | ||
s.rubygems_version = "2.5.0" | ||
s.rubygems_version = "2.5.1" | ||
s.summary = "URI Implementation" | ||
|
||
if s.respond_to? :specification_version then | ||
s.specification_version = 4 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<public_suffix>, [">= 2.0.3", "~> 2.0"]) | ||
s.add_development_dependency(%q<bundler>, ["~> 1.0"]) | ||
else | ||
s.add_dependency(%q<public_suffix>, [">= 2.0.3", "~> 2.0"]) | ||
s.add_dependency(%q<bundler>, ["~> 1.0"]) | ||
end | ||
else | ||
s.add_dependency(%q<public_suffix>, [">= 2.0.3", "~> 2.0"]) | ||
s.add_dependency(%q<bundler>, ["~> 1.0"]) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 comments
on commit f032606
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sporkmonger This change means addressable (and any gems depending on it) will only work with ruby 2.0+ - is that intentional? (At the moment the travis build for ruby 1.9 is failing because of that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It wasn't entirely intentional, but a number of development dependencies have also dropped support for 1.9, so it simplifies a number of things.
@sporkmonger FYI
PublicSuffix
2.x requires Ruby 2.x, whereas I see addressable still provides 1.9 compatibility.However, 1.9 users will experience a crash trying to execute this line, as it uses Ruby 2.x keyword arguments.