Skip to content

Commit

Permalink
Replace rcov with simplecov (enable during tests via COVERAGE environ…
Browse files Browse the repository at this point in the history
…ment variable)
  • Loading branch information
obrie committed Feb 16, 2012
1 parent 7676a7f commit 9ae246e
Show file tree
Hide file tree
Showing 55 changed files with 309 additions and 164 deletions.
11 changes: 0 additions & 11 deletions Rakefile
Expand Up @@ -4,7 +4,6 @@ Bundler.setup

require 'rake'
require 'rake/testtask'
require 'rcov/rcovtask'

require 'appraisal'

Expand All @@ -22,16 +21,6 @@ Rake::TestTask.new(:test) do |t|
t.verbose = true
end

namespace :test do
desc "Test state_machine with Rcov."
Rcov::RcovTask.new(:rcov) do |t|
t.libs << 'lib'
t.test_files = Dir['test/**/*_test.rb']
t.rcov_opts << '--exclude="^(?!lib/)"'
t.verbose = true
end
end

namespace :appraisal do
desc "Run the given task for a particular integration's appraisals"
task :integration do
Expand Down
9 changes: 6 additions & 3 deletions gemfiles/active_model-3.0.0.gemfile.lock
Expand Up @@ -16,9 +16,12 @@ GEM
rake
builder (2.1.2)
i18n (0.4.2)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
java
Expand All @@ -28,5 +31,5 @@ DEPENDENCIES
activemodel (= 3.0.0)
appraisal (~> 0.4.0)
rake
rcov
simplecov
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_model-3.0.5.gemfile.lock
Expand Up @@ -16,9 +16,12 @@ GEM
rake
builder (2.1.2)
i18n (0.6.0)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
java
Expand All @@ -28,5 +31,5 @@ DEPENDENCIES
activemodel (= 3.0.5)
appraisal (~> 0.4.0)
rake
rcov
simplecov
state_machine!
8 changes: 5 additions & 3 deletions gemfiles/active_model-3.1.1.gemfile.lock
Expand Up @@ -19,8 +19,10 @@ GEM
i18n (0.6.0)
multi_json (1.0.3)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
java
Expand All @@ -30,5 +32,5 @@ DEPENDENCIES
activemodel (= 3.1.1)
appraisal (~> 0.4.0)
rake
rcov
simplecov
state_machine!
7 changes: 5 additions & 2 deletions gemfiles/active_model-3.2.1.gemfile.lock
Expand Up @@ -19,7 +19,10 @@ GEM
i18n (0.6.0)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (1.0.0)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
ruby
Expand All @@ -28,5 +31,5 @@ DEPENDENCIES
activemodel (= 3.2.1)
appraisal (~> 0.4.0)
rake
rcov
simplecov
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.0.0.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.0.0)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.0.5.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.0.5)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.1.0.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.1.0)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.1.2.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.1.2)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.2.3.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.2.3)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-2.3.12.gemfile.lock
Expand Up @@ -12,9 +12,12 @@ GEM
appraisal (0.4.0)
bundler
rake
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3-ruby (1.3.1)

PLATFORMS
Expand All @@ -25,6 +28,6 @@ DEPENDENCIES
activerecord (= 2.3.12)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby (= 1.3.1)
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-3.0.0.gemfile.lock
Expand Up @@ -23,9 +23,12 @@ GEM
activesupport (~> 3.0.0)
builder (2.1.2)
i18n (0.4.2)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
Expand All @@ -39,6 +42,6 @@ DEPENDENCIES
activerecord (= 3.0.0)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/active_record-3.0.5.gemfile.lock
Expand Up @@ -22,9 +22,12 @@ GEM
arel (2.0.10)
builder (2.1.2)
i18n (0.6.0)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
Expand All @@ -38,6 +41,6 @@ DEPENDENCIES
activerecord (= 3.0.5)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby
state_machine!
8 changes: 5 additions & 3 deletions gemfiles/active_record-3.1.1.gemfile.lock
Expand Up @@ -25,8 +25,10 @@ GEM
i18n (0.6.0)
multi_json (1.0.3)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
Expand All @@ -40,6 +42,6 @@ DEPENDENCIES
activerecord (= 3.1.1)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby
state_machine!
7 changes: 5 additions & 2 deletions gemfiles/active_record-3.2.1.gemfile.lock
Expand Up @@ -25,7 +25,10 @@ GEM
i18n (0.6.0)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (1.0.0)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sqlite3 (1.3.5)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
Expand All @@ -38,6 +41,6 @@ DEPENDENCIES
activerecord (= 3.2.1)
appraisal (~> 0.4.0)
rake
rcov
simplecov
sqlite3-ruby
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/data_mapper-0.10.2.gemfile.lock
Expand Up @@ -31,9 +31,12 @@ GEM
jdbc-sqlite3 (>= 3.5.8)
extlib (0.9.15)
jdbc-sqlite3 (3.7.2)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
java
Expand All @@ -48,5 +51,5 @@ DEPENDENCIES
dm-validations (= 0.10.2)
do_sqlite3 (= 0.10.2)
rake
rcov
simplecov
state_machine!
9 changes: 6 additions & 3 deletions gemfiles/data_mapper-0.9.11.gemfile.lock
Expand Up @@ -26,9 +26,12 @@ GEM
do_sqlite3 (0.9.11)
data_objects (= 0.9.11)
extlib (0.9.15)
multi_json (1.0.4)
rake (0.9.2.2)
rcov (0.9.11)
rcov (0.9.11-java)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)

PLATFORMS
java
Expand All @@ -43,5 +46,5 @@ DEPENDENCIES
dm-validations (= 0.9.11)
do_sqlite3 (= 0.9.11)
rake
rcov
simplecov
state_machine!

0 comments on commit 9ae246e

Please sign in to comment.