2014-12-12 23:58:26 +00:00
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "google-protobuf"
|
2015-12-21 19:31:51 +00:00
|
|
|
s.version = "3.0.0.alpha.5.0"
|
2014-12-12 23:58:26 +00:00
|
|
|
s.licenses = ["BSD"]
|
|
|
|
s.summary = "Protocol Buffers"
|
|
|
|
s.description = "Protocol Buffers are Google's data interchange format."
|
2015-05-01 15:54:18 +00:00
|
|
|
s.homepage = "https://developers.google.com/protocol-buffers"
|
2014-12-12 23:58:26 +00:00
|
|
|
s.authors = ["Protobuf Authors"]
|
|
|
|
s.email = "protobuf@googlegroups.com"
|
|
|
|
s.require_paths = ["lib"]
|
2015-05-01 15:54:18 +00:00
|
|
|
s.files = `git ls-files -z`.split("\x0").find_all{|f| f =~ /lib\/.+\.rb/}
|
2016-02-04 22:18:14 +00:00
|
|
|
if RUBY_PLATFORM == "java"
|
|
|
|
s.files += ["lib/google/protobuf_java.jar"]
|
|
|
|
else
|
2014-12-24 14:48:41 +00:00
|
|
|
s.files += `git ls-files "*.c" "*.h" extconf.rb Makefile`.split
|
|
|
|
s.extensions= ["ext/google/protobuf_c/extconf.rb"]
|
2016-02-04 22:18:14 +00:00
|
|
|
s.add_development_dependency "rake-compiler-dock"
|
2014-12-24 14:48:41 +00:00
|
|
|
end
|
|
|
|
s.test_files = ["tests/basic.rb",
|
|
|
|
"tests/stress.rb",
|
|
|
|
"tests/generated_code_test.rb"]
|
|
|
|
s.add_development_dependency "rake-compiler"
|
|
|
|
s.add_development_dependency "test-unit"
|
|
|
|
s.add_development_dependency "rubygems-tasks"
|
2014-12-12 23:58:26 +00:00
|
|
|
end
|