Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 19 lines (16 sloc) 0.541 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
require 'rake/gempackagetask'
require 'rubygems/specification'
require 'date'
require 'bundler/setup'

task :default => [:spec]

require 'spec/rake/spectask'
desc "Run specs"
Spec::Rake::SpecTask.new do |t|
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_opts = %w(-fs --color)
  t.spec_opts << '--loadby' << 'random'

  t.rcov_opts << '--exclude' << 'spec,.bundle'
  t.rcov = ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true
  t.rcov_opts << '--text-summary'
  t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
end
Something went wrong with that request. Please try again.