ember-auth-strategy-dummy-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: 219d5c5b6f0bfadd181164abba7c7217c1594681
4
- data.tar.gz: 56499ad4b77eafe6ba8fa4c98efa05c4d3b1fdff
3
+ metadata.gz: db565c763716c3bd7911ae98702844e9e45d8209
4
+ data.tar.gz: bd82943bee1886a5ec6aab7f2d10414c919919f8
5
5
  SHA512:
6
- metadata.gz: a58496e8f25b9a9200d955408142aa20aab96e84783a430a123d8d16175629db883bd47d0f3f1a552d7bd608fe146928e49e4023c5cb83d4d855d045d1fdad7f
7
- data.tar.gz: 7b0084a24f907c7c41ce6869884b02c32fb22b9a93fe707d4f75f61e525da1759aec0bb06cecced0dfe624ccf373553a532f4832e1abfb459eb3fff6f17ca9ae
6
+ metadata.gz: aaaa7c035b7659528aee3c52fc7c9e9a9416a4dddd854661e1312d2d6fbc01031f211305de2b71c8def54c7337ab078ead51090d9087b22fa02f34ba3ef5f982
7
+ data.tar.gz: 2adb039bfb0f76c65b4dd7dac56688dc9cfdd5196686b01466c4bf43d3761c6f77b04133233de592261c55abd38dfce272720159ab23a652bfa19950a31c4110
@@ -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.strategy.dummy',
6
6
  before: 'ember-auth-load',
7
7
  initialize: function (container, app) {
8
- return app.register('authStrategy:dummy', get$(get$(Em, 'Auth'), 'DummyAuthStrategy'));
8
+ app.register('authStrategy:dummy', get$(get$(Em, 'Auth'), 'DummyAuthStrategy'), { singleton: true });
9
+ return app.inject('authStrategy:dummy', 'auth', 'auth:main');
10
+ }
11
+ });
12
+ return application.initializer({
13
+ name: 'ember-auth.strategy.dummy-load',
14
+ after: 'ember-auth-load',
15
+ initialize: function (container, app) {
16
+ return container.lookup('authStrategy:dummy');
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-strategy-dummy-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