Sha256: 4592eabc8ac20ca6ce23f7c4a3ee467133f188d170fabf9b28c32a4065963716
Contents?: true
Size: 741 Bytes
Versions: 44
Compression:
Stored size: 741 Bytes
Contents
begin require 'spec/rake/spectask' task :default => [ :spec ] desc 'Run specifications' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts') t.libs << 'lib' << 'spec' # needed for CI rake spec task, duplicated in spec_helper begin require 'rcov' t.rcov = JRUBY ? false : (ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true) t.rcov_opts << '--exclude' << 'spec' t.rcov_opts << '--text-summary' t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse' rescue LoadError # rcov not installed rescue SyntaxError # rcov syntax invalid end end rescue LoadError # rspec not installed end
Version data entries
44 entries across 44 versions & 23 rubygems