Rakefile in formtastic-2.0.0.rc3 vs Rakefile in formtastic-2.0.0.rc4
- old
+ new
@@ -42,10 +42,10 @@
t.rcov_opts = %w(--exclude gems/*,spec/*,.bundle/*, --aggregate coverage.data)
end
RCov::VerifyTask.new(:verify_coverage) do |t|
t.require_exact_threshold = false
- t.threshold = 95
+ t.threshold = (RUBY_VERSION == "1.8.7" ? 95 : 0)
end
desc "Run all examples and verify coverage"
task :spec_and_verify_coverage => [:rcov, :verify_coverage] do
end