rmybackup 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rmybackup.rb +3 -3
- metadata +2 -2
data/lib/rmybackup.rb
CHANGED
@@ -7,7 +7,7 @@ require File.expand_path('../rmybackup/purge_files',__FILE__)
|
|
7
7
|
|
8
8
|
module RMyBackup
|
9
9
|
|
10
|
-
GEM_VERSION = "0.2.
|
10
|
+
GEM_VERSION = "0.2.1"
|
11
11
|
|
12
12
|
class Base
|
13
13
|
def initialize(config_file)
|
@@ -34,9 +34,9 @@ module RMyBackup
|
|
34
34
|
|
35
35
|
#Decide if we use my.cnf or creds on cli
|
36
36
|
if @config['use_mycnf_credentials']
|
37
|
-
cred_string = " --user=#{@config['username']} --password=#{@config['password']} --host=#{@config['host']}"
|
38
|
-
else
|
39
37
|
cred_string = ''
|
38
|
+
else
|
39
|
+
cred_string = " --user=#{@config['username']} --password=#{@config['password']} --host=#{@config['host']}"
|
40
40
|
end
|
41
41
|
|
42
42
|
puts "Backing up #{db}\n"
|