Skip to content

Commit

Permalink
Switch from Rcov to SimpleCov, because SimpleCov really is much simpler.
Browse files Browse the repository at this point in the history
  • Loading branch information
soupmatt committed Feb 12, 2012
1 parent d7b83db commit 65c5330
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Original file line Diff line number Diff line change
@@ -1,7 +1,7 @@
*.swp *.swp
*.gem *.gem


# rcov generated # simplecov generated
coverage coverage


# rdoc generated # rdoc generated
Expand All @@ -17,4 +17,4 @@ doc
# jeweler generated # jeweler generated
pkg pkg


.project .project
5 changes: 5 additions & 0 deletions .simplecov
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,5 @@
SimpleCov.start do
add_filter "/spec/"
end

# vim: filetype=ruby
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group :development do
gem "jeweler", "~> 1.6.2" gem "jeweler", "~> 1.6.2"
gem "actionpack" gem "actionpack"
gem "rake" gem "rake"
gem "rcov" gem "simplecov", :require => false
end end


gem "activesupport", :require => "active_support" gem "activesupport", :require => "active_support"
Expand Down
8 changes: 6 additions & 2 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ GEM
git (>= 1.2.5) git (>= 1.2.5)
rake rake
json (1.6.1) json (1.6.1)
multi_json (1.0.4)
rack (1.1.2) rack (1.1.2)
rake (0.9.2.2) rake (0.9.2.2)
rcov (0.9.11)
rspec (2.7.0) rspec (2.7.0)
rspec-core (~> 2.7.0) rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0) rspec-expectations (~> 2.7.0)
Expand All @@ -23,6 +23,10 @@ GEM
rspec-expectations (2.7.0) rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2) diff-lcs (~> 1.1.2)
rspec-mocks (2.7.0) rspec-mocks (2.7.0)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)


PLATFORMS PLATFORMS
ruby ruby
Expand All @@ -34,5 +38,5 @@ DEPENDENCIES
jeweler (~> 1.6.2) jeweler (~> 1.6.2)
json (~> 1.6.1) json (~> 1.6.1)
rake rake
rcov
rspec (~> 2.7.0) rspec (~> 2.7.0)
simplecov
5 changes: 3 additions & 2 deletions spec/spec_helper.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,9 @@
require 'bundler' require 'bundler'

Bundler.setup(:default, :development)
Bundler.setup(:default, :test)
Bundler.require Bundler.require


require 'simplecov'

RSpec.configure do |config| RSpec.configure do |config|
#config.include Rack::Test::Methods #config.include Rack::Test::Methods
#config.include Webrat::Methods #config.include Webrat::Methods
Expand Down

0 comments on commit 65c5330

Please sign in to comment.