Tim Emiola | 3306139 | 2015-01-29 16:19:25 -0800 | [diff] [blame] | 1 | # -*- ruby -*- |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 2 | # encoding: utf-8 |
Tim Emiola | e2860c5 | 2015-01-16 02:58:41 -0800 | [diff] [blame] | 3 | $LOAD_PATH.push File.expand_path('../lib', __FILE__) |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 4 | require 'grpc/version' |
| 5 | |
| 6 | Gem::Specification.new do |s| |
Tim Emiola | e2860c5 | 2015-01-16 02:58:41 -0800 | [diff] [blame] | 7 | s.name = 'grpc' |
Tim Emiola | c33efe4 | 2015-02-19 09:39:49 -0800 | [diff] [blame] | 8 | s.version = GRPC::VERSION |
Tim Emiola | 5d11c1a | 2015-01-22 18:39:34 -0800 | [diff] [blame] | 9 | s.authors = ['gRPC Authors'] |
Tim Emiola | c33efe4 | 2015-02-19 09:39:49 -0800 | [diff] [blame] | 10 | s.email = 'temiola@google.com' |
Tim Emiola | 5d11c1a | 2015-01-22 18:39:34 -0800 | [diff] [blame] | 11 | s.homepage = 'https://github.com/google/grpc/tree/master/src/ruby' |
Tim Emiola | c33efe4 | 2015-02-19 09:39:49 -0800 | [diff] [blame] | 12 | s.summary = 'GRPC system in Ruby' |
| 13 | s.description = 'Send RPCs from Ruby using GRPC' |
Tim Emiola | c4a4288 | 2015-02-25 16:45:19 -0800 | [diff] [blame] | 14 | s.license = 'BSD-3-Clause' |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 15 | |
Tim Emiola | 154db73 | 2015-04-17 19:40:01 -0700 | [diff] [blame] | 16 | s.required_ruby_version = '>= 2.0.0' |
| 17 | s.requirements << 'libgrpc ~> 0.6.0 needs to be installed' |
| 18 | |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 19 | s.files = `git ls-files`.split("\n") |
| 20 | s.test_files = `git ls-files -- spec/*`.split("\n") |
Tim Emiola | e2860c5 | 2015-01-16 02:58:41 -0800 | [diff] [blame] | 21 | s.executables = `git ls-files -- bin/*.rb`.split("\n").map do |f| |
| 22 | File.basename(f) |
| 23 | end |
| 24 | s.require_paths = ['lib'] |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 25 | s.platform = Gem::Platform::RUBY |
| 26 | |
Tim Emiola | 6c57f6b | 2015-01-16 13:49:40 -0800 | [diff] [blame] | 27 | s.add_dependency 'google-protobuf', '~> 3.0.0alpha.1.1' |
Tim Emiola | 041e039 | 2015-04-15 18:45:57 -0700 | [diff] [blame] | 28 | s.add_dependency 'googleauth', '~> 0.4' # reqd for interop tests |
Tim Emiola | 554a11c | 2015-01-29 15:47:50 -0800 | [diff] [blame] | 29 | s.add_dependency 'logging', '~> 1.8' |
Tim Emiola | e2860c5 | 2015-01-16 02:58:41 -0800 | [diff] [blame] | 30 | s.add_dependency 'minitest', '~> 5.4' # reqd for interop tests |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 31 | |
Tim Emiola | c85c1ae | 2015-04-17 18:12:32 -0700 | [diff] [blame] | 32 | s.add_development_dependency 'simplecov', '~> 0.9' |
Tim Emiola | 041e039 | 2015-04-15 18:45:57 -0700 | [diff] [blame] | 33 | s.add_development_dependency 'bundler', '~> 1.9' |
| 34 | s.add_development_dependency 'rake', '~> 10.4' |
| 35 | s.add_development_dependency 'rake-compiler', '~> 0.9' |
Tim Emiola | 041e039 | 2015-04-15 18:45:57 -0700 | [diff] [blame] | 36 | s.add_development_dependency 'rspec', '~> 3.2' |
Tim Emiola | 154db73 | 2015-04-17 19:40:01 -0700 | [diff] [blame] | 37 | s.add_development_dependency 'rubocop', '~> 0.30' |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 38 | |
Tim Emiola | e2860c5 | 2015-01-16 02:58:41 -0800 | [diff] [blame] | 39 | s.extensions = %w(ext/grpc/extconf.rb) |
nnoble | 097ef9b | 2014-12-01 17:06:10 -0800 | [diff] [blame] | 40 | end |