lib/picky/backends/file/json.rb in picky-4.27.0 vs lib/picky/backends/file/json.rb in picky-4.27.1

- old
+ new

@@ -62,10 +62,10 @@ # 1. Dump actual data. # 2. Dumps mapping key => [length, offset]. # def dump hash offset = 0 - mapping = {} + mapping = Hash.new create_directory cache_path ::File.open(cache_path, 'w:utf-8') do |out_file| hash.each do |(key, object)| encoded = MultiJson.encode object