morale 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/morale/account.rb +1 -1
- data/lib/morale.rb +1 -1
- data/morale.gemspec +1 -1
- metadata +2 -2
data/lib/morale/account.rb
CHANGED
@@ -82,7 +82,7 @@ module Morale
|
|
82
82
|
password = running_on_windows? ? ask_for_secret_on_windows : ask_for_secret
|
83
83
|
api_key = Morale::Client.authorize(user, password, @subdomain).api_key
|
84
84
|
|
85
|
-
say "Invalid email/password combination or API key was not generated." if api_key.empty?
|
85
|
+
say "Invalid email/password combination or API key was not generated." if api_key.nil? || api_key.empty?
|
86
86
|
|
87
87
|
[@subdomain, api_key]
|
88
88
|
end
|
data/lib/morale.rb
CHANGED
data/morale.gemspec
CHANGED