ember_simple_auth-rails 0.5.0 → 0.5.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c712424c0c6c9b070df390bbd3c176c9bdb29b90
4
- data.tar.gz: bf11d01a6f13699f90f05f9d9d705bb8d2f02d20
3
+ metadata.gz: b9c3d50fcef3b82a07cff7d0ce176c53fcd0c1ef
4
+ data.tar.gz: 77c2740db11f821ee55252387da644f3be662df7
5
5
  SHA512:
6
- metadata.gz: 848f5821f40b7f280d5cdb4a7e9691a1a03337a63ef139d931b7760d528f7d78ded2476dfa37d1b6c6e0170e61ca5ddc63ba067432e7b1b533b954798a4e565c
7
- data.tar.gz: 7d9f664de21baf6f748e8e184ee0f980138ddc6b9b12cce15c1f4a2f849567bf0c829f5ddf16477b71f41578b37b9146f30319b042ca35fd0abd1a922a813b6b
6
+ metadata.gz: f972d87169bb1e62b7b3f808f6574207a5899e53696788433a1e0567dd210daf9d4255cbcaf23a77089e5dfee25d17686d20b72bf22cbfcce1058bd36fcee098
7
+ data.tar.gz: 93127b8f7ebb9600035275b4de84b67f2c70edbd55b0811e8aa343ccefbfbaf2022d9d7febd4665de5c2b8724eca9e6b03f707561602eb1d811cc477974c926d
@@ -1,5 +1,5 @@
1
1
  module EmberSimpleAuth
2
2
  module Rails
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
@@ -250,7 +250,9 @@ define("ember-simple-auth-oauth2/authenticators/oauth2",
250
250
  if (!Ember.isEmpty(refreshToken) && !Ember.isEmpty(expiresAt) && expiresAt > now - offset) {
251
251
  Ember.run.cancel(this._refreshTokenTimeout);
252
252
  delete this._refreshTokenTimeout;
253
- this._refreshTokenTimeout = Ember.run.later(this, this.refreshAccessToken, expiresIn, refreshToken, expiresAt - now - offset);
253
+ if (!Ember.testing) {
254
+ this._refreshTokenTimeout = Ember.run.later(this, this.refreshAccessToken, expiresIn, refreshToken, expiresAt - now - offset);
255
+ }
254
256
  }
255
257
  }
256
258
  },
@@ -536,8 +536,8 @@ define("ember-simple-auth/mixins/application_route_mixin",
536
536
  invalidation fails. These actions provide a good starting point for adding
537
537
  custom behavior to these events.
538
538
 
539
- __When this mixin is used and the application's ApplicationRoute defines the
540
- `acticate` method, that method has to call `_super`.__
539
+ __When this mixin is used and the application's `ApplicationRoute` defines
540
+ the `activate` method, that method has to call `_super`.__
541
541
 
542
542
  @class ApplicationRouteMixin
543
543
  @namespace $mainModule
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember_simple_auth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - frederik dudzik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler