Rakefile in hyperclient-0.4.0 vs Rakefile in hyperclient-0.5.0

- old
+ new

@@ -12,17 +12,16 @@ add_filter '/features/' end end require 'yard' -YARD::Config.load_plugin('yard-tomdoc') +YARD::Config.load_plugin('yard-tomdoc') YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] t.options = %w(-r README.md) end - Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |t| @@ -35,6 +34,9 @@ desc 'runs the whole spinach suite' task :spinach do ruby '-S spinach' end -task default: [:test, :spinach] +require 'rubocop/rake_task' +RuboCop::RakeTask.new(:rubocop) + +task default: [:rubocop, :test, :spinach]