Rakefile
require "rspec/core/rake_task"
require "bundler/gem_tasks"
RSpec::Core::RakeTask.new(:spec)
task default: [:ci]
desc "Run CI tasks"
task ci: [:spec]
begin
require "rubocop/rake_task"
Rake::Task[:default].enhance [:rubocop]
RuboCop::RakeTask.new do |task|
task.options << "--display-cop-names"
end
rescue LoadError
end