aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin
diff options
context:
space:
mode:
authorGravatar temiola <temiola@google.com>2014-12-11 11:23:37 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2014-12-11 15:11:44 -0800
commit4a3be1c996e3a0a79cebb0bb33196b7c6860a334 (patch)
tree300c64fc01484957c8a6911083c36837443a7253 /src/ruby/bin
parent4eec017e8e3ba501d1b90f2131a1ff4f3df77de0 (diff)
Update modules and packages to allow for a single grpc import
- ensured tests only need to do 'require grpc' - ensured that the example math_server and math_client only need to do 'require grpc' - ensured that the other other client and servers only need to do one thing Change on 2014/12/11 by temiola <temiola@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=81894613
Diffstat (limited to 'src/ruby/bin')
-rw-r--r--src/ruby/bin/interop/interop_client.rb2
-rw-r--r--src/ruby/bin/interop/interop_server.rb2
-rw-r--r--src/ruby/bin/math_client.rb2
-rw-r--r--src/ruby/bin/math_server.rb2
-rw-r--r--src/ruby/bin/noproto_client.rb2
-rw-r--r--src/ruby/bin/noproto_server.rb2
6 files changed, 0 insertions, 12 deletions
diff --git a/src/ruby/bin/interop/interop_client.rb b/src/ruby/bin/interop/interop_client.rb
index 309dd337ec..92203ce252 100644
--- a/src/ruby/bin/interop/interop_client.rb
+++ b/src/ruby/bin/interop/interop_client.rb
@@ -47,8 +47,6 @@ require 'minitest'
require 'minitest/assertions'
require 'grpc'
-require 'grpc/generic/client_stub'
-require 'grpc/generic/service'
require 'third_party/stubby/testing/proto/test.pb'
require 'third_party/stubby/testing/proto/messages.pb'
diff --git a/src/ruby/bin/interop/interop_server.rb b/src/ruby/bin/interop/interop_server.rb
index 9e5c20d443..35d69f6fd3 100644
--- a/src/ruby/bin/interop/interop_server.rb
+++ b/src/ruby/bin/interop/interop_server.rb
@@ -46,8 +46,6 @@ require 'forwardable'
require 'optparse'
require 'grpc'
-require 'grpc/generic/service'
-require 'grpc/generic/rpc_server'
require 'third_party/stubby/testing/proto/test.pb'
require 'third_party/stubby/testing/proto/messages.pb'
diff --git a/src/ruby/bin/math_client.rb b/src/ruby/bin/math_client.rb
index 947e86adf9..8a62764c08 100644
--- a/src/ruby/bin/math_client.rb
+++ b/src/ruby/bin/math_client.rb
@@ -40,8 +40,6 @@ $LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
$LOAD_PATH.unshift(this_dir) unless $LOAD_PATH.include?(this_dir)
require 'grpc'
-require 'grpc/generic/client_stub'
-require 'grpc/generic/service'
require 'math.pb'
require 'optparse'
diff --git a/src/ruby/bin/math_server.rb b/src/ruby/bin/math_server.rb
index d21ae7ee27..ed39144d7a 100644
--- a/src/ruby/bin/math_server.rb
+++ b/src/ruby/bin/math_server.rb
@@ -41,8 +41,6 @@ $LOAD_PATH.unshift(this_dir) unless $LOAD_PATH.include?(this_dir)
require 'forwardable'
require 'grpc'
-require 'grpc/generic/service'
-require 'grpc/generic/rpc_server'
require 'math.pb'
require 'optparse'
diff --git a/src/ruby/bin/noproto_client.rb b/src/ruby/bin/noproto_client.rb
index fbd10a06b5..29ed6d9f7c 100644
--- a/src/ruby/bin/noproto_client.rb
+++ b/src/ruby/bin/noproto_client.rb
@@ -37,8 +37,6 @@ lib_dir = File.join(File.dirname(this_dir), 'lib')
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
require 'grpc'
-require 'grpc/generic/client_stub'
-require 'grpc/generic/service'
class EchoMsg
def marshal
diff --git a/src/ruby/bin/noproto_server.rb b/src/ruby/bin/noproto_server.rb
index c5b7c192eb..7b74fa13ec 100644
--- a/src/ruby/bin/noproto_server.rb
+++ b/src/ruby/bin/noproto_server.rb
@@ -37,8 +37,6 @@ lib_dir = File.join(File.dirname(this_dir), 'lib')
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
require 'grpc'
-require 'grpc/generic/rpc_server'
-require 'grpc/generic/service'
class EchoMsg
def marshal