# encoding: utf-8 require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' RSpec::Core::RakeTask.new desc 'Run RuboCop' RuboCop::RakeTask.new(:rubocop) do |task| task.fail_on_error = true task.options = %w(-D --auto-correct) end task default: [:rubocop, :spec]