zend 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/zend/auth.rb +3 -2
- data/lib/zend/version.rb +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: 9b0eca79914524044a554451efd2295301060fa7
|
4
|
+
data.tar.gz: 5638427f5136ae7e183f5059d28edd224fea2a4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08ed8a9dfb67a420ccee65cce8b6eb90758cbd8a059f4c18573144b5763cfac811cd23f0a6a98d99ea85475b09871c6f48a6757cfb257d1edeb1095cf25953e4
|
7
|
+
data.tar.gz: d3c3437c18ec430e19c4e5080ceaf59215c125c8ad3ce9e84a68c37bbf94d5648153fc65de34b1c72e0988bc2352d649c10ddb442fb7e7db763d565c4a47fd31
|
data/CHANGELOG.md
CHANGED
data/lib/zend/auth.rb
CHANGED
@@ -89,7 +89,7 @@ module Zend
|
|
89
89
|
netrc.delete(domain)
|
90
90
|
netrc.save
|
91
91
|
end
|
92
|
-
@
|
92
|
+
@api, @account, @credentials = nil
|
93
93
|
end
|
94
94
|
|
95
95
|
def read_credentials
|
@@ -128,10 +128,11 @@ module Zend
|
|
128
128
|
|
129
129
|
def authentication_failed
|
130
130
|
say 'Authentication failed.'
|
131
|
+
delete_credentials
|
132
|
+
|
131
133
|
if retry_login?
|
132
134
|
ask_for_and_save_credentials
|
133
135
|
else
|
134
|
-
delete_credentials
|
135
136
|
exit 1
|
136
137
|
end
|
137
138
|
end
|
data/lib/zend/version.rb
CHANGED