lib/cevennes.rb in cevennes-0.13.0 vs lib/cevennes.rb in cevennes-1.0.0
- old
+ new
@@ -2,11 +2,11 @@
require 'csv'
module Cevennes
- VERSION = '0.13.0'
+ VERSION = '1.0.0'
class << self
def diff(id, csv0, csv1)
@@ -37,10 +37,10 @@
s = d.inject({}) { |h, (a, _, _)| h[a] = (h[a] || 0) + 1; h }
s['l0'] = h0.length
s['l1'] = h1.length
- [ [ 'keys', ks0, ks1 ], [ 'stats', s ] ] + d
+ [ [ 'keys', *ks0, *ks1 ], [ 'stats', s ] ] + d
end
protected
def strip(row)