ember-handlebars-template 0.2.0 → 0.2.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: be29b272bf5b8288cce5bcdeebaaedf3047f0319
4
- data.tar.gz: 8a84f66ed1b1e50f600b78c0e88f37e6801260d2
3
+ metadata.gz: 1bb431ee0da63180461b390d5f15520fa9ea2897
4
+ data.tar.gz: 4cbc70ec76f6fe15e3eba4dc0ccfac91d384b6eb
5
5
  SHA512:
6
- metadata.gz: 1a12de023d1804e5d848fd64307c106d1b3800b442f79b1ad15df56ecc57053c1f23effa8fd1f7d0d8b5debfe1875a2a27067b7d1d502bc34a963486a28123e9
7
- data.tar.gz: 697793581f1ec119257215fdf4cd46fe432b7a43ae0c5abf2c451bbb3dae1e4bf343f5d522ea9341ede77e3064e07d9a5525802fbfffe08357aafdf517178237
6
+ metadata.gz: 643769d767b9d37504f2a23c470fc31ddaf6c2d6ce74649508765301ec0283643e31bc9669d8a0b6d053f81e2e262759ac6a93ebc6248b7c8a39db83d4ec93fc
7
+ data.tar.gz: f5fc800a70571be8eeb3c03f678e4e9dc893d04685f37f485b24308fdd5e0b27e89ce0c46b00e411313c641c6bb96a33923db085da63f96d440dea167afd443c
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'sprockets', '>= 2.1', '< 3.2'
22
22
  spec.add_dependency 'barber', '>= 0.9.0'
23
+ spec.add_dependency 'tilt'
23
24
 
24
25
  spec.add_development_dependency 'bundler', '~> 1.7'
25
26
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -8,10 +8,10 @@ module Ember
8
8
  autoload :Helper, 'ember/handlebars/helper'
9
9
 
10
10
  case Sprockets::VERSION
11
- when /\A2\./
12
- autoload :Template, 'ember/handlebars/templates/sprockets2'
13
- when /\A3\./
14
- autoload :Template, 'ember/handlebars/templates/sprockets3'
11
+ when /\A2\./, /\A3\.1/
12
+ autoload :Template, 'ember/handlebars/templates/sprockets+tilt'
13
+ when /\A3\.0/
14
+ autoload :Template, 'ember/handlebars/templates/sprockets_only'
15
15
  else
16
16
  raise "Unsupported sprockets version: #{Sprockets::VERSION}"
17
17
  end
@@ -1,3 +1,5 @@
1
+ require 'tilt'
2
+
1
3
  module Ember
2
4
  module Handlebars
3
5
  class Template < Tilt::Template
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Handlebars
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.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.2.0
4
+ version: 0.2.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-05-25 00:00:00.000000000 Z
11
+ date: 2015-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets
@@ -44,6 +44,20 @@ dependencies:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: 0.9.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: tilt
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
47
61
  - !ruby/object:Gem::Dependency
48
62
  name: bundler
49
63
  requirement: !ruby/object:Gem::Requirement
@@ -105,8 +119,8 @@ files:
105
119
  - lib/ember/handlebars/config.rb
106
120
  - lib/ember/handlebars/helper.rb
107
121
  - lib/ember/handlebars/template.rb
108
- - lib/ember/handlebars/templates/sprockets2.rb
109
- - lib/ember/handlebars/templates/sprockets3.rb
122
+ - lib/ember/handlebars/templates/sprockets+tilt.rb
123
+ - lib/ember/handlebars/templates/sprockets_only.rb
110
124
  - lib/ember/handlebars/version.rb
111
125
  homepage: https://github.com/tricknotes/ember-handlebars-template
112
126
  licenses: