diff options
Diffstat (limited to 'devel/rubygem-terrapin/files/patch-gemspec')
-rw-r--r-- | devel/rubygem-terrapin/files/patch-gemspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/rubygem-terrapin/files/patch-gemspec b/devel/rubygem-terrapin/files/patch-gemspec index 70dc6fac9a0f..1f0830aa1de2 100644 --- a/devel/rubygem-terrapin/files/patch-gemspec +++ b/devel/rubygem-terrapin/files/patch-gemspec @@ -1,11 +1,11 @@ ---- terrapin.gemspec.orig 2021-06-28 15:10:17 UTC +--- terrapin.gemspec.orig 2021-10-25 12:04:05 UTC +++ terrapin.gemspec -@@ -22,7 +22,7 @@ Gem::Specification.new do |s| - s.specification_version = 4 +@@ -23,7 +23,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<climate_control>.freeze, [">= 0.0.3", "< 1.0"]) -+ s.add_runtime_dependency(%q<climate_control>.freeze, [">= 0.0.3"]) - s.add_development_dependency(%q<rspec>.freeze, [">= 0"]) - s.add_development_dependency(%q<bourne>.freeze, [">= 0"]) - s.add_development_dependency(%q<mocha>.freeze, [">= 0"]) + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<climate_control>.freeze, [">= 0.0.3", "< 1.0"]) ++ s.add_runtime_dependency(%q<climate_control>.freeze, [">= 0.0.3"]) + s.add_development_dependency(%q<rspec>.freeze, [">= 0"]) + s.add_development_dependency(%q<bourne>.freeze, [">= 0"]) + s.add_development_dependency(%q<mocha>.freeze, [">= 0"]) |