backup-agent 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/backup-agent.gemspec +1 -1
- data/lib/backup-agent/task.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4579356f6302b40be3a519c32f70f2d983305c5f
|
4
|
+
data.tar.gz: 516b995bbfee81941d5dfdc8f60289b5fab257ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4a0a137d12a368723f4a89b144f96d95c495e84aa972c665f237cd6801b55a553d07af85b248e132bb71136f4fec5dcce3defdb3bb4ca35dcfc7e22f7c1219d
|
7
|
+
data.tar.gz: a993f1d5909d213adeea6e3b51f618449820a91dd589e87a1c6bd29a683be885c486352b04a7a6636c71251043754dbd9b8a3f71dc1409df145bf0c3f686fe6a
|
data/backup-agent.gemspec
CHANGED
data/lib/backup-agent/task.rb
CHANGED
@@ -34,8 +34,8 @@ module Backup
|
|
34
34
|
|
35
35
|
set :mysql_connect, -> do
|
36
36
|
pass = get(:mysql_password)
|
37
|
-
pass_param = pass && !pass.empty? ? "
|
38
|
-
"--user #{get(:mysql_user)}
|
37
|
+
pass_param = pass && !pass.empty? ? "--password=#{pass}" : ''
|
38
|
+
"--user #{get(:mysql_user)} #{pass_param} --host=#{get(:mysql_host)}"
|
39
39
|
end
|
40
40
|
|
41
41
|
set :mongo_databases, -> do
|