aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ganmacs <ganmacs@gmail.com>2018-05-14 17:52:34 +0900
committerGravatar ganmacs <ganmacs@gmail.com>2018-05-14 18:01:04 +0900
commit61d9a42007a61be9d59fc2e161c59a5ecde32214 (patch)
tree476e0e424695fc3a81e51c5f83e40010936cab30
parent3d3ed790859f7b6f6991fcbe4571a18e2771832c (diff)
Moved pubsub demo_demo to examples directory of ruby
so that grpc does not depends on googleauth gem. This project (pubsub demo) is introduced at [this commit](https://github.com/grpc/grpc/commit/d5d00d5c8fac4495ea42020866feb913c854aa1e#diff-c495642bb64c09cae54f3ccff463bd51) as demo project for grpc with ruby. This demo is awesome. But the position of this project directory seems to be not suitable for demo app. This project added unnecessary gem dependency about googleauth to grpc ruby gem.
-rw-r--r--examples/ruby/grpc-demo.gemspec1
-rw-r--r--examples/ruby/pubsub/google/protobuf/empty.rb (renamed from src/ruby/bin/apis/google/protobuf/empty.rb)0
-rwxr-xr-xexamples/ruby/pubsub/pubsub_demo.rb (renamed from src/ruby/bin/apis/pubsub_demo.rb)0
-rw-r--r--examples/ruby/pubsub/tech/pubsub/proto/pubsub.rb (renamed from src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb)0
-rw-r--r--examples/ruby/pubsub/tech/pubsub/proto/pubsub_services.rb (renamed from src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb)0
5 files changed, 1 insertions, 0 deletions
diff --git a/examples/ruby/grpc-demo.gemspec b/examples/ruby/grpc-demo.gemspec
index 4423fd34d4..c77446249e 100644
--- a/examples/ruby/grpc-demo.gemspec
+++ b/examples/ruby/grpc-demo.gemspec
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.add_dependency 'grpc', '~> 1.0'
+ s.add_dependency 'googleauth', '>= 0.5.1', '< 0.7'
s.add_development_dependency 'bundler', '~> 1.7'
end
diff --git a/src/ruby/bin/apis/google/protobuf/empty.rb b/examples/ruby/pubsub/google/protobuf/empty.rb
index 4743bded3d..4743bded3d 100644
--- a/src/ruby/bin/apis/google/protobuf/empty.rb
+++ b/examples/ruby/pubsub/google/protobuf/empty.rb
diff --git a/src/ruby/bin/apis/pubsub_demo.rb b/examples/ruby/pubsub/pubsub_demo.rb
index c565771d45..c565771d45 100755
--- a/src/ruby/bin/apis/pubsub_demo.rb
+++ b/examples/ruby/pubsub/pubsub_demo.rb
diff --git a/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb b/examples/ruby/pubsub/tech/pubsub/proto/pubsub.rb
index 73a0d5d9e4..73a0d5d9e4 100644
--- a/src/ruby/bin/apis/tech/pubsub/proto/pubsub.rb
+++ b/examples/ruby/pubsub/tech/pubsub/proto/pubsub.rb
diff --git a/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb b/examples/ruby/pubsub/tech/pubsub/proto/pubsub_services.rb
index b34db57b44..b34db57b44 100644
--- a/src/ruby/bin/apis/tech/pubsub/proto/pubsub_services.rb
+++ b/examples/ruby/pubsub/tech/pubsub/proto/pubsub_services.rb