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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9c3d50fcef3b82a07cff7d0ce176c53fcd0c1ef
|
4
|
+
data.tar.gz: 77c2740db11f821ee55252387da644f3be662df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f972d87169bb1e62b7b3f808f6574207a5899e53696788433a1e0567dd210daf9d4255cbcaf23a77089e5dfee25d17686d20b72bf22cbfcce1058bd36fcee098
|
7
|
+
data.tar.gz: 93127b8f7ebb9600035275b4de84b67f2c70edbd55b0811e8aa343ccefbfbaf2022d9d7febd4665de5c2b8724eca9e6b03f707561602eb1d811cc477974c926d
|
@@ -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
|
-
|
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
|
540
|
-
`
|
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.
|
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-
|
11
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|