lib/astrails/safe/sink.rb in astrails-safe-0.2.0 vs lib/astrails/safe/sink.rb in astrails-safe-0.2.1
- old
+ new
@@ -11,10 +11,10 @@
protected
# path is defined in subclass
def base
- @base ||= File.join(path, File.basename(@backup.filename).split(".").first)
+ @base ||= File.join(path, File.basename(@backup.filename).split(".").first + '.')
end
def full_path
@full_path ||= File.join(path, @backup.filename) + @backup.extension
end
\ No newline at end of file