Rakefile in qonfig-0.18.1 vs Rakefile in qonfig-0.19.0
- old
+ new
@@ -1,19 +1,21 @@
# frozen_string_literal: true
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop'
-require 'rubocop-rspec'
+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'
t.requires << 'rubocop-performance'
+ t.requires << 'rubocop-rake'
end
RSpec::Core::RakeTask.new(:rspec)
task default: :rspec