require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' RSpec::Core::RakeTask.new('spec') RuboCop::RakeTask.new do |task| task.options = %w[-c .rubocop.yml] end task default: %i[rubocop spec]