rake-funnel.gemspec in rake-funnel-0.3.2.pre vs rake-funnel.gemspec in rake-funnel-0.4.0.pre
- old
+ new
@@ -8,21 +8,30 @@
s.platform = Gem::Platform::RUBY
s.authors = ['Alexander Groß']
s.email = ['agross@therightstuff.de']
s.homepage = 'http://grossweber.com'
s.license = 'BSD'
- s.description = %q{A standardized build pipeline}
- s.summary = %q{The build pipeline}
+ s.description = 'A standardized build pipeline'
+ s.summary = 'The build pipeline'
s.required_ruby_version = '>= 2.0.0'
s.add_dependency 'rake', '~> 10.4'
s.add_dependency 'rubyzip', '~> 1.0'
s.add_dependency 'smart_colored'
s.add_dependency 'configatron', '~> 4.5'
git = ENV['TEAMCITY_GIT_PATH'] || 'git'
- s.files = `"#{git}" ls-files -z`.split("\x0").reject { |file| file =~ %r{^(config/|tools/|lib/tasks|\.gitignore|\.travis)} || file =~ %r{(Guard|Rake)file} || File.extname(file) == '.cmd' }
+ files = `"#{git}" ls-files -z`
+ .split("\x0")
+ .reject do |file|
+ file =~ %r{^(config/|tools/|lib/tasks)} ||
+ file =~ %r{\.git|\.travis|\.ruby-version|\.rubocop} ||
+ file =~ %r{(Guard|Rake)file} ||
+ File.extname(file) == '.cmd'
+ end
+
+ s.files = files
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ['lib']
end