Rakefile in xml-kit-0.1.11 vs Rakefile in xml-kit-0.1.12
- old
+ new
@@ -1,6 +1,13 @@
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+# frozen_string_literal: true
+require 'bundler/audit/task'
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
+
RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new(:rubocop)
+Bundler::Audit::Task.new
-task :default => :spec
+task default: :spec
+task lint: [:rubocop, 'bundle:audit']