ember-auth-module-url_authenticatable-source 1.0.1 → 1.0.2

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: ca0fa24bd3e7fde35b5612af95e70af573b7d2cd
4
- data.tar.gz: 0c95061f06b2d25a0e0c990a9e52eb4bb867e988
3
+ metadata.gz: 181849dad81cf40d5bfacd501dc292c4ee284e77
4
+ data.tar.gz: 793a282c2b29e3ab395913b3c91837c4026b12a3
5
5
  SHA512:
6
- metadata.gz: 8d7c861e20f91366b790501c1bd32346b5be032a59e7b80711600ab7b608db9473c1c9b514aba8cc70255077855a4b56bf3db437d29e5c6478d992789128991b
7
- data.tar.gz: 092fb6c8b0f774d57d14e8c77c361cfcbef38c18705ab880b419302d519a58a1abbf709e1bd17169363a66b89bd87d33217d3a1dc3c394bf3cd7172a79152688
6
+ metadata.gz: 19ce07bebba3ab25f530cb1f993355badc88491ff1544ee7bc746c595f0b389c6f844a95e0eb7d10585908d9b3b30dceaf9cdc59d6d0d51e96f72872ad0ca051
7
+ data.tar.gz: 7218e59f4c9e1eb4fa925daa56609e660598ba35551b45e803fb4097a3d4c157c9a8491f19a270694a9c31455d895a6ccefac71016e6970d543a66dd60b9b54c
@@ -24,9 +24,14 @@ void function () {
24
24
  $ = jQuery;
25
25
  set$(get$(Em, 'Auth'), 'UrlAuthenticatableAuthModule', Ember.Object.extend({
26
26
  init: function () {
27
- null != get$(this, 'config') || set$(this, 'config', get$(get$(this, 'auth'), 'urlAuthenticatable'));
27
+ get$(this, 'auth')._config('urlAuthenticatable', get$(this, '_defaultConfig'));
28
+ null != get$(this, 'config') || set$(this, 'config', get$(this, 'auth')._config('urlAuthenticatable'));
28
29
  return this.patch();
29
30
  },
31
+ _defaultConfig: {
32
+ params: [],
33
+ endPoint: null
34
+ },
30
35
  authenticate: function (queryParams, opts) {
31
36
  var data, empty, param;
32
37
  if (null == opts)
@@ -71,11 +76,4 @@ void function () {
71
76
  });
72
77
  }
73
78
  }));
74
- }.call(this);// Generated by EmberScript 0.0.7
75
- var get$ = Ember.get;
76
- get$(Em, 'Auth').reopen({
77
- urlAuthenticatable: {
78
- params: [],
79
- endPoint: null
80
- }
81
- });
79
+ }.call(this);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-auth-module-url_authenticatable-source
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-10 00:00:00.000000000 Z
11
+ date: 2013-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ember-source