aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/ruby/grpc-demo.gemspec
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-08-27 16:07:46 -0700
committerGravatar Julien Boeuf <jboeuf@google.com>2015-08-27 16:07:46 -0700
commit459faf3821b74329f5f1debdba21abe03e3a6e74 (patch)
tree2046a5d7f4f119f0770154393c4308394f26f19b /examples/ruby/grpc-demo.gemspec
parent35b559f6f7e4e6410613632bbfe3f2ab84073feb (diff)
parent1029e7049cea55a8880b8fe9167bd3f0e483b037 (diff)
Merge branch 'master' of github.com:grpc/grpc into cpp_auth_md_processor
Diffstat (limited to 'examples/ruby/grpc-demo.gemspec')
-rw-r--r--examples/ruby/grpc-demo.gemspec23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/ruby/grpc-demo.gemspec b/examples/ruby/grpc-demo.gemspec
new file mode 100644
index 0000000000..2cc1eb8f41
--- /dev/null
+++ b/examples/ruby/grpc-demo.gemspec
@@ -0,0 +1,23 @@
+# -*- ruby -*-
+# encoding: utf-8
+
+Gem::Specification.new do |s|
+ s.name = 'grpc-demo'
+ s.version = '0.5.0'
+ s.authors = ['gRPC Authors']
+ s.email = 'temiola@google.com'
+ s.homepage = 'https://github.com/grpc/grpc'
+ s.summary = 'gRPC Ruby overview sample'
+ s.description = 'Simple demo of using gRPC from Ruby'
+
+ s.files = `git ls-files -- ruby/*`.split("\n")
+ s.executables = `git ls-files -- ruby/greeter*.rb ruby/route_guide/*.rb`.split("\n").map do |f|
+ File.basename(f)
+ end
+ s.require_paths = ['lib']
+ s.platform = Gem::Platform::RUBY
+
+ s.add_dependency 'grpc', '~> 0.6'
+
+ s.add_development_dependency 'bundler', '~> 1.7'
+end