morale 1.1.0 → 1.1.1
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.
- 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