ember-auth-module-auth_redirectable-source 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/ember-auth-module-auth-redirectable.js +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a42c242db8d76dc55d6c87aa981ef9e6976a98bb
|
4
|
+
data.tar.gz: 92373b7783c738a776d0287c317b98e20647b0d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 781b3fef035f21980c282ee3b9d518faac70bbefcab5783a3762b3eb2a51ac5523567cd880ff0476c1d199d0d32d0c475ae9a3aff795171079d13b7f7ec15d04
|
7
|
+
data.tar.gz: 585367428c8db916f5e13e240019278d2df237ad843e8ca27585265182f1c71ee699e6e176734bb21d0deb504649da5bc449a3a1ed25c01ff0ee9cfbe6477043
|
@@ -21,10 +21,12 @@ var get$ = Ember.get;
|
|
21
21
|
var set$ = Ember.set;
|
22
22
|
set$(get$(Em, 'Auth'), 'AuthRedirectableAuthModule', Ember.Object.extend({
|
23
23
|
init: function () {
|
24
|
-
|
24
|
+
get$(this, 'auth')._config('authRedirectable', get$(this, '_defaultConfig'));
|
25
|
+
null != get$(this, 'config') || set$(this, 'config', get$(this, 'auth')._config('authRedirectable'));
|
25
26
|
set$(get$(get$(this, 'auth'), '_handlers'), 'authAccess', []);
|
26
27
|
return this.patch();
|
27
28
|
},
|
29
|
+
_defaultConfig: { route: null },
|
28
30
|
patch: function () {
|
29
31
|
var self;
|
30
32
|
self = this;
|
@@ -56,6 +58,4 @@ set$(get$(Em, 'Auth'), 'AuthRedirectableAuthModule', Ember.Object.extend({
|
|
56
58
|
}
|
57
59
|
});
|
58
60
|
}
|
59
|
-
}))
|
60
|
-
var get$ = Ember.get;
|
61
|
-
get$(Em, 'Auth').reopen({ authRedirectable: { route: null } });
|
61
|
+
}));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-auth-module-auth_redirectable-source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- heartsentwined
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ember-source
|