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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 873d0894f481838f97a2c9a860d85f5365ff27de
4
- data.tar.gz: 40c76073d907b8a0e45b2685eee8436420ad1eb8
3
+ metadata.gz: 777a8970d68c8d2e9b28ee98398e716109440684
4
+ data.tar.gz: 0fc1411adfb3c596200d1eacaef8078a18fe979b
5
5
  SHA512:
6
- metadata.gz: 31b44fa1682befb98f013b3babfa4fd420310cce1ce689bd3398a15200fa94e6663f881eb344c1143c73a7196aaad86a008bf21b7ac7dc183c64d9d8d8a1bad9
7
- data.tar.gz: 226fba648a93f7d791e07acc451be0b0028d8d9e7157d60bb45f2c6c371ca3d35fd288c87b471ec57d3c424258719af6b8089c73c7e04f50f08bec0f08ec710f
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
- null != get$(this, 'config') || set$(this, 'config', get$(get$(this, 'auth'), 'epf'));
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
- }));// Generated by EmberScript 0.0.7
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.1
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-10 00:00:00.000000000 Z
11
+ date: 2013-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ember-source