require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :doc do begin require 'yard' rescue LoadError # ignore else YARD::Rake::YardocTask.new do |task| task.files = ['HISTORY.mkd', 'LICENSE.mkd', 'lib/**/*.rb'] task.options = [ '--protected', '--output-dir', 'doc/yard', '--tag', 'format:Supported formats', '--tag', 'authenticated:Requires Authentication', '--tag', 'rate_limited:Rate Limited', '--markup', 'markdown', ] end end end