lib/hieracles/formats/csv.rb in hieracles-0.1.5 vs lib/hieracles/formats/csv.rb in hieracles-0.1.6

- old
+ new

@@ -26,14 +26,14 @@ end def build_params_line(key, value, filter) output = '' if !filter || Regexp.new(filter).match(key) - first = value.shift + first = value.pop output << make_csv(in_what_file(first[:file]) + [key, first[:value].to_s, '0']) while value.count > 0 - overriden = value.shift + overriden = value.pop output << make_csv(in_what_file(overriden[:file]) + [key, overriden[:value].to_s, '1']) end end output