spaceship 0.3.3 → 0.3.4
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.
- checksums.yaml +4 -4
- data/lib/spaceship/client.rb +2 -2
- data/lib/spaceship/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: e89341fcf932310a4b78c176c5b086e95ffab9da
|
|
4
|
+
data.tar.gz: 4920d972e2c514365ccd3fa9db4269a7ec3fb212
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5cb359bd10efbd58190b9542e35bf1de007af2441c2a39346a77f6877f562a7119cfbcc211609e677ce7ff53655b62ae09f154154f10219a6cb64a26f2d52859
|
|
7
|
+
data.tar.gz: 2b1727cdacbcc278cfdda3c82b39f54ebf5f0c259e7ce6c0e9af8a3aa2acf19295a83dc541878a45cb29fb14f8e8df09ca16614c6d3ae1d1b84a3a538e33cc04
|
data/lib/spaceship/client.rb
CHANGED
|
@@ -142,10 +142,10 @@ module Spaceship
|
|
|
142
142
|
require 'credentials_manager'
|
|
143
143
|
data = CredentialsManager::PasswordManager.shared_manager(user, false)
|
|
144
144
|
user ||= data.username
|
|
145
|
-
password
|
|
145
|
+
password = data.password
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
if user.to_s.strip.empty? or password.strip.
|
|
148
|
+
if user.to_s.strip.empty? or password.to_s.strip.empty?
|
|
149
149
|
raise NoUserCredentialsError.new("No login data provided")
|
|
150
150
|
end
|
|
151
151
|
|
data/lib/spaceship/version.rb
CHANGED