rcov 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -157,7 +157,10 @@ module Rcov
157
157
  def aggregate_data(aggregated_data, delta)
158
158
  delta.each_pair do |file, cov_arr|
159
159
  dest = (aggregated_data[file] ||= Array.new(cov_arr.size, 0))
160
- cov_arr.each_with_index{|x,i| dest[i] += x.to_i}
160
+ cov_arr.each_with_index do |x,i|
161
+ dest[i] ||= 0
162
+ dest[i] += x.to_i
163
+ end
161
164
  end
162
165
  end
163
166
 
@@ -3,8 +3,8 @@
3
3
  # See LICENSE for licensing information.
4
4
 
5
5
  module Rcov
6
- VERSION = "0.9.5"
7
- RELEASE_DATE = "2009-10-16"
6
+ VERSION = "0.9.6"
7
+ RELEASE_DATE = "2009-10-23"
8
8
  RCOVRT_ABI = [2,0,0]
9
9
  UPSTREAM_URL = "http://github.com/relevance/rcov"
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rcov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Relevance