fix gemspec files filter

This commit is contained in:
Doug MacEachern 2012-03-26 16:24:27 -07:00
parent 965051cdcf
commit 91aead2fd3
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s|
s.name = GEM s.name = GEM
# s.version = props['version.major'] + '.' + props['version.minor'] + '.' + props['version.maint'] # s.version = props['version.major'] + '.' + props['version.minor'] + '.' + props['version.maint']
# '0.7.x' until the sigar-1.7.0 release # '0.7.x' until the sigar-1.7.0 release
s.version = '0' + '.' + props['version.minor'] + '.' + '1' s.version = '0' + '.' + props['version.minor'] + '.' + '2'
s.summary = props['project.summary'] s.summary = props['project.summary']
s.description = s.summary s.description = s.summary
s.author = props['project.author'] s.author = props['project.author']
@ -34,7 +34,7 @@ spec = Gem::Specification.new do |s|
s.files = s.files =
%w(LICENSE NOTICE README Rakefile version.properties) + %w(LICENSE NOTICE README Rakefile version.properties) +
%w(bindings/SigarWrapper.pm bindings/SigarBuild.pm) + %w(bindings/SigarWrapper.pm bindings/SigarBuild.pm) +
Dir.glob("bindings/ruby/**/*") + `git ls-files -- bindings/ruby/*.*`.split("\n") +
Dir.glob("include/*.h") + Dir.glob("include/*.h") +
Dir.glob("src/**/*.[ch]") + Dir.glob("src/**/*.[ch]") +
Dir.glob("src/**/*.in") Dir.glob("src/**/*.in")