Skip to content

Commit

Permalink
Loosen public suffix restriction to allow version 5.0 (#460)
Browse files Browse the repository at this point in the history
public_suffix 5.0 was just released.  It includes updated definitions, and is restricted to Ruby 2.6+.

Loosening this restriction allows addressable to use the latest version of public_suffix when loaded with a supported Ruby.

Co-authored-by: Patrik Ragnarsson <patrik@starkast.net>
  • Loading branch information
petergoldstein and dentarg committed Jul 25, 2022
1 parent f4bee65 commit d2df5e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addressable.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ Gem::Specification.new do |s|
s.specification_version = 4

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
s.add_runtime_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
s.add_development_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
else
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
s.add_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
end
else
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 5.0"])
s.add_dependency(%q<public_suffix>.freeze, [">= 2.0.2", "< 6.0"])
s.add_dependency(%q<bundler>.freeze, [">= 1.0", "< 3.0"])
end
end

0 comments on commit d2df5e8

Please sign in to comment.