Rakefile in qonfig-0.6.0 vs Rakefile in qonfig-0.7.0

- old
+ new

@@ -1,8 +1,18 @@ # frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'rubocop' +require 'rubocop-rspec' +require 'rubocop/rake_task' -RSpec::Core::RakeTask.new(:spec) +RuboCop::RakeTask.new(:rubocop) do |t| + config_path = File.expand_path(File.join('.rubocop.yml'), __dir__) -task default: :spec + t.options = ['--config', config_path] + t.requires << 'rubocop-rspec' +end + +RSpec::Core::RakeTask.new(:rspec) + +task default: :rspec