lib/backup/storage/rsync.rb in backup-3.6.0 vs lib/backup/storage/rsync.rb in backup-3.7.0

- old
+ new

@@ -130,12 +130,11 @@ # if needed - either locally, or on the remote for :ssh mode. # This behavior will change in v4.0, when :ssh mode and local operations # will also store the files directly in the +path+ given. attr_accessor :path - def initialize(model, storage_id = nil, &block) + def initialize(model, storage_id = nil) super - instance_eval(&block) if block_given? @mode ||= :ssh @port ||= mode == :rsync_daemon ? 873 : 22 @compress ||= false @path ||= '~/backups'