Merge pull request #3475 from tbetbetbe/release-0_11

Fixes for the scripts packaged in the ruby gem
pull/3478/head
Stanley Cheung 10 years ago
commit 495ad778e1
  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/lib/grpc/version.rb
  5. 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"]

@ -29,5 +29,5 @@
# GRPC contains the General RPC module.
module GRPC
VERSION = '0.11.0'
VERSION = '0.11.1'
end

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