require 'bundler/gem_tasks' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task default: :spec begin require 'yard' require 'yard/rake/yardoc_task' YARD::Rake::YardocTask.new do |t| t.files = %w(lib/**/*.rb) t.options = %w(--output-dir doc/) end rescue LoadError end