dropup 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dropup +1 -2
  3. data/dropup.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a5f5c04597a8168388e2c1088da707fef35bc9d
4
- data.tar.gz: b1c8d1f5b67e8f351c311f3a64fbbf2c49e22a66
3
+ metadata.gz: 03c30c13c98abc02b9d87f010acc331123d3cf06
4
+ data.tar.gz: d4152baf7b405a3ab1aecfaaf83b6f9e76ca9018
5
5
  SHA512:
6
- metadata.gz: 5d4eb6a194d40337505cc71a041070b22e7efe79e46eadb6ce65a593cb3ede06f374efeca01930f71f8721b0fd56c3048ca5e8b3a9aa9ede92cd1a7dc2963778
7
- data.tar.gz: 45c00dfb1425e0f25f773561d9ee57026f96f1049d7b935f27277cf9eb2aea8326a92fb59877c36f1a72277e8ac4d71965e1a97753ea21314f5734d1bbf03b75
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
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'dropup'
3
- s.version = '0.2'
3
+ s.version = '0.3'
4
4
  s.date = '2014-10-01'
5
5
 
6
6
  s.authors = [ 'Torsten Curdt' ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dropup
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Torsten Curdt