diff options
author | 2015-09-24 13:11:03 -0700 | |
---|---|---|
committer | 2015-09-24 13:11:03 -0700 | |
commit | c03138a4832e9b12560d4a0af427f344945cfc34 (patch) | |
tree | 3295a3e30409f79601d448054320bb2a943bbe66 /src | |
parent | e748cd6ccc94e521fa9f1d273a5cb4eacae0cd76 (diff) |
Fixes bins in the grpc beta package
Diffstat (limited to 'src')
-rwxr-xr-x | src/ruby/bin/math_server.rb | 2 | ||||
-rwxr-xr-x | src/ruby/bin/noproto_server.rb | 2 | ||||
-rwxr-xr-x | src/ruby/grpc.gemspec | 5 | ||||
-rwxr-xr-x | src/ruby/pb/test/server.rb | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/src/ruby/bin/math_server.rb b/src/ruby/bin/math_server.rb index 562f197317..1ee4c5632d 100755 --- a/src/ruby/bin/math_server.rb +++ b/src/ruby/bin/math_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 diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb index 72a5762040..66554e26f6 100755 --- a/src/ruby/bin/noproto_server.rb +++ b/src/ruby/bin/noproto_server.rb @@ -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 diff --git a/src/ruby/grpc.gemspec b/src/ruby/grpc.gemspec index 093606bb8b..61cf18cf54 100755 --- a/src/ruby/grpc.gemspec +++ b/src/ruby/grpc.gemspec @@ -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"] diff --git a/src/ruby/pb/test/server.rb b/src/ruby/pb/test/server.rb index a311bb76e6..32934f70ad 100755 --- a/src/ruby/pb/test/server.rb +++ b/src/ruby/pb/test/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) |