ember-handlebars-template 0.3.4 → 0.3.5

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: 3253508afacb661bdc2d3130b07e55bc24b45202
4
- data.tar.gz: 68bee3efb9b74c840d8a744378a51023610c610d
3
+ metadata.gz: 8ed68abff1176b7e8d513b0d44a630a12fb816bb
4
+ data.tar.gz: ba7646b4367f84f71eb9b052dfcc2430fc075a70
5
5
  SHA512:
6
- metadata.gz: 94bee9eefbc6164e4fef964f9409d366f8557c7f4de53237160c589b0681e894c21866674fbf5bce48a4a540eb9463f77bdd929e9098cdc4bec75566d77c742b
7
- data.tar.gz: 03b42ee60d9436fe9efd984fa3d1cabcca8ba8971ebee74132dafc998d16fec7950230ff339b825fd20e13c978bbc8aa5a9b11bd87349b292ba07c6d8dbecfe9
6
+ metadata.gz: d9df80c3978331d11494e3d851af923e1e6d34193c8f6104f67aa503262616562c32b35b4c863ff1df2870a059fd2d0d2504fb9653a2a71595873fdfad9ffe39
7
+ data.tar.gz: 3c4416ad7ff98633d7e2f14963d56441595642928996eeb503eb585a426f3fe0ac2098cbb042c4d68d2224590be8221a6ad4265cfab73e47ade28ddf37513685
@@ -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.5'
22
- spec.add_dependency 'barber', '>= 0.9.0'
22
+ spec.add_dependency 'barber', '>= 0.10.0'
23
23
  spec.add_dependency 'tilt'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.7'
@@ -23,6 +23,10 @@ module Ember
23
23
  def config
24
24
  @config ||= Config.new
25
25
  end
26
+
27
+ def handlebars_available?
28
+ Barber::Precompiler.handlebars_available?
29
+ end
26
30
  end
27
31
 
28
32
  def prepare; end
@@ -25,6 +25,10 @@ module Ember
25
25
  def call(input)
26
26
  instance.call(input)
27
27
  end
28
+
29
+ def handlebars_available?
30
+ Barber::Precompiler.handlebars_available?
31
+ end
28
32
  end
29
33
 
30
34
  attr_reader :config
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Handlebars
3
- VERSION = '0.3.4'
3
+ VERSION = '0.3.5'
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.3.4
4
+ version: 0.3.5
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-10-06 00:00:00.000000000 Z
11
+ date: 2015-12-10 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.9.0
39
+ version: 0.10.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.9.0
46
+ version: 0.10.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: tilt
49
49
  requirement: !ruby/object:Gem::Requirement