Rakefile in ddplugin-1.0.2 vs Rakefile in ddplugin-1.0.3
- old
+ new
@@ -6,11 +6,8 @@
Rake::TestTask.new do |t|
t.libs = %w[lib test]
t.test_files = FileList['test/**/test_*.rb', 'test/**/*_spec.rb']
end
-RuboCop::RakeTask.new do |task|
- task.options = %w[--display-cop-names --format simple]
- task.patterns = ['lib/**/*.rb', 'test/**/*.rb']
-end
+RuboCop::RakeTask.new
task default: %i[test rubocop]