handlebars_assets 0.4.1 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- handlebars_assets (0.4.1)
4
+ handlebars_assets (0.4.3)
5
5
  execjs (>= 1.2.9)
6
6
  sprockets (>= 2.0.3)
7
7
  tilt
@@ -9,13 +9,15 @@ PATH
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- execjs (1.2.9)
12
+ execjs (1.3.0)
13
13
  multi_json (~> 1.0)
14
14
  hike (1.2.1)
15
- multi_json (1.0.3)
16
- rack (1.3.5)
17
- sprockets (2.1.2)
15
+ multi_json (1.2.0)
16
+ rack (1.4.1)
17
+ rake (0.9.2.2)
18
+ sprockets (2.4.0)
18
19
  hike (~> 1.2)
20
+ multi_json (~> 1.0)
19
21
  rack (~> 1.0)
20
22
  tilt (~> 1.1, != 1.3.0)
21
23
  tilt (1.3.3)
@@ -25,3 +27,4 @@ PLATFORMS
25
27
 
26
28
  DEPENDENCIES
27
29
  handlebars_assets!
30
+ rake
data/README.md CHANGED
@@ -24,6 +24,8 @@ Load `handlebars_assets` in your `Gemfile` as part of the `assets` group
24
24
 
25
25
  ## Installation without Rails 3.1+
26
26
 
27
+ `handlebars_assets` can work with earlier versions of Rails or other frameworks like Sinatra.
28
+
27
29
  Load `handlebars_assets` in your `Gemfile`
28
30
 
29
31
  gem 'handlebars_assets'
@@ -135,3 +137,4 @@ Once you've made your great commits
135
137
  * Thorben Schröder (@walski) : 3.1 asset group for precompile
136
138
  * Erwan Barrier (@erwanb) : Support for plain sprockets
137
139
  * Brendan Loudermilk (@bloudermilk) : HandlebarsAssets.path
140
+ * Dan Evans (@danevans) : Rails 2 support
@@ -21,4 +21,5 @@ Gem::Specification.new do |s|
21
21
  s.add_runtime_dependency "execjs", ">= 1.2.9"
22
22
  s.add_runtime_dependency "tilt"
23
23
  s.add_runtime_dependency "sprockets", ">= 2.0.3"
24
+ s.add_development_dependency "rake"
24
25
  end
@@ -10,7 +10,7 @@ module HandlebarsAssets
10
10
  autoload(:Handlebars, 'handlebars_assets/handlebars')
11
11
  autoload(:TiltHandlebars, 'handlebars_assets/tilt_handlebars')
12
12
 
13
- if defined?(Rails)
13
+ if defined?(Rails) && defined?(::Rails::Engine)
14
14
  require 'handlebars_assets/engine'
15
15
  else
16
16
  require 'sprockets'
@@ -1,3 +1,3 @@
1
1
  module HandlebarsAssets
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: handlebars_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-20 00:00:00.000000000Z
12
+ date: 2012-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs
16
- requirement: &70119801084460 !ruby/object:Gem::Requirement
16
+ requirement: &70330048405980 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.2.9
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70119801084460
24
+ version_requirements: *70330048405980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: tilt
27
- requirement: &70119801083540 !ruby/object:Gem::Requirement
27
+ requirement: &70330048405480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70119801083540
35
+ version_requirements: *70330048405480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sprockets
38
- requirement: &70119801082800 !ruby/object:Gem::Requirement
38
+ requirement: &70330048404860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,18 @@ dependencies:
43
43
  version: 2.0.3
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70119801082800
46
+ version_requirements: *70330048404860
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &70330048404340 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70330048404340
47
58
  description: Compile Handlebars templates in the Rails asset pipeline.
48
59
  email:
49
60
  - leshill@gmail.com
@@ -89,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
100
  version: '0'
90
101
  requirements: []
91
102
  rubyforge_project: handlebars_assets
92
- rubygems_version: 1.8.10
103
+ rubygems_version: 1.8.17
93
104
  signing_key:
94
105
  specification_version: 3
95
106
  summary: Compile Handlebars templates in the Rails asset pipeline.