ember-auth-session-local_storage-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: 25f1646a9251d49d2618ff050f5e93fd701f9caa
4
- data.tar.gz: 36d65b2b58b4ce748969d79d159be22add81a634
3
+ metadata.gz: 42bdf211b10d294a8f333964f72c2feced8566ce
4
+ data.tar.gz: 31ea4424f63438a919b42e262c655100667ec121
5
5
  SHA512:
6
- metadata.gz: 7941de0d852e56fe5a79b5635bd3f926544e12c1a61e1856d3e7b61c84209362d06aabf0776ff54bcef64912f16bc2ed16dc147880e7e5e94b9ac01ddf4c7d20
7
- data.tar.gz: feb05684ff602401174fe61a8c291f9dabb84bd8c138d6889317fbd6fb4228d4ca4e46db108524540cc3989ec6ad6c921140f6dc2813d6f3419b324c6207ac4f
6
+ metadata.gz: ce37e26b3c1b8a9dea0612eebefa4715b32d2b74b0ce903ebb9026acb985f7cd31d1ca04775710605ff5009fe3b04b30e9646a3b106124dcad6af665f8a2aa2e
7
+ data.tar.gz: c7db56702a1656c4b9dcd0c34aef9f15e8acf2f34282faf8d0d68081945270ad142fb4e684581648f4c201ff0964e28aca789dcdb897255f34b9311e55805618
@@ -1,11 +1,19 @@
1
1
  // Generated by EmberScript 0.0.7
2
2
  var get$ = Ember.get;
3
3
  Em.onLoad('Ember.Application', function (application) {
4
- return application.initializer({
4
+ application.initializer({
5
5
  name: 'ember-auth.session.local-storage',
6
6
  before: 'ember-auth-load',
7
7
  initialize: function (container, app) {
8
- return app.register('authSession:localStorage', get$(get$(Em, 'Auth'), 'LocalStorageAuthSession'));
8
+ app.register('authSession:localStorage', get$(get$(Em, 'Auth'), 'LocalStorageAuthSession'), { singleton: true });
9
+ return app.inject('authSession:localStorage', 'auth', 'auth:main');
10
+ }
11
+ });
12
+ return application.initializer({
13
+ name: 'ember-auth.session.local-storage-load',
14
+ after: 'ember-auth-load',
15
+ initialize: function (container, app) {
16
+ return container.lookup('authSession:localStorage');
9
17
  }
10
18
  });
11
19
  });// Generated by EmberScript 0.0.7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-session-local_storage-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