Rakefile in relevance-castronaut-0.4.1 vs Rakefile in relevance-castronaut-0.4.2
- old
+ new
@@ -9,30 +9,29 @@
require 'spec/rake/verify_rcov'
require "fileutils"
gem :flog
-CURRENT_VERSION = '0.4.1'
+CURRENT_VERSION = '0.4.2'
$package_version = CURRENT_VERSION
desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('specs_with_rcov') do |t|
ENV["test"] = "true"
t.spec_files = FileList['spec/**/*.rb']
t.rcov = true
t.rcov_opts = ['--text-report', '--exclude', "spec,Library,lib/castronaut/db,#{ENV['GEM_HOME']}", '--sort', 'coverage']
- t.spec_opts = ['-cfn']
end
desc "Run all examples"
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = FileList['spec/**/*.rb']
t.rcov = false
t.spec_opts = ['-cfn']
end
RCov::VerifyTask.new(:verify_coverage => :specs_with_rcov) do |t|
- t.threshold = 97.4
+ t.threshold = 98.3
t.index_html = 'coverage/index.html'
end
namespace :ssl do