rubocop.gemspec in rubocop-0.29.1 vs rubocop.gemspec in rubocop-0.30.0
- old
+ new
@@ -14,12 +14,24 @@
Automatic Ruby code style checking tool.
Aims to enforce the community-driven Ruby Style Guide.
EOF
s.email = 'rubocop@googlegroups.com'
- s.files = `git ls-files`.split($RS)
- s.test_files = s.files.grep(/^spec\//)
- s.executables = s.files.grep(/^bin\//) { |f| File.basename(f) }
+ s.files = `git ls-files`.split($RS).reject do |file|
+ file =~ %r{^(?:
+ spec/.*
+ |Gemfile
+ |Rakefile
+ |\.rspec
+ |\.gitignore
+ |\.rubocop.yml
+ |\.rubocop_todo.yml
+ |\.travis.yml
+ |.*\.eps
+ )$}x
+ end
+ s.test_files = []
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.extra_rdoc_files = ['LICENSE.txt', 'README.md']
s.homepage = 'http://github.com/bbatsov/rubocop'
s.licenses = ['MIT']
s.require_paths = ['lib']
s.rubygems_version = '1.8.23'