Rakefile in bundler-dependencies-0.6.0 vs Rakefile in bundler-dependencies-1.0.0
- old
+ new
@@ -1,6 +1,12 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+desc 'Run RuboCop'
+RuboCop::RakeTask.new(:rubocop)
+
+task default: %i[spec rubocop]