cover_me 1.0.0.rc3 → 1.0.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cover_me/processor.rb +4 -2
- data/lib/cover_me/report.rb +4 -0
- metadata +3 -3
data/lib/cover_me/processor.rb
CHANGED
@@ -20,8 +20,10 @@ class CoverMe::Processor
|
|
20
20
|
self.coverage_results.map do |filename, coverage|
|
21
21
|
if filename.match(self.options.pattern)
|
22
22
|
report = CoverMe::Report.new(filename, coverage)
|
23
|
-
|
24
|
-
|
23
|
+
if report.exists?
|
24
|
+
self.index.reports << report
|
25
|
+
self.options[:formatter].format(report)
|
26
|
+
end
|
25
27
|
end
|
26
28
|
end
|
27
29
|
self.options[:formatter].format(self.index)
|
data/lib/cover_me/report.rb
CHANGED
metadata
CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
|
|
6
6
|
- 1
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.0.
|
9
|
+
- rc4
|
10
|
+
version: 1.0.0.rc4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- markbates
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-28 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|