Rakefile in qonfig-0.20.0 vs Rakefile in qonfig-0.21.0
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop'
+require 'rubocop/rake_task'
require 'rubocop-rails'
require 'rubocop-performance'
require 'rubocop-rspec'
require 'rubocop-rake'
-require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |t|
config_path = File.expand_path(File.join('.rubocop.yml'), __dir__)
t.options = ['--config', config_path]
t.requires << 'rubocop-rspec'