morale 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Morale
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
4
4
 
5
5
  require 'morale/command'
data/morale.gemspec CHANGED
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.rubygems_version = '1.3.5'
6
6
 
7
7
  s.name = 'morale'
8
- s.version = '1.1.0'
8
+ s.version = '1.1.1'
9
9
  s.date = '2011-12-12'
10
10
  s.rubyforge_project = 'morale'
11
11
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Brilliant Fantastic