summaryrefslogtreecommitdiff
path: root/net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec')
-rw-r--r--net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec21
1 files changed, 7 insertions, 14 deletions
diff --git a/net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec b/net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec
index 9e7d27e749ba..9d66316d741c 100644
--- a/net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec
+++ b/net/rubygem-kas-grpc/files/patch-kas-grpc.gemspec
@@ -1,18 +1,11 @@
---- kas-grpc.gemspec.orig 2021-11-22 11:08:46 UTC
+--- kas-grpc.gemspec.orig 2022-01-27 10:28:33 UTC
+++ kas-grpc.gemspec
-@@ -20,12 +20,12 @@ Gem::Specification.new do |s|
- s.specification_version = 4
+@@ -21,7 +21,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<grpc>.freeze, ["~> 1.0"])
-+ s.add_runtime_dependency(%q<grpc>.freeze, ["~> 1.42.0.pre1"])
- else
-- s.add_dependency(%q<grpc>.freeze, ["~> 1.0"])
-+ s.add_dependency(%q<grpc>.freeze, ["~> 1.42.0.pre1"])
- end
+ if s.respond_to? :add_runtime_dependency then
+- s.add_runtime_dependency(%q<grpc>.freeze, ["~> 1.0"])
++ s.add_runtime_dependency(%q<grpc>.freeze, ["~> 1.42.0.pre1"])
else
-- s.add_dependency(%q<grpc>.freeze, ["~> 1.0"])
-+ s.add_dependency(%q<grpc>.freeze, ["~> 1.42.0.pre1"])
+ s.add_dependency(%q<grpc>.freeze, ["~> 1.0"])
end
- end
-