lib/yard/serializers/yardoc_serializer.rb in yard-0.6.0 vs lib/yard/serializers/yardoc_serializer.rb in yard-0.6.1
- old
+ new
@@ -66,10 +66,10 @@
def deserialize(path, is_path = false)
path = File.join(basepath, serialized_path(path)) unless is_path
if File.file?(path)
log.debug "Deserializing #{path}..."
- Marshal.load(File.read(path))
+ Marshal.load(File.read_binary(path))
else
log.debug "Could not find #{path}"
nil
end
end
\ No newline at end of file