require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "yard"
RSpec::Core::RakeTask.new(:spec, :tag) do |t, task_args|
t.rspec_opts = "--tag #{task_args[:tag]}" if task_args[:tag]
end
YARD::Rake::YardocTask.new
task :default => :spec
task :test => :spec