mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.8 KiB
49 lines
1.8 KiB
10 years ago
|
# -*- ruby -*-
|
||
10 years ago
|
# encoding: utf-8
|
||
9 years ago
|
$LOAD_PATH.push File.expand_path('../src/ruby/lib', __FILE__)
|
||
10 years ago
|
require 'grpc/version'
|
||
|
|
||
|
Gem::Specification.new do |s|
|
||
10 years ago
|
s.name = 'grpc'
|
||
10 years ago
|
s.version = GRPC::VERSION
|
||
10 years ago
|
s.authors = ['gRPC Authors']
|
||
10 years ago
|
s.email = 'temiola@google.com'
|
||
10 years ago
|
s.homepage = 'https://github.com/google/grpc/tree/master/src/ruby'
|
||
10 years ago
|
s.summary = 'GRPC system in Ruby'
|
||
|
s.description = 'Send RPCs from Ruby using GRPC'
|
||
10 years ago
|
s.license = 'BSD-3-Clause'
|
||
10 years ago
|
|
||
10 years ago
|
s.required_ruby_version = '>= 2.0.0'
|
||
9 years ago
|
s.requirements << 'libgrpc ~> 0.11.0 needs to be installed'
|
||
10 years ago
|
|
||
9 years ago
|
s.files = %w( Rakefile Makefile )
|
||
|
s.files += Dir.glob('src/ruby/bin/**/*')
|
||
|
s.files += Dir.glob('src/ruby/ext/**/*')
|
||
|
s.files += Dir.glob('src/ruby/lib/**/*')
|
||
|
s.files += Dir.glob('src/ruby/pb/**/*')
|
||
|
s.files += Dir.glob('include/grpc/**/*')
|
||
|
s.files += Dir.glob('src/core/**/*')
|
||
|
s.test_files = Dir.glob('src/ruby/spec/**/*')
|
||
|
s.bindir = 'src/ruby/bin'
|
||
9 years ago
|
%w(math noproto).each do |b|
|
||
9 years ago
|
s.executables += ["#{b}_client.rb", "#{b}_server.rb"]
|
||
10 years ago
|
end
|
||
9 years ago
|
s.executables += %w(grpc_ruby_interop_client grpc_ruby_interop_server)
|
||
9 years ago
|
s.require_paths = %w( src/ruby/bin src/ruby/lib src/ruby/pb )
|
||
10 years ago
|
s.platform = Gem::Platform::RUBY
|
||
|
|
||
10 years ago
|
s.add_dependency 'google-protobuf', '~> 3.0.0alpha.1.1'
|
||
9 years ago
|
s.add_dependency 'googleauth', '~> 0.4'
|
||
10 years ago
|
|
||
10 years ago
|
s.add_development_dependency 'bundler', '~> 1.9'
|
||
9 years ago
|
s.add_development_dependency 'logging', '~> 2.0'
|
||
|
s.add_development_dependency 'simplecov', '~> 0.9'
|
||
10 years ago
|
s.add_development_dependency 'rake', '~> 10.4'
|
||
|
s.add_development_dependency 'rake-compiler', '~> 0.9'
|
||
|
s.add_development_dependency 'rspec', '~> 3.2'
|
||
10 years ago
|
s.add_development_dependency 'rubocop', '~> 0.30.0'
|
||
9 years ago
|
s.add_development_dependency 'signet', '~>0.6.0'
|
||
10 years ago
|
|
||
9 years ago
|
s.extensions = %w(src/ruby/ext/grpc/extconf.rb)
|
||
10 years ago
|
end
|