ember-auth-module-epf-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-epf.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: 777a8970d68c8d2e9b28ee98398e716109440684
|
4
|
+
data.tar.gz: 0fc1411adfb3c596200d1eacaef8078a18fe979b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b547818236445e72f6f0ceffc41e3db958485a9ffa597d2e5891b3a8a78969ec3a776a41f30e4fa8704813391f4fb2682533eea1e29052c70198b93a9d5ebcb5
|
7
|
+
data.tar.gz: 8296ec988e1cfcdafcaa87441a91bf7719254ef5a770c2eae654aa1e37d2e05fadf904f73dc428a544b7fe3ddef7c16325282170293dfce3e071d1825c24edb5
|
@@ -22,13 +22,15 @@ var get$ = Ember.get;
|
|
22
22
|
var set$ = Ember.set;
|
23
23
|
set$(get$(Em, 'Auth'), 'EpfAuthModule', Ember.Object.extend({
|
24
24
|
init: function () {
|
25
|
-
|
25
|
+
get$(this, 'auth')._config('epf', get$(this, '_defaultConfig'));
|
26
|
+
null != get$(this, 'config') || set$(this, 'config', get$(this, 'auth')._config('epf'));
|
26
27
|
this.patch();
|
27
28
|
get$(this, 'auth').reopen({ user: get$(Em, 'computed').alias('module.epf.user') });
|
28
29
|
get$(this, 'auth').addHandler('signInSuccess', get$(this, 'findUser').bind(this));
|
29
30
|
get$(this, 'auth').addHandler('signInError', get$(this, 'clearUser').bind(this));
|
30
31
|
return get$(this, 'auth').addHandler('signOutSuccess', get$(this, 'clearUser').bind(this));
|
31
32
|
},
|
33
|
+
_defaultConfig: { userModel: false },
|
32
34
|
user: null,
|
33
35
|
findUser: function () {
|
34
36
|
var this$;
|
@@ -50,6 +52,4 @@ set$(get$(Em, 'Auth'), 'EpfAuthModule', Ember.Object.extend({
|
|
50
52
|
}
|
51
53
|
});
|
52
54
|
}
|
53
|
-
}))
|
54
|
-
var get$ = Ember.get;
|
55
|
-
get$(Em, 'Auth').reopen({ epf: { userModel: false } });
|
55
|
+
}));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-auth-module-epf-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
|