lib/astrails/safe.rb in astrails-safe-0.0.8 vs lib/astrails/safe.rb in astrails-safe-0.0.9
- old
+ new
@@ -1,5 +1,6 @@
+require 'extensions/mktmpdir'
require 'astrails/safe/tmp_file'
require 'astrails/safe/config/node'
require 'astrails/safe/config/builder'
require 'astrails/safe/stream'
require 'astrails/safe/engine'
@@ -18,9 +19,10 @@
config = Config::Node.new(&block)
#config.dump
Astrails::Safe::Mysqldump.run(config[:mysqldump, :databases], timestamp)
Astrails::Safe::Archive.run(config[:tar, :archives], timestamp)
+ Astrails::Safe::TmpFile.cleanup
end
end
end