Sha256: 45f921260e73ea8f2365c3b8c35401498236c7a6c4210658961afe65f27140e2
Contents?: true
Size: 701 Bytes
Versions: 59
Compression:
Stored size: 701 Bytes
Contents
begin gem 'rspec' require 'spec' 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.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s) begin gem 'rcov', '~>0.8' 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 end end rescue LoadError # rspec not installed end
Version data entries
59 entries across 59 versions & 3 rubygems