lib/dense/path.rb in dense-1.1.4 vs lib/dense/path.rb in dense-1.1.5

- old
+ new

@@ -293,10 +293,10 @@ #puts GN + ind + "| 1-> " + [ true, path0[0..-2], data0, path0.last ].inspect if k.nil? return acc.push([ true, path0[0..-2], data0, path0.last ]) \ if k.nil? #puts RD + ind + "| 2-> " + [ false, path0[0..-2], data0, path0.last, path ].inspect unless data.is_a?(Array) || data.is_a?(Hash) - return acc.push([ false, path0[0..-2], data0, path0.last, path ]) \ + return acc.push([ false, path0, data, path.first, path[1..-1] ]) \ unless data.is_a?(Array) || data.is_a?(Hash) return _dot_gather(depth, path0, data0, data, path[1..-1], acc) \ if k == :dot