Fixes bins in the grpc beta package

pull/3475/head
Tim Emiola 10 years ago
parent e748cd6ccc
commit c03138a483
  1. 2
      src/ruby/bin/math_server.rb
  2. 2
      src/ruby/bin/noproto_server.rb
  3. 5
      src/ruby/grpc.gemspec
  4. 2
      src/ruby/pb/test/server.rb

@ -195,7 +195,7 @@ def main
s.add_http2_port(options['host'], test_server_creds)
GRPC.logger.info("... running securely on #{options['host']}")
else
s.add_http2_port(options['host'])
s.add_http2_port(options['host'], :this_port_is_insecure)
GRPC.logger.info("... running insecurely on #{options['host']}")
end

@ -101,7 +101,7 @@ def main
s.add_http2_port(options['host'], test_server_creds)
GRPC.logger.info("... running securely on #{options['host']}")
else
s.add_http2_port(options['host'])
s.add_http2_port(options['host'], :this_port_is_insecure)
GRPC.logger.info("... running insecurely on #{options['host']}")
end

@ -17,9 +17,10 @@ Gem::Specification.new do |s|
s.requirements << 'libgrpc ~> 0.11.0 needs to be installed'
s.files = %w( Rakefile )
s.files += Dir.glob('lib/**/*')
s.files += Dir.glob('ext/**/*')
s.files += Dir.glob('bin/**/*')
s.files += Dir.glob('ext/**/*')
s.files += Dir.glob('lib/**/*')
s.files += Dir.glob('pb/**/*')
s.test_files = Dir.glob('spec/**/*')
%w(math noproto).each do |b|
s.executables += ["#{b}_client.rb", "#{b}_server.rb"]

@ -187,7 +187,7 @@ def main
s.add_http2_port(host, test_server_creds)
GRPC.logger.info("... running securely on #{host}")
else
s.add_http2_port(host)
s.add_http2_port(host, :this_port_is_insecure)
GRPC.logger.info("... running insecurely on #{host}")
end
s.handle(TestTarget)

Loading…
Cancel
Save