ezcater_rubocop.gemspec in ezcater_rubocop-0.50.2.rc0 vs ezcater_rubocop.gemspec in ezcater_rubocop-0.50.2.rc1
- old
+ new
@@ -20,12 +20,23 @@
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
+ excluded_files = %w[.circleci/config.yml
+ .gitignore
+ .rspec
+ .rubocop.yml
+ .ruby-gemset
+ .ruby-version
+ .travis.yml
+ bin/console
+ bin/setup
+ Rakefile]
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
- end
+ end - excluded_files
spec.bindir = "bin"
spec.executables << "circle_rubocop.rb"
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.15"