ember-auth-source 9.0.1 → 9.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/dist/ember-auth.js +28 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d980153ce56602acbad28412f3e01b7f6bf9df1
4
- data.tar.gz: 4fe74eaf92e19af44923398b5b4403df4e16df15
3
+ metadata.gz: 07e79e6a73e23ab0248750280eea6a206feebb88
4
+ data.tar.gz: 8164b78c72a35061ccaf64740d64cdfe0a94ba48
5
5
  SHA512:
6
- metadata.gz: 3be4e8883163fd539c3d2a5c8af225e2c2dfea94dcb2fed78e6ff0e56c81f66d05d7ea47aeee85d8677b7609dd6bc8430a717f71858b8a267d3502b3ffd53d71
7
- data.tar.gz: 7b1511a0a736522a979372dbd1ef2bcf8267330006826bf6f326b8bc572395512b3ee40cdcbc4bab4488a2baa57249658fbfee4693438c9a474c1052df2475d6
6
+ metadata.gz: 9d0373f73204eb9e91d7f6657d5b0b7b03b6ea287050192625fbce7c9dc3bbf28c12c57fee7422b3d4b5c27895be8b9cfe1406c161cecb9605b13946502acd61
7
+ data.tar.gz: f90d2b0a9aae0446131cccd23c075bb9ba0342f6472c32206cb9bfa6d3e94a2734a9f617620f3253a692e84bcc6026b1785783e0d443706886cf394e53564677
data/dist/ember-auth.js CHANGED
@@ -21,6 +21,34 @@ Em.onLoad('Ember.Application', function (application) {
21
21
  var get$ = Ember.get;
22
22
  var set$ = Ember.set;
23
23
  set$(Em, 'Auth', Ember.Object.extend({
24
+ init: function () {
25
+ return function (accum$) {
26
+ var k, v;
27
+ for (k in get$(this, '_defaults')) {
28
+ v = get$(this, '_defaults')[k];
29
+ accum$.push(typeof v === 'object' && this.get(k) ? function (accum$1) {
30
+ var k2, v2;
31
+ for (k2 in v) {
32
+ v2 = v[k2];
33
+ accum$1.push(!this.get('' + k + '.' + k2) ? this.set('' + k + '.' + k2, v2) : void 0);
34
+ }
35
+ return accum$1;
36
+ }.call(this, []) : !this.get(k) ? this.set(k, v) : void 0);
37
+ }
38
+ return accum$;
39
+ }.call(this, []);
40
+ },
41
+ _defaults: {},
42
+ _defaultConfig: function (namespace, defaults) {
43
+ return function (accum$) {
44
+ var k, v;
45
+ for (k in defaults) {
46
+ v = defaults[k];
47
+ accum$.push(namespace ? get$(this, '_defaults')[namespace][k] = v : get$(this, '_defaults')[k] = v);
48
+ }
49
+ return accum$;
50
+ }.call(this, []);
51
+ },
24
52
  _handlers: {
25
53
  signInSuccess: [],
26
54
  signInError: [],
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.0.1
4
+ version: 9.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