lib/backup/compressor/base.rb in backup-3.0.27 vs lib/backup/compressor/base.rb in backup-3.1.0
- old
+ new
@@ -1,11 +1,11 @@
# encoding: utf-8
module Backup
module Compressor
class Base
- include Backup::CLI::Helpers
+ include Backup::Utilities::Helpers
include Backup::Configuration::Helpers
##
# Yields to the block the compressor command and filename extension.
def compress_with
@@ -23,10 +23,10 @@
##
# Logs a message to the console and log file to inform
# the client that Backup is using the compressor
def log!
- Logger.message "Using #{ compressor_name } for compression.\n" +
+ Logger.info "Using #{ compressor_name } for compression.\n" +
" Command: '#{ @cmd }'\n" +
" Ext: '#{ @ext }'"
end
end