ember-auth-response-json-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: 08471012b017682a2ea9b032cc5456f76cdc4573
4
- data.tar.gz: d6ea0ce7095baf021f28180838157d8027ce6d0b
3
+ metadata.gz: 86dde4e3acda03fbbe3fae425ab89994d06c78db
4
+ data.tar.gz: 67e90ddd6226cd5b3f39c16104058a1287a38e63
5
5
  SHA512:
6
- metadata.gz: 071cca20962e2846cf7698b1472e66269b864ae63634600f56d58477c764b88a3634df6ade685a8c2e1704d9d5e5c59cab75a9841665d33b8521146ae5ad014c
7
- data.tar.gz: f3f2feba0c8f7ab30633d62fa57ad54c6c4b914befcaed55aeed117beacca4d758f27899beef1220ac98639beda228ba6edc1826972448ef6123c6fe342e3b34
6
+ metadata.gz: cbe6dea78a47d8c76feee2e6558f0873f2b6aa4a878be8591c69b4e4defa23ef12d14f4e19239abd78c12b8c61da7396a6d70d238fbe727d1c2db3acb40092e0
7
+ data.tar.gz: 97a4495645abc2342a4c6e4ccaf2f3ea68b4898d0619881caeea03b8f57c82d7f844fa72818dd2ade0ec5e220618b1cb0e46083aa89706278419d041f68ccf59
@@ -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.response.json',
6
6
  before: 'ember-auth-load',
7
7
  initialize: function (container, app) {
8
- return app.register('authResponse:json', get$(get$(Em, 'Auth'), 'JsonAuthResponse'));
8
+ app.register('authResponse:json', get$(get$(Em, 'Auth'), 'JsonAuthResponse'), { singleton: true });
9
+ return app.inject('authResponse:json', 'auth', 'auth:main');
10
+ }
11
+ });
12
+ return application.initializer({
13
+ name: 'ember-auth.response.json-load',
14
+ after: 'ember-auth-load',
15
+ initialize: function (container, app) {
16
+ return container.lookup('authResponse:json');
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-response-json-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