ember-cli-assets 0.0.3 → 0.0.4

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: 5aecd513cef5b10c97a714afedd6fb816865dddd
4
- data.tar.gz: 8649dfc87def28d856fd082a841bab45eb078e0e
3
+ metadata.gz: b814645f87e5d051b1077d7f0b875c5d94488be1
4
+ data.tar.gz: 2557db0ff7804180ec61066a11f7caed060b33fd
5
5
  SHA512:
6
- metadata.gz: 591b72bce8962bef79cd093302299c6abef2c9d4de664cb6b496aa5d71d4691b47dd539ed069f9bbf6f850ec98d51eb5ceade5f62cd148ff4fd8034e75ee83ca
7
- data.tar.gz: 6958bc5dd286639ea107c26c411a91f7e819d7443cbb6c66fe47fcf28f86072ff29e8d52543feb892c256670306e1cfe796c6dcef171e92b24eb11e00c45915d
6
+ metadata.gz: aa50e1e526d3e3e391505e07c0c4d0001af97bb0d0e1c804f5bf62b167966439300971039667c6ef72a9faeec72fa65b807af333d19435578a13d336fce9ac19
7
+ data.tar.gz: 0f1f2a11cd67713e6bbe0bea245b544f52a5893bd4b2b3858766972e6e52e774ddcc0283c0cdcef728d57870aaa4fe822f4b3d7a569999471fcee632a8d73221
@@ -1,7 +1,7 @@
1
1
  module Ember
2
2
  module CLI
3
3
  module Assets
4
- VERSION = '0.0.3'
4
+ VERSION = '0.0.4'
5
5
  end
6
6
  end
7
7
  end
@@ -1,7 +1,7 @@
1
1
  module Ember
2
2
  module CLI
3
3
  module Resolver
4
- VERSION = '0.1.13'
4
+ VERSION = '0.1.14'
5
5
  end
6
6
  end
7
7
  end
@@ -6,7 +6,7 @@
6
6
  // ==========================================================================
7
7
 
8
8
 
9
- // Version: 0.1.13
9
+ // Version: 0.1.14
10
10
 
11
11
  (function() {
12
12
  /*globals define registry requirejs */
@@ -97,6 +97,17 @@ define("ember/resolver",
97
97
  function resolveOther(parsedName) {
98
98
  /*jshint validthis:true */
99
99
 
100
+ if (!this._deprecatedPodModulePrefix) {
101
+ var podModulePrefix = this.namespace.podModulePrefix || '';
102
+ var podPath = podModulePrefix.substr(podModulePrefix.lastIndexOf('/') + 1);
103
+
104
+ Ember.deprecate('`podModulePrefix` is deprecated and will be removed '+
105
+ 'from future versions of ember-cli. Please move existing pods from '+
106
+ '\'app/' + podPath + '/\' to \'app/\'.', !this.namespace.podModulePrefix);
107
+
108
+ this._deprecatedPodModulePrefix = true;
109
+ }
110
+
100
111
  Ember.assert('`modulePrefix` must be defined', this.namespace.modulePrefix);
101
112
 
102
113
  var normalizedModuleName = this.findModuleName(parsedName);
@@ -143,13 +154,8 @@ define("ember/resolver",
143
154
  if (!this.pluralizedTypes.config) {
144
155
  this.pluralizedTypes.config = 'config';
145
156
  }
146
-
147
- var podModulePrefix = this.namespace.podModulePrefix || '';
148
- var podPath = podModulePrefix.substr(podModulePrefix.lastIndexOf('/') + 1);
149
- Ember.deprecate('`podModulePrefix` is deprecated and will be removed '+
150
- 'from future versions of ember-cli. Please move existing pods from '+
151
- '\'app/' + podPath + '/\' to \'app/\'.', !this.namespace.podModulePrefix);
152
157
 
158
+ this._deprecatedPodModulePrefix = false;
153
159
  },
154
160
  normalize: function(fullName) {
155
161
  return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-cli-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO