Fixed the google-protobuf

pull/36215/head
Esun Kim 8 months ago
parent 4e20171677
commit 171a6d63bc
  1. 2
      grpc.gemspec
  2. 5
      templates/grpc.gemspec.template

2
grpc.gemspec generated

@ -30,7 +30,7 @@ Gem::Specification.new do |s|
s.require_paths = %w( src/ruby/lib src/ruby/bin src/ruby/pb )
s.platform = Gem::Platform::RUBY
s.add_dependency 'google-protobuf', '~> 4.26'
s.add_dependency 'google-protobuf', '~> 3.25'
s.add_dependency 'googleapis-common-protos-types', '~> 1.0'
s.add_development_dependency 'bundler', '>= 1.9'

@ -32,7 +32,10 @@
s.require_paths = %w( src/ruby/lib src/ruby/bin src/ruby/pb )
s.platform = Gem::Platform::RUBY
s.add_dependency 'google-protobuf', '~> 4.${settings.protobuf_version.split(".")[1]}'
## Once protobuf 4.x is working with other dependencies,
## please replace the following fixed 3.25 version with
## '~> 4.${settings.protobuf_version.split(".")[1]}'
s.add_dependency 'google-protobuf', '~> 3.25'
s.add_dependency 'googleapis-common-protos-types', '~> 1.0'
s.add_development_dependency 'bundler', '>= 1.9'

Loading…
Cancel
Save