|
|
@ -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' |
|
|
|