diff options
Diffstat (limited to 'textproc/rubygem-html2text/files/patch-gemspec')
-rw-r--r-- | textproc/rubygem-html2text/files/patch-gemspec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/textproc/rubygem-html2text/files/patch-gemspec b/textproc/rubygem-html2text/files/patch-gemspec index d0fa75f2b8fb..922588607ec9 100644 --- a/textproc/rubygem-html2text/files/patch-gemspec +++ b/textproc/rubygem-html2text/files/patch-gemspec @@ -1,11 +1,11 @@ ---- html2text.gemspec.orig 2021-07-19 20:02:19 UTC +--- html2text.gemspec.orig 2021-10-27 13:50:21 UTC +++ html2text.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<nokogiri>.freeze, ["~> 1.10.3"]) -+ s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10", ">= 1.10.3"]) - s.add_development_dependency(%q<rspec>.freeze, [">= 0"]) - s.add_development_dependency(%q<rspec-collection_matchers>.freeze, [">= 0"]) - s.add_development_dependency(%q<colorize>.freeze, [">= 0"]) + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10.3"]) ++ s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.10", ">= 1.10.3"]) + s.add_development_dependency(%q<rspec>.freeze, [">= 0"]) + s.add_development_dependency(%q<rspec-collection_matchers>.freeze, [">= 0"]) + s.add_development_dependency(%q<colorize>.freeze, [">= 0"]) |