diff options
author | Adam Greene <adam.greene@gmail.com> | 2015-05-01 08:54:18 -0700 |
---|---|---|
committer | Adam Greene <adam.greene@gmail.com> | 2015-05-01 11:48:04 -0700 |
commit | c70b6058eaae4fa5b1af577c548e6809a53dfd98 (patch) | |
tree | 89693f839c21940349003769811d22ecbb9e78b3 /ruby/google-protobuf.gemspec | |
parent | c881159557398c915b6b279b45c618732741416b (diff) | |
download | protobuf-c70b6058eaae4fa5b1af577c548e6809a53dfd98.tar.gz protobuf-c70b6058eaae4fa5b1af577c548e6809a53dfd98.tar.bz2 protobuf-c70b6058eaae4fa5b1af577c548e6809a53dfd98.zip |
add size alias for length
starting to make `RepeatedField` quack like an array
additional changes:
* make sure gemspec gets all ruby code files
* add homepage in gem spec removes one of the warnings, and the gem spec authors are pushing
everyone to include a homepage in the gem
* remove excess whitespace in test suite to bring formatting inline with the rest of the file
Diffstat (limited to 'ruby/google-protobuf.gemspec')
-rw-r--r-- | ruby/google-protobuf.gemspec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/google-protobuf.gemspec b/ruby/google-protobuf.gemspec index abbbde35..28cdebf5 100644 --- a/ruby/google-protobuf.gemspec +++ b/ruby/google-protobuf.gemspec @@ -4,10 +4,11 @@ Gem::Specification.new do |s| s.licenses = ["BSD"] s.summary = "Protocol Buffers" s.description = "Protocol Buffers are Google's data interchange format." + s.homepage = "https://developers.google.com/protocol-buffers" s.authors = ["Protobuf Authors"] s.email = "protobuf@googlegroups.com" s.require_paths = ["lib"] - s.files = ["lib/google/protobuf.rb"] + s.files = `git ls-files -z`.split("\x0").find_all{|f| f =~ /lib\/.+\.rb/} unless RUBY_PLATFORM == "java" s.files += `git ls-files "*.c" "*.h" extconf.rb Makefile`.split s.extensions= ["ext/google/protobuf_c/extconf.rb"] |