lib/astrails/safe.rb in astrails-safe-0.2.2 vs lib/astrails/safe.rb in astrails-safe-0.2.3

- old
+ new

@@ -39,13 +39,13 @@ def safe(&block) config = Config::Node.new(&block) #config.dump - [[Astrails::Safe::Mysqldump, [:mysqldump, :databases]], - [Astrails::Safe::Pgdump, [:pgdump, :databases]], - [Astrails::Safe::Archive, [:tar, :archives]], - [Astrails::Safe::Svndump, [:svndump, :repos]] + [[Mysqldump, [:mysqldump, :databases]], + [Pgdump, [:pgdump, :databases]], + [Archive, [:tar, :archives]], + [Svndump, [:svndump, :repos]] ].each do |klass, path| if collection = config[*path] collection.each do |name, config| klass.new(name, config).backup.run(config, :gpg, :gzip, :local, :s3, :sftp) end