diff options
Diffstat (limited to 'www/rubygem-octopress/files/patch-gemspec')
-rw-r--r-- | www/rubygem-octopress/files/patch-gemspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/www/rubygem-octopress/files/patch-gemspec b/www/rubygem-octopress/files/patch-gemspec index 721995ef0302..56af227859f9 100644 --- a/www/rubygem-octopress/files/patch-gemspec +++ b/www/rubygem-octopress/files/patch-gemspec @@ -1,11 +1,11 @@ ---- octopress.gemspec.orig 2020-01-19 08:56:10 UTC +--- octopress.gemspec.orig 2021-11-01 12:23:29 UTC +++ octopress.gemspec -@@ -21,7 +21,7 @@ Gem::Specification.new do |s| - s.specification_version = 4 +@@ -22,7 +22,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<mercenary>.freeze, ["~> 0.3.2"]) -+ s.add_runtime_dependency(%q<mercenary>.freeze, ["~> 0.3", ">= 0.3.2"]) - s.add_runtime_dependency(%q<jekyll>.freeze, [">= 2.0"]) - s.add_runtime_dependency(%q<titlecase>.freeze, [">= 0"]) - s.add_runtime_dependency(%q<octopress-deploy>.freeze, [">= 0"]) + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<mercenary>.freeze, ["~> 0.3.2"]) ++ s.add_runtime_dependency(%q<mercenary>.freeze, ["~> 0.3", ">= 0.3.2"]) + s.add_runtime_dependency(%q<jekyll>.freeze, [">= 2.0"]) + s.add_runtime_dependency(%q<titlecase>.freeze, [">= 0"]) + s.add_runtime_dependency(%q<octopress-deploy>.freeze, [">= 0"]) |