diff options
Diffstat (limited to 'net/rubygem-twitter/files/patch-gemspec')
-rw-r--r-- | net/rubygem-twitter/files/patch-gemspec | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/rubygem-twitter/files/patch-gemspec b/net/rubygem-twitter/files/patch-gemspec index 08eafc6bf9ea..d13703c96edb 100644 --- a/net/rubygem-twitter/files/patch-gemspec +++ b/net/rubygem-twitter/files/patch-gemspec @@ -1,16 +1,16 @@ ---- twitter.gemspec.orig 2021-07-15 21:49:53 UTC +--- twitter.gemspec.orig 2021-10-25 12:13:03 UTC +++ twitter.gemspec -@@ -23,11 +23,11 @@ Gem::Specification.new do |s| +@@ -24,11 +24,11 @@ Gem::Specification.new do |s| - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"]) -- s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2.0"]) -+ s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2"]) - s.add_runtime_dependency(%q<equalizer>.freeze, ["~> 0.0.11"]) - s.add_runtime_dependency(%q<http>.freeze, ["~> 4.0"]) - s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.0"]) -- s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"]) -+ s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6"]) - s.add_runtime_dependency(%q<memoizable>.freeze, ["~> 0.4.0"]) - s.add_runtime_dependency(%q<multipart-post>.freeze, ["~> 2.0"]) - s.add_runtime_dependency(%q<naught>.freeze, ["~> 1.0"]) + if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q<addressable>.freeze, ["~> 2.3"]) +- s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2.0"]) ++ s.add_runtime_dependency(%q<buftok>.freeze, ["~> 0.2"]) + s.add_runtime_dependency(%q<equalizer>.freeze, ["~> 0.0.11"]) + s.add_runtime_dependency(%q<http>.freeze, ["~> 4.0"]) + s.add_runtime_dependency(%q<http-form_data>.freeze, ["~> 2.0"]) +- s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6.0"]) ++ s.add_runtime_dependency(%q<http_parser.rb>.freeze, ["~> 0.6"]) + s.add_runtime_dependency(%q<memoizable>.freeze, ["~> 0.4.0"]) + s.add_runtime_dependency(%q<multipart-post>.freeze, ["~> 2.0"]) + s.add_runtime_dependency(%q<naught>.freeze, ["~> 1.0"]) |