ember-auth-rails 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -199,7 +199,7 @@
199
199
  json = JSON.parse((Auth.get('jqxhr')).responseText);
200
200
  token = json[Auth.Config.get('rememberTokenKey')];
201
201
  curToken = $.cookie('ember-auth-remember-me');
202
- if (token !== curToken) {
202
+ if (token && token !== curToken) {
203
203
  return $.cookie('ember-auth-remember-me', token, {
204
204
  expires: Auth.Config.get('rememberPeriod')
205
205
  });
@@ -1,5 +1,5 @@
1
1
  module EmberAuth
2
2
  module Rails
3
- VERSION = '3.4.0'
3
+ VERSION = '3.4.1'
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module EmberAuth
2
- VERSION = '2.2.0'
2
+ VERSION = '2.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-22 00:00:00.000000000 Z
12
+ date: 2013-02-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ember-rails