Rakefile in active_job_channel-0.0.3 vs Rakefile in active_job_channel-0.3.0
- old
+ new
@@ -9,12 +9,21 @@
Bundler::GemHelper.install_tasks
Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each { |f| load f }
+# bundler-audit task
+require 'bundler/audit/task'
+Bundler::Audit::Task.new
+
+# RuboCop task
+require 'rubocop/rake_task'
+desc 'Run all specs in spec directory (excluding plugin specs)'
+RuboCop::RakeTask.new
+
+# RSpec Task
require 'rspec/core'
require 'rspec/core/rake_task'
-
desc 'Run all specs in spec directory (excluding plugin specs)'
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new
-task default: :spec
+task default: %i[bundle:audit rubocop spec]