Geminstaller C0 Coverage Information - RCov

spec/helper/rubygems_installer.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
spec/helper/rubygems_installer.rb 22 20
40.91%
35.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 RubyGemsInstaller
3     attr_writer :gem_home_dir
4     attr_writer :rubygems_dist_dir
5     
6     def set_gem_home
7     end
8 
9     def install_sources
10       rubygems_dist_dir = File.expand_path(@rubygems_dist_dir)
11       Dir.chdir("#{rubygems_dist_dir}/pkgs/sources") do
12         load "sources.gemspec"
13         spec = Gem.sources_spec
14         require 'rubygems/builder'
15         gem_file = Gem::Builder.new(spec).build
16         require 'rubygems/installer'
17         Gem::Installer.new(gem_file).install(true, Gem.dir, false)
18       end
19       print "Installed RubyGems Sources Gem\n"
20     end
21   end
22 end

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