• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Gem::Specification.new do |s|
2  s.name        = "google-protobuf"
3  s.version     = "3.9.1"
4  s.licenses    = ["BSD-3-Clause"]
5  s.summary     = "Protocol Buffers"
6  s.description = "Protocol Buffers are Google's data interchange format."
7  s.homepage    = "https://developers.google.com/protocol-buffers"
8  s.authors     = ["Protobuf Authors"]
9  s.email       = "protobuf@googlegroups.com"
10  s.require_paths = ["lib"]
11  s.files       = Dir.glob('lib/**/*.rb')
12  if RUBY_PLATFORM == "java"
13    s.platform  = "java"
14    s.files     += ["lib/google/protobuf_java.jar"]
15  else
16    s.files     += Dir.glob('ext/**/*')
17    s.extensions= ["ext/google/protobuf_c/extconf.rb"]
18    s.add_development_dependency "rake-compiler-dock", "~> 0.6.0"
19  end
20  s.test_files  = ["tests/basic.rb",
21                  "tests/stress.rb",
22                  "tests/generated_code_test.rb"]
23  s.required_ruby_version = '>= 2.3'
24  s.add_development_dependency "rake-compiler", "~> 0.9.5"
25  s.add_development_dependency "test-unit", '~> 3.0', '>= 3.0.9'
26  s.add_development_dependency "rubygems-tasks", "~> 0.2.4"
27end
28