ember-cli-assets 0.0.13 → 0.0.14

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: e8a198b91fac7f1e5ff821d9368172835da89b58
4
- data.tar.gz: 3f33116c234ea2eb8e12db95e213e82efdbc3e8d
3
+ metadata.gz: 87a3d6547a75004b8310bf9a2299e89632e4719f
4
+ data.tar.gz: 2d428f9e18dea1ae01c63a3102807ca67f9d271c
5
5
  SHA512:
6
- metadata.gz: d75c390633e479a1d30c3a78418ffaec1be4bf73418d817201a5ebf3c2bc14df68f2786cbc3e27fa56bc42f24f6959ba40d11840bc00b222b290f3a0b3668616
7
- data.tar.gz: bcafb3591176fb79fdcc00acd678c9460db40697efa8df7b796c19b3e488696c67aab27db414ac2592b9cce5c03182d2bc7432a031d92fb30b954cadfdcabb12
6
+ metadata.gz: 99a656a78816ee0fc74e0c89d68cf62687e35944841fba30eb014638e49417523e5d10469b61d9099901785b72dd1058ccf93d3e61ea5a56407881dda17ff309
7
+ data.tar.gz: 9138437d8e161fc545c71a44d9cd515d84267f12a64c6305aab0456f5904d2fc42320f726b1be1bec658151fc5a4c2919535b8edb82c536846e962f482d8d225
@@ -1,7 +1,7 @@
1
1
  module Ember
2
2
  module CLI
3
3
  module Assets
4
- VERSION = '0.0.13'
4
+ VERSION = '0.0.14'
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.18'
4
+ VERSION = '0.1.19'
5
5
  end
6
6
  end
7
7
  end
@@ -65,21 +65,34 @@ define("ember/resolver",
65
65
 
66
66
  if (fullName.parsedName === true) { return fullName; }
67
67
 
68
- var prefixParts = fullName.split('@');
69
- var prefix;
68
+ var prefix, type, name;
69
+ var fullNameParts = fullName.split('@');
70
+
71
+ // Htmlbars uses helper:@content-helper which collides
72
+ // with ember-cli namespace detection.
73
+ // This will be removed in a future release of Htmlbars.
74
+ if (fullName !== 'helper:@content-helper' &&
75
+ fullNameParts.length === 2) {
76
+ var prefixParts = fullNameParts[0].split(':');
77
+
78
+ if (prefixParts.length === 2) {
79
+ prefix = prefixParts[1];
80
+ type = prefixParts[0];
81
+ name = fullNameParts[1];
82
+ } else {
83
+ var nameParts = fullNameParts[1].split(':');
70
84
 
71
- if (prefixParts.length === 2) {
72
- if (prefixParts[0].split(':')[0] === 'view') {
73
- prefixParts[0] = prefixParts[0].split(':')[1];
74
- prefixParts[1] = 'view:' + prefixParts[1];
85
+ prefix = fullNameParts[0];
86
+ type = nameParts[0];
87
+ name = nameParts[1];
75
88
  }
76
-
77
- prefix = prefixParts[0];
89
+ } else {
90
+ fullNameParts = fullName.split(':');
91
+ type = fullNameParts[0];
92
+ name = fullNameParts[1];
78
93
  }
79
94
 
80
- var nameParts = prefixParts[prefixParts.length - 1].split(":");
81
- var type = nameParts[0], fullNameWithoutType = nameParts[1];
82
- var name = fullNameWithoutType;
95
+ var fullNameWithoutType = name;
83
96
  var namespace = get(this, 'namespace');
84
97
  var root = namespace;
85
98
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-cli-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-10 00:00:00.000000000 Z
11
+ date: 2015-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.4.7
100
+ rubygems_version: 2.4.5.1
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: The assets for Ember CLI.