diff options
Diffstat (limited to 'devel/rubygem-rubygems-mirror/files/patch-gemspec')
-rw-r--r-- | devel/rubygem-rubygems-mirror/files/patch-gemspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/rubygem-rubygems-mirror/files/patch-gemspec b/devel/rubygem-rubygems-mirror/files/patch-gemspec index 7fa6afae982a..56ea9603b20b 100644 --- a/devel/rubygem-rubygems-mirror/files/patch-gemspec +++ b/devel/rubygem-rubygems-mirror/files/patch-gemspec @@ -1,11 +1,11 @@ ---- rubygems-mirror.gemspec.orig 2018-06-02 21:27:45 UTC +--- rubygems-mirror.gemspec.orig 2021-10-25 12:01:16 UTC +++ rubygems-mirror.gemspec -@@ -23,7 +23,7 @@ Gem::Specification.new do |s| - s.specification_version = 4 +@@ -24,7 +24,7 @@ Gem::Specification.new do |s| + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then -- s.add_runtime_dependency(%q<net-http-persistent>.freeze, ["~> 2.9"]) -+ s.add_runtime_dependency(%q<net-http-persistent>.freeze, [">= 2.9"]) - s.add_development_dependency(%q<minitest>.freeze, ["~> 5.7"]) - s.add_development_dependency(%q<rdoc>.freeze, [">= 4.0", "< 6"]) - s.add_development_dependency(%q<hoe>.freeze, ["~> 3.17"]) + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<net-http-persistent>.freeze, ["~> 2.9"]) ++ s.add_runtime_dependency(%q<net-http-persistent>.freeze, [">= 2.9"]) + s.add_development_dependency(%q<minitest>.freeze, ["~> 5.7"]) + s.add_development_dependency(%q<rdoc>.freeze, ["< 7", ">= 4.0"]) + s.add_development_dependency(%q<hoe>.freeze, ["~> 3.17"]) |