diff options
Diffstat (limited to 'devel/rubygem-cf-uaa-lib/files/patch-gemspec')
-rw-r--r-- | devel/rubygem-cf-uaa-lib/files/patch-gemspec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/rubygem-cf-uaa-lib/files/patch-gemspec b/devel/rubygem-cf-uaa-lib/files/patch-gemspec index 73cd66483075..c11f8341aa44 100644 --- a/devel/rubygem-cf-uaa-lib/files/patch-gemspec +++ b/devel/rubygem-cf-uaa-lib/files/patch-gemspec @@ -1,11 +1,11 @@ ---- cf-uaa-lib.gemspec.orig 2018-01-10 03:35:11 UTC +--- cf-uaa-lib.gemspec.orig 2021-10-25 11:53:11 UTC +++ cf-uaa-lib.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |s| - s.specification_version = 4 + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then -- s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.12.0", ">= 1.12.1"]) -+ s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.12", ">= 1.12.1"]) - s.add_runtime_dependency(%q<httpclient>.freeze, ["~> 2.8", ">= 2.8.2.4"]) - s.add_development_dependency(%q<bundler>.freeze, ["~> 1.14"]) - s.add_development_dependency(%q<rake>.freeze, ["~> 10.3", ">= 10.3.2"]) + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.12.0", ">= 1.12.1"]) ++ s.add_runtime_dependency(%q<multi_json>.freeze, ["~> 1.12", ">= 1.12.1"]) + s.add_runtime_dependency(%q<httpclient>.freeze, ["~> 2.8", ">= 2.8.2.4"]) + s.add_development_dependency(%q<bundler>.freeze, ["~> 1.14"]) + s.add_development_dependency(%q<rake>.freeze, ["~> 10.3", ">= 10.3.2"]) |