Rakefile in rubocop-rspec-1.7.0 vs Rakefile in rubocop-rspec-1.8.0
- old
+ new
@@ -22,13 +22,10 @@
Rake::Task['spec'].execute
end
desc 'Run RuboCop over this gem'
task :internal_investigation do
- require 'rubocop-rspec'
-
- result = RuboCop::CLI.new.run
- abort('RuboCop failed!') unless result.zero?
+ sh('bundle exec rubocop --require rubocop-rspec')
end
desc 'Build config/default.yml'
task :build_config do
sh('bin/build_config')