Geminstaller C0 Coverage Information - RCov

lib/geminstaller/gem_source_index_proxy.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/geminstaller/gem_source_index_proxy.rb 21 11
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 GemSourceIndexProxy
3     attr_writer :gem_source_index
4 
5     def refresh!
6       @gem_source_index.refresh!
7     end
8 
9     # NOTE: We will require an exact version requirement, rather than the standard default Gem version_requirement of ">= 0"
10     #       GemInstaller has it's own default defined elsewhere
11     def search(gem_pattern, version_requirement)
12       # Returns an array of Gem::Specification objects
13       @gem_source_index.search(gem_pattern, version_requirement)
14     end
15   end
16 end
17 
18 
19 
20 
21 

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