ember-handlebars-template 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ember-handlebars-template.gemspec +1 -1
- data/lib/ember/handlebars/helper.rb +10 -0
- data/lib/ember/handlebars/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f435358c02781da4abd3686d87d349a8a5703a
|
4
|
+
data.tar.gz: db5c10b766e383366ffc1fa0e2eeccdfc1aa17a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75938bb68f9fe0b3a36cd382de5071688477a74668f084a54b6397a6ca3719720579f652d1574197dd8e092c772baa940b936deddc52e1ab75ea9c065edfa474
|
7
|
+
data.tar.gz: 8e8a807daa3fe75c2f12645bc3ad81946780328406f906f5dd69bd23bd0404c44e9e18f2857ab5b5d18a9a6769c74f8d07fb550106d6fcc6bc804e6ab66d4672
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
21
|
spec.add_dependency 'sprockets', '>= 2.1', '< 3.1'
|
22
|
-
spec.add_dependency 'barber', '>= 0.
|
22
|
+
spec.add_dependency 'barber', '>= 0.9.0'
|
23
23
|
|
24
24
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
25
25
|
spec.add_development_dependency 'rake', '~> 10.0'
|
@@ -1,6 +1,16 @@
|
|
1
1
|
module Ember
|
2
2
|
module Handlebars
|
3
3
|
module Helper
|
4
|
+
def self.included(base)
|
5
|
+
base.extend ClassMethods
|
6
|
+
end
|
7
|
+
|
8
|
+
module ClassMethods
|
9
|
+
def setup_ember_template_compiler(path)
|
10
|
+
Barber::Ember::Precompiler.ember_template_compiler_path = path
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
4
14
|
private
|
5
15
|
|
6
16
|
def handlebars?(filename)
|
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.1.
|
4
|
+
version: 0.1.1
|
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-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.9.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.9.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|