lib/astrails/safe/mysqldump.rb in astrails-safe-0.0.8 vs lib/astrails/safe/mysqldump.rb in astrails-safe-0.0.9

- old
+ new

@@ -4,9 +4,11 @@ def command "mysqldump --defaults-extra-file=#{password_file} #{@config[:options]} #{mysql_skip_tables} #{@id}" end + def extension; 'sql'; end + protected def password_file Astrails::Safe::TmpFile.create("mysqldump") do |file| file.puts "[mysqldump]"