Sha256: f383c9e1474abc6de4bd2bc027ef4a248ea6c2871fbff229500f08cd0eb3e083

Contents?: true

Size: 506 Bytes

Versions: 17

Compression:

Stored size: 506 Bytes

Contents

require 'spec/rake/spectask'
require 'spec/rake/verify_rcov'

desc "Generate RCov report"
Spec::Rake::SpecTask.new(:rcov) do |t|
  t.spec_files  = FileList['spec/**/*_spec.rb']
  t.rcov        = true
  t.rcov_dir    = 'doc/coverage'
  t.rcov_opts   = ['--text-report', '--exclude', "gems/,features/,/Library,spec/,rcov.rb"] 
end

namespace :rcov do
  desc "Verify RCov threshold"
  RCov::VerifyTask.new(:verify => :rcov) do |t|
    t.threshold = 98.12
    t.index_html = 'doc/coverage/index.html'
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
pickle-0.4.4 Rakefile.d/rcov.rake
judit-pickle-0.4.2 Rakefile.d/rcov.rake
pickle-0.4.3 Rakefile.d/rcov.rake
pickle-has_many_support-0.4.2 Rakefile.d/rcov.rake
pickle-0.4.2 Rakefile.d/rcov.rake
pickle-0.4.1 Rakefile.d/rcov.rake
pickle-0.4.0 Rakefile.d/rcov.rake
pickle-0.3.5 Rakefile.d/rcov.rake
pickle-0.3.4 Rakefile.d/rcov.rake
pickle-0.3.3 Rakefile.d/rcov.rake
pickle-0.3.2 Rakefile.d/rcov.rake
pickle-0.3.1 Rakefile.d/rcov.rake
pickle-has_many_support-0.3.1 Rakefile.d/rcov.rake
pickle-0.3.0 Rakefile.d/rcov.rake
pickle-0.2.12 Rakefile.d/rcov.rake
pickle-0.2.11 Rakefile.d/rcov.rake
pickle-0.2.10 Rakefile.d/rcov.rake