ember-auth-source 9.0.3 → 9.0.4

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 +0 -36
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f161ec559b487de30fb8744854947ab7f071190a
4
- data.tar.gz: 94c8b1ec040b45172b20cee8f86cf39c253234ee
3
+ metadata.gz: 7faee4fc5352dc751eacc6ee94d246d9e7e386cf
4
+ data.tar.gz: 257a9b255edfb3039d6044b2e906160a8b3f2f5c
5
5
  SHA512:
6
- metadata.gz: ddf151053d500fc1bfd3148818c157756ac870d013784d46fba55e28b31bc8bbb5eaa1ae4a4e376053985436cf22d80db62a20921c7a1113103f5090a5d3d4c3
7
- data.tar.gz: ad548eedc677ba12387b55d4891fef04c6ae5888563892d01dbfdcc93c98d635fd1e85ca4922915296eae9c73858de9a8162331b10a8ec87975b93bc55de9be5
6
+ metadata.gz: afa655e684f054cf1b44a813d7377a4faae8145a9e56b9791afb98203a571d2ef0131b47ce6da7a77924812b653180a76a41aad8227417aa4959763c31992b9a
7
+ data.tar.gz: 7411b833b8b2910cf4ea03ed92ff2b17eab410db122a44b10ce715ad6b18e30733c5dca63a8677d0d73a0533c16083cc4073d54cddee1d2197a0432c2bac48eb
@@ -69,42 +69,6 @@ void function () {
69
69
  _session: Ember.computed(function () {
70
70
  return get$(this, 'container').lookup('authSession:' + get$(this, 'session'));
71
71
  }).property('session'),
72
- _initializeAdapters: function () {
73
- var adapter, baseKlass, config, containerKey, containerType, klass, msg, type;
74
- for (var cache$ = [
75
- 'request',
76
- 'response',
77
- 'strategy',
78
- 'session'
79
- ], i$ = 0, length$ = cache$.length; i$ < length$; ++i$) {
80
- type = cache$[i$];
81
- msg = 'The `' + type + '` config should be a string';
82
- config = this.get(type);
83
- Em.assert(msg, typeof config === 'string');
84
- containerType = 'auth' + get$(Em, 'String').classify(type);
85
- containerKey = '' + containerType + ':' + config;
86
- adapter = get$(this, 'container').lookupFactory(containerKey);
87
- baseKlass = get$(Em, 'String').classify(containerType);
88
- klass = '' + get$(Em, 'String').classify(config) + baseKlass;
89
- msg = 'The requested `' + config + '` ' + type + 'Adapter cannot be found. Either name it (YourApp).' + klass + ', or register it in the container under `' + containerKey + '`.';
90
- Em.assert(msg, adapter);
91
- msg = 'The requested `' + config + '` ' + type + 'Adapter must extend from Ember.Auth.' + baseKlass;
92
- Em.assert(msg, get$(Em, 'Auth')[baseKlass].detect(adapter));
93
- }
94
- return null;
95
- },
96
- _initializeModules: function () {
97
- var containerKey, klass, module, moduleName, msg;
98
- for (var i$ = 0, length$ = get$(this, 'modules').length; i$ < length$; ++i$) {
99
- moduleName = get$(this, 'modules')[i$];
100
- containerKey = 'authModule:' + moduleName;
101
- klass = '' + get$(Em, 'String').classify(moduleName) + 'AuthModule';
102
- module = get$(this, 'container').lookupFactory(containerKey);
103
- msg = 'The requested `' + moduleName + '` module cannot be found. Either name it (YourApp).' + klass + ', or register it in the container under `' + containerKey + '`.';
104
- Em.assert(msg, module);
105
- }
106
- return null;
107
- },
108
72
  signIn: function (url, opts) {
109
73
  var this$;
110
74
  if (typeof opts === 'undefined') {
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.3
4
+ version: 9.0.4
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 00:00:00.000000000 Z
11
+ date: 2013-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ember-source