ember-auth-session-cookie-source 1.0.0 → 1.0.1

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: e9e092e755d74fda135227d69740fc47be1ca01b
4
- data.tar.gz: b010cb1a4a854faf8f2c1056904079811a2bc258
3
+ metadata.gz: 74315edb14665dd5ca74c772c02a2654eded84bd
4
+ data.tar.gz: 50d14cb0a380787574b6cd188d4cbcb6b439d8c3
5
5
  SHA512:
6
- metadata.gz: 28d1da0ec802c48a2b9759ae19e32deeb2a6a72fc869439e57d686e8b11c6e1895c084cd893be545dc04a412c95013c30d68b03cee6cf25f3874e130cfb55e2b
7
- data.tar.gz: 4f5881d4321fdaa33fd86e878f7dbd7dc0842b0605fe3e00e1dcfbfd55c3cd95692b23c701b1ec9edf4de909618328654d0e717d84fcba2255ce39b2fb3ec111
6
+ metadata.gz: 13d5f19b368aed4fca8763380cd20eb31d4c7b5a4dcefbaaa65eb60475a02c9242d1baccb98844aa6d5ddb81238f97141e11e5f5131dcbbe98f71d4c3f4186c3
7
+ data.tar.gz: c9040f31288d2f5d2bc6143339fe018ad04eaee3de27d3222116bfc224a2062436ce1d72826d544c6ba0acf8070605b3a66f40f117fb5636c21448c7b428acd1
@@ -94,11 +94,19 @@
94
94
  // Generated by EmberScript 0.0.7
95
95
  var get$ = Ember.get;
96
96
  Em.onLoad('Ember.Application', function (application) {
97
- return application.initializer({
97
+ application.initializer({
98
98
  name: 'ember-auth.session.cookie',
99
99
  before: 'ember-auth-load',
100
100
  initialize: function (container, app) {
101
- return app.register('authSession:cookie', get$(get$(Em, 'Auth'), 'CookieAuthSession'));
101
+ app.register('authSession:cookie', get$(get$(Em, 'Auth'), 'CookieAuthSession'), { singleton: true });
102
+ return app.inject('authSession:cookie', 'auth', 'auth:main');
103
+ }
104
+ });
105
+ return application.initializer({
106
+ name: 'ember-auth.session.cookie-load',
107
+ after: 'ember-auth-load',
108
+ initialize: function (container, app) {
109
+ return container.lookup('authSession:cookie');
102
110
  }
103
111
  });
104
112
  });// Generated by EmberScript 0.0.7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-session-cookie-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - heartsentwined