Geminstaller C0 Coverage Information - RCov

spec/helper/override_default_source.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
spec/helper/override_default_source.rb 13 12
100.00%
100.00%

Key

Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.

Coverage Details

1 module GemInstaller
2   class OverrideDefaultSource
3     def self.override_default_gem_source
4       # required - in multiple places - to get rid of default rubygems.org source
5       Gem.module_eval do
6         def self.default_sources
7           ["http://127.0.0.1:9909"]
8         end
9       end
10       Gem.sources = ["http://127.0.0.1:9909"]
11     end
12   end
13 end

Generated on Mon May 10 23:40:29 -0700 2010 with rcov 0.9.8