lib/scout/persist/serialize.rb in scout-essentials-1.3.0 vs lib/scout/persist/serialize.rb in scout-essentials-1.3.1
- old
+ new
@@ -142,10 +142,10 @@
when :stream
Open.open(file)
when :file
value = Open.read(file)
value.sub!(/^\./, File.dirname(file)) if value.start_with?("./")
- if Misc.is_filename?(value)
+ if Path.is_filename?(value)
value
else
file
end
when :file_array