Rakefile in lovely_rufus-0.1.2 vs Rakefile in lovely_rufus-0.2.0
- old
+ new
@@ -1,18 +1,20 @@
require 'rake/testtask'
require 'reek/rake/task'
require 'rubocop/rake_task'
-task default: %i[spec rubocop reek]
+task default: %i(spec rubocop reek)
-Rake::TestTask.new :spec do |task|
+Rake::TestTask.new(:spec) do |task|
task.test_files = FileList['spec/**/*_spec.rb']
task.warning = true
end
Reek::Rake::Task.new do |task|
task.config_files = 'config/reek.yml'
task.fail_on_error = false
task.reek_opts = '--quiet'
end
-Rubocop::RakeTask.new
+RuboCop::RakeTask.new do |task|
+ task.options << '--display-cop-names'
+end