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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6ad7a61304a8e82244e186036b673eda9bc5dc2
4
- data.tar.gz: 3b9c2a0bec6ac9b4a9d7e404d51499e213b93798
3
+ metadata.gz: e6f435358c02781da4abd3686d87d349a8a5703a
4
+ data.tar.gz: db5c10b766e383366ffc1fa0e2eeccdfc1aa17a7
5
5
  SHA512:
6
- metadata.gz: 4ef634b2a82254509ba8102f76ee0c08256bdc20333a314e0efba7bc45d9b45751e94cdde4af25567c7b256b37e25d8183185e4001aa21e4320ed1704500c700
7
- data.tar.gz: d388ff94f0f10bc60f0db857c5c83d2da80cf8ac156634664f159c0cda1c660120c3bc7ded3ea976ca65408acfd26bfcba1b256bd1cc271a63dffb50571bd2be
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.8.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)
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Handlebars
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
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.0
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-03-29 00:00:00.000000000 Z
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.8.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.8.0
46
+ version: 0.9.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement