From 7b279c9e09e1d27a385b7400842622b03a60c5bb Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Sun, 20 Feb 2022 12:13:41 +0000 Subject: devel/ruby-gems: Update to 3.3.7 These are fixes Ruby 3.0 Changes were compiled against all dependencies of devel/ruby-gems and they all built cleanly. There are five known build failures, all prexisting: * devel/rubygem-xdg5: requires Ruby 3.0 * devel/rubygem-xdg: requires Ruby 3.1 * graphics/rubygem-objectdetect: port explicitly marked broken * mail/rubygem-tmail: port explicitly marked broken * science/cdcl: marked broken, unfetchable Plus, science/rubygem-ruby-dcl gets skipped because of science/cdcl PR: 258108 Approved by: ruby (zi@) --- .../files/patch-riemann-client.gemspec | 33 ++++++---------------- 1 file changed, 9 insertions(+), 24 deletions(-) (limited to 'net-mgmt/rubygem-riemann-client/files/patch-riemann-client.gemspec') diff --git a/net-mgmt/rubygem-riemann-client/files/patch-riemann-client.gemspec b/net-mgmt/rubygem-riemann-client/files/patch-riemann-client.gemspec index da34ca64d4ba..e0126dc98147 100644 --- a/net-mgmt/rubygem-riemann-client/files/patch-riemann-client.gemspec +++ b/net-mgmt/rubygem-riemann-client/files/patch-riemann-client.gemspec @@ -1,26 +1,11 @@ ---- riemann-client.gemspec.orig 2018-12-12 11:07:07 UTC +--- riemann-client.gemspec.orig 2021-10-25 13:35:50 UTC +++ riemann-client.gemspec -@@ -25,20 +25,20 @@ Gem::Specification.new do |s| - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q.freeze, [">= 1.3"]) - s.add_development_dependency(%q.freeze, [">= 0"]) -- s.add_runtime_dependency(%q.freeze, [">= 0.3.5", "<= 1.0.0"]) -+ s.add_runtime_dependency(%q.freeze, [">= 1.2.0"]) - s.add_runtime_dependency(%q.freeze, [">= 1.16.2"]) - s.add_runtime_dependency(%q.freeze, [">= 0.0.4"]) - else - s.add_dependency(%q.freeze, [">= 1.3"]) - s.add_dependency(%q.freeze, [">= 0"]) -- s.add_dependency(%q.freeze, [">= 0.3.5", "<= 1.0.0"]) -+ s.add_dependency(%q.freeze, [">= 1.2.0"]) - s.add_dependency(%q.freeze, [">= 1.16.2"]) - s.add_dependency(%q.freeze, [">= 0.0.4"]) - end +@@ -26,7 +26,7 @@ Gem::Specification.new do |s| + if s.respond_to? :add_runtime_dependency then + s.add_development_dependency(%q.freeze, [">= 1.3"]) + s.add_development_dependency(%q.freeze, [">= 0"]) +- s.add_runtime_dependency(%q.freeze, [">= 0.3.5", "<= 1.0.0"]) ++ s.add_runtime_dependency(%q.freeze, [">= 1.2.0"]) + s.add_runtime_dependency(%q.freeze, [">= 1.16.2"]) + s.add_runtime_dependency(%q.freeze, [">= 0.0.4"]) else - s.add_dependency(%q.freeze, [">= 1.3"]) - s.add_dependency(%q.freeze, [">= 0"]) -- s.add_dependency(%q.freeze, [">= 0.3.5", "<= 1.0.0"]) -+ s.add_dependency(%q.freeze, [">= 1.2.0"]) - s.add_dependency(%q.freeze, [">= 1.16.2"]) - s.add_dependency(%q.freeze, [">= 0.0.4"]) - end -- cgit v1.2.3