Geminstaller C0 Coverage Information - RCov

lib/geminstaller/requires.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/geminstaller/requires.rb 82 65
96.34%
95.38%

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 dir = File.dirname(__FILE__)
2 
3 # require for rubygems package
4 require 'rubygems'
5 
6 # backward compability and version-checking stuff - must be required before it is used
7 require File.expand_path("#{dir}/rubygems_version_checker")
8 require File.expand_path("#{dir}/rubygems_version_warnings")
9 GemInstaller::RubyGemsVersionWarnings.print_warnings
10 
11 # requires for rubygems internal classes
12 require 'rubygems/doc_manager'
13 require 'rubygems/config_file'
14 if GemInstaller::RubyGemsVersionChecker.matches?('<0.9.3')
15   require 'rubygems/cmd_manager'
16 else
17   require 'rubygems/command_manager'
18 end
19 require 'rubygems/gem_runner'
20 if GemInstaller::RubyGemsVersionChecker.matches?('<1.0.0')
21   require 'rubygems/remote_installer'
22 end
23 require 'rubygems/installer'
24 require 'rubygems/validator'
25 
26 # these are order-dependent.  Any better way???
27 unless GemInstaller::RubyGemsVersionChecker.matches?('<0.9.3')
28   require 'rubygems/commands/query_command'
29   require 'rubygems/commands/list_command'
30 end
31 
32 # backward compability support for prior rubygems versions 
33 require File.expand_path("#{dir}/backward_compatibility")
34 
35 # third party libs
36 require 'erb'
37 require 'optparse'
38 require 'yaml'
39 require 'fileutils'
40 
41 # third party lib extensions
42 require File.expand_path("#{dir}/rubygems_extensions")
43 
44 # internal files
45 require File.expand_path("#{dir}/../geminstaller")
46 require File.expand_path("#{dir}/application")
47 require File.expand_path("#{dir}/arg_parser")
48 require File.expand_path("#{dir}/autogem")
49 require File.expand_path("#{dir}/bundler_exporter")
50 require File.expand_path("#{dir}/config")
51 require File.expand_path("#{dir}/config_builder")
52 require File.expand_path("#{dir}/registry")
53 require File.expand_path("#{dir}/enhanced_stream_ui")
54 require File.expand_path("#{dir}/exact_match_list_command")
55 require File.expand_path("#{dir}/file_reader")
56 require File.expand_path("#{dir}/gem_arg_processor")
57 require File.expand_path("#{dir}/gem_command_manager")
58 require File.expand_path("#{dir}/gem_interaction_handler")
59 require File.expand_path("#{dir}/gem_list_checker")
60 require File.expand_path("#{dir}/gem_runner_proxy")
61 require File.expand_path("#{dir}/gem_source_index_proxy")
62 require File.expand_path("#{dir}/gem_spec_manager")
63 require File.expand_path("#{dir}/geminstaller_error")
64 require File.expand_path("#{dir}/geminstaller_access_error")
65 require File.expand_path("#{dir}/install_processor")
66 require File.expand_path("#{dir}/missing_dependency_finder")
67 require File.expand_path("#{dir}/missing_file_error")
68 require File.expand_path("#{dir}/noninteractive_chooser")
69 require File.expand_path("#{dir}/output_filter")
70 require File.expand_path("#{dir}/output_listener")
71 require File.expand_path("#{dir}/output_observer")
72 require File.expand_path("#{dir}/output_proxy")
73 require File.expand_path("#{dir}/rogue_gem_finder")
74 require File.expand_path("#{dir}/rubygems_exit")
75 require File.expand_path("#{dir}/ruby_gem")
76 require File.expand_path("#{dir}/source_index_search_adapter")
77 require File.expand_path("#{dir}/unexpected_prompt_error")
78 require File.expand_path("#{dir}/unauthorized_dependency_prompt_error")
79 require File.expand_path("#{dir}/valid_platform_selector")
80 require File.expand_path("#{dir}/version_specifier")
81 require File.expand_path("#{dir}/yaml_loader")
82 

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