Rakefile in imap_guard-1.0.0 vs Rakefile in imap_guard-1.2.0
- old
+ new
@@ -1,9 +1,13 @@
+# frozen_string_literal: true
+
require "bundler/gem_tasks"
require "rspec/core/rake_task"
+require "rubocop/rake_task"
RSpec::Core::RakeTask.new(:spec) do |t|
- t.ruby_opts = '-w'
+ t.ruby_opts = "-w"
end
-task default: :spec
+RuboCop::RakeTask.new(:rubocop)
+task default: %i[spec rubocop]