Merge pull request #2889 from tbetbetbe/grpc-ruby-cleanup-grpc-gemspec

Corrects the way the gemspec refers to various files
pull/2891/merge
Stanley Cheung 9 years ago
commit 6012a04fef
  1. 13
      src/ruby/grpc.gemspec

@ -16,12 +16,15 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 2.0.0' s.required_ruby_version = '>= 2.0.0'
s.requirements << 'libgrpc ~> 0.10.0 needs to be installed' s.requirements << 'libgrpc ~> 0.10.0 needs to be installed'
s.files = `git ls-files`.split("\n") s.files = %w( Rakefile )
s.test_files = `git ls-files -- spec/*`.split("\n") s.files += Dir.glob('lib/**/*')
s.executables = `git ls-files -- bin/*.rb`.split("\n").map do |f| s.files += Dir.glob('ext/**/*')
File.basename(f) s.files += Dir.glob('bin/**/*')
s.test_files = Dir.glob('spec/**/*')
%w(math noproto).each do |b|
s.executables += [ "#{b}_client.rb", "#{b}_server.rb" ]
end end
s.require_paths = ['lib'] s.require_paths = %w( bin lib )
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.add_dependency 'google-protobuf', '~> 3.0.0alpha.1.1' s.add_dependency 'google-protobuf', '~> 3.0.0alpha.1.1'

Loading…
Cancel
Save