Skip to content
Snippets Groups Projects
Commit 495ad778 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

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

Fixes for the scripts packaged in the ruby gem
parents 5d776c7e 0deeb04a
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,7 @@ def main ...@@ -195,7 +195,7 @@ def main
s.add_http2_port(options['host'], test_server_creds) s.add_http2_port(options['host'], test_server_creds)
GRPC.logger.info("... running securely on #{options['host']}") GRPC.logger.info("... running securely on #{options['host']}")
else 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']}") GRPC.logger.info("... running insecurely on #{options['host']}")
end end
......
...@@ -101,7 +101,7 @@ def main ...@@ -101,7 +101,7 @@ def main
s.add_http2_port(options['host'], test_server_creds) s.add_http2_port(options['host'], test_server_creds)
GRPC.logger.info("... running securely on #{options['host']}") GRPC.logger.info("... running securely on #{options['host']}")
else 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']}") GRPC.logger.info("... running insecurely on #{options['host']}")
end end
......
...@@ -17,9 +17,10 @@ Gem::Specification.new do |s| ...@@ -17,9 +17,10 @@ Gem::Specification.new do |s|
s.requirements << 'libgrpc ~> 0.11.0 needs to be installed' s.requirements << 'libgrpc ~> 0.11.0 needs to be installed'
s.files = %w( Rakefile ) s.files = %w( Rakefile )
s.files += Dir.glob('lib/**/*')
s.files += Dir.glob('ext/**/*')
s.files += Dir.glob('bin/**/*') 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/**/*') s.test_files = Dir.glob('spec/**/*')
%w(math noproto).each do |b| %w(math noproto).each do |b|
s.executables += ["#{b}_client.rb", "#{b}_server.rb"] s.executables += ["#{b}_client.rb", "#{b}_server.rb"]
......
...@@ -29,5 +29,5 @@ ...@@ -29,5 +29,5 @@
# GRPC contains the General RPC module. # GRPC contains the General RPC module.
module GRPC module GRPC
VERSION = '0.11.0' VERSION = '0.11.1'
end end
...@@ -187,7 +187,7 @@ def main ...@@ -187,7 +187,7 @@ def main
s.add_http2_port(host, test_server_creds) s.add_http2_port(host, test_server_creds)
GRPC.logger.info("... running securely on #{host}") GRPC.logger.info("... running securely on #{host}")
else else
s.add_http2_port(host) s.add_http2_port(host, :this_port_is_insecure)
GRPC.logger.info("... running insecurely on #{host}") GRPC.logger.info("... running insecurely on #{host}")
end end
s.handle(TestTarget) s.handle(TestTarget)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment