dropup 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dropup +1 -2
- data/dropup.gemspec +1 -1
- 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: 03c30c13c98abc02b9d87f010acc331123d3cf06
|
4
|
+
data.tar.gz: d4152baf7b405a3ab1aecfaaf83b6f9e76ca9018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31c15038b0c35eb90d034a973b8e262dca67272f4a4d15c34778041cf5d4e5dea52416c55d2d49665b101d996a987962c35aa8f1ea01b2ade84939db47dd2bab
|
7
|
+
data.tar.gz: ff421385f1c942aaf864a133cbeddf2b5d9247112384470120244f906dcee1cd4577c3a901540b5dfbc3df499103df81e27060ef7d935f3847146feb912d7b05
|
data/bin/dropup
CHANGED
@@ -12,7 +12,6 @@ require 'terminal-notifier'
|
|
12
12
|
options = {
|
13
13
|
:size => 400, # in MB
|
14
14
|
:keep => 0, # number of backups to keep
|
15
|
-
:dry => false,
|
16
15
|
:verbose => false,
|
17
16
|
:notification => false
|
18
17
|
}
|
@@ -70,7 +69,7 @@ puts "Creating: #{backup}" if options[:verbose]
|
|
70
69
|
|
71
70
|
password = %x[security find-internet-password -s dropup -a password -g 2>&1][/^password:\s"([^"]*)"/,1]
|
72
71
|
|
73
|
-
if password ==
|
72
|
+
if password.nil? || password.length == 0
|
74
73
|
puts "Set a password: security add-internet-password -s dropup -U -T \"\" -a password -w <PASSWORD>"
|
75
74
|
exit
|
76
75
|
end
|
data/dropup.gemspec
CHANGED