lib/hookit/db.rb in hookit-0.11.1 vs lib/hookit/db.rb in hookit-0.11.2

- old
+ new

@@ -19,10 +19,10 @@ data[key] = value save end def load - ::MultiJson.load(::File.read(@path)) rescue {} + ::MultiJson.load(::File.read(@path), symbolize_keys: true) rescue {} end def save ::FileUtils.mkdir_p(File.dirname(@path)) ::File.write(@path, ::MultiJson.dump(data)) \ No newline at end of file