Rakefile in rubocop-minitest-0.20.1 vs Rakefile in rubocop-minitest-0.21.0
- old
+ new
@@ -26,21 +26,17 @@
end
desc 'Run RuboCop over itself'
RuboCop::RakeTask.new(:internal_investigation)
-task default: %i[
- documentation_syntax_check
- test
- internal_investigation
-]
+task default: %i[documentation_syntax_check test internal_investigation]
desc 'Generate a new cop template'
task :new_cop, [:cop] do |_task, args|
require 'rubocop'
cop_name = args.fetch(:cop) do
- warn 'usage: bundle exec rake new_cop[Department/Name]'
+ warn "usage: bundle exec rake 'new_cop[Department/Name]'"
exit!
end
generator = RuboCop::Cop::Generator.new(cop_name)