ember-handlebars-template 0.1.3 → 0.1.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: f3c63deadd5a286fb7929597b1cecf9c1374ac4e
4
- data.tar.gz: c76bef2a4bf3379fd1d52f839c84706459bf8a79
3
+ metadata.gz: 5c25ed8d75f46cc9f05fe573b6cdcf1db1ec2426
4
+ data.tar.gz: 90c24f5792c35e23431115a4a08cfa028a7cbf06
5
5
  SHA512:
6
- metadata.gz: e7470d3ba14739e6b88477818ac592cf3ff6485173fb326ca65266dca83d34d24d55d67ba79c627dbe8b03c01d789c6a29497fb7df9bf62f8395b129f71f1cdd
7
- data.tar.gz: d3ebc57884ee1bb7c72fff6132e7b76d3f16d8466bf5da9f064aac55ba52c132cb8474836c5483a7cc9ec32e92aed5c1c85b0e2f51d666bc3df039b8ad50d5f3
6
+ metadata.gz: 5c4bc0deb1284c0c246155d40212c464b0da4407525ac110674264c7719b54f1be26ab2b6f4046ff0fb6c3abea1021aba25bac6d05bc487018e9f71e070db6d6
7
+ data.tar.gz: 379c8314eabee4ccda9c95b144ea8565ef7364868435be28c28e41cfdde3db63fa14ef20f681762126d5983c78047d047069851a95a87d79b459669031f2ccfd
@@ -58,13 +58,16 @@ module Ember
58
58
  end
59
59
  end
60
60
 
61
+ actual_name = input[:name]
62
+ actual_name += '/index' if input[:filename][input[:load_path] + '/' + input[:name] + '/index']
63
+
61
64
  case config.output_type
62
65
  when :amd
63
- target = amd_template_target(config.amd_namespace, input[:name])
66
+ target = amd_template_target(config.amd_namespace, actual_name)
64
67
 
65
68
  "define('#{target}', ['exports'], function(__exports__){ __exports__['default'] = #{template} });"
66
69
  when :global
67
- target = global_template_target(input[:name], config)
70
+ target = global_template_target(actual_name, config)
68
71
 
69
72
  "#{target} = #{template}\n"
70
73
  else
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Handlebars
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-handlebars-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO