ember-handlebars-template 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ember/handlebars/helper.rb +2 -6
- data/lib/ember/handlebars/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c662ad212984651e61be86f2b031478b4bb8e5d
|
4
|
+
data.tar.gz: b46859139c45de4219333f8fae8256f442c7495d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61772751209fdc4a9bf1a9a9514081a5db6efdf0d76950941c7f093b555cecdab53c55ca82ff39694c72c658e1c65ec3148e71eceb0687abb87eedbf1ac5a339
|
7
|
+
data.tar.gz: 3d0bd2034d67abbab092f3a4962fd3a7b50d60908489ee360e2bc2f143c2a9ee6530501377c8d9d974753f36a6be30eb3b2166ea6e23b3f7bf168bc8c8d42731
|
@@ -36,14 +36,10 @@ module Ember
|
|
36
36
|
def template_path(path, config)
|
37
37
|
root = config.templates_root
|
38
38
|
|
39
|
-
|
40
|
-
root.each do |r|
|
39
|
+
unless root.empty?
|
40
|
+
Array(root).each.each do |r|
|
41
41
|
path.sub!(/#{Regexp.quote(r)}\//, '')
|
42
42
|
end
|
43
|
-
else
|
44
|
-
unless root.empty?
|
45
|
-
path.sub!(/#{Regexp.quote(root)}\/?/, '')
|
46
|
-
end
|
47
43
|
end
|
48
44
|
|
49
45
|
path = path.split('/')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-handlebars-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
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-
|
11
|
+
date: 2015-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.4.
|
145
|
+
rubygems_version: 2.4.7
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: The sprockets template for Ember Handlebars.
|