diff options
Diffstat (limited to 'devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec')
-rw-r--r-- | devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec b/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec index 873a9d87663b..cc44009f3458 100644 --- a/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec +++ b/devel/rubygem-chronic_duration/files/patch-chronic__duration.gemspec @@ -1,11 +1,11 @@ ---- chronic_duration.gemspec.orig 2016-07-27 10:38:00 UTC +--- chronic_duration.gemspec.orig 2021-10-25 12:33:02 UTC +++ chronic_duration.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<numerizer>.freeze, ["~> 0.1.1"]) -+ s.add_runtime_dependency(%q<numerizer>.freeze, [">= 0.1.1"]) - s.add_development_dependency(%q<rake>.freeze, ["~> 10.0.3"]) - s.add_development_dependency(%q<rspec>.freeze, ["~> 2.12.0"]) - else + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<numerizer>.freeze, ["~> 0.1.1"]) ++ s.add_runtime_dependency(%q<numerizer>.freeze, [">= 0.1.1"]) + s.add_development_dependency(%q<rake>.freeze, ["~> 10.0.3"]) + s.add_development_dependency(%q<rspec>.freeze, ["~> 2.12.0"]) + else |