Rakefile in template_params-0.1.1 vs Rakefile in template_params-0.2.0
- old
+ new
@@ -1,6 +1,7 @@
# frozen_string_literal: true
+
require "bundler/gem_tasks"
require "rubocop/rake_task"
RuboCop::RakeTask.new
@@ -10,6 +11,6 @@
end
# Default task: lint then test
task default: [] # in case it hasn't been set
Rake::Task[:default].clear
-task default: [:rubocop, :spec]
+task default: %i[rubocop spec]