Rakefile in logging_library-1.3.0 vs Rakefile in logging_library-2.0.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'bundler/gem_tasks'
begin
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
@@ -12,6 +14,9 @@
require 'yard/rake/yardoc_task'
YARD::Rake::YardocTask.new
rescue LoadError
end
-task default: :spec
+require 'rubocop/rake_task'
+RuboCop::RakeTask.new
+
+task default: %i[rubocop spec]