dry_haml_handlebars 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -89,12 +89,12 @@ module DryHamlHandlebars
|
|
89
89
|
partial_name = [relative_view_path.gsub('/', '_'), view_name[1..-1]].join('_')
|
90
90
|
rabl_path, template_path, compiled_template_path = generate_file_names(relative_view_path, view_name)
|
91
91
|
|
92
|
-
Rails.logger.info <<-INFO_STRING
|
93
|
-
template_path = #{template_path}
|
94
|
-
options[:force_handlebars_compile] = #{options[:force_handlebars_compile]}
|
95
|
-
File.exist?(compiled_template_path) = #{File.exist?(compiled_template_path)}
|
96
|
-
env = #{env}
|
97
|
-
INFO_STRING
|
92
|
+
# Rails.logger.info <<-INFO_STRING
|
93
|
+
# template_path = #{template_path}
|
94
|
+
# options[:force_handlebars_compile] = #{options[:force_handlebars_compile]}
|
95
|
+
# File.exist?(compiled_template_path) = #{File.exist?(compiled_template_path)}
|
96
|
+
# env = #{env}
|
97
|
+
# INFO_STRING
|
98
98
|
|
99
99
|
if options[:force_handlebars_compile] or !File.exist?(compiled_template_path) or ( [:development, :test].include?(env) and ( File.mtime(compiled_template_path) < File.mtime(template.identifier) ) )
|
100
100
|
source = template.source
|
metadata
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dry_haml_handlebars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 0
|
8
|
+
- 13
|
9
|
+
version: 0.0.13
|
6
10
|
platform: ruby
|
7
11
|
authors:
|
8
12
|
- Jonathan Chambers
|
@@ -10,7 +14,8 @@ autorequire:
|
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
16
|
|
13
|
-
date: 2013-
|
17
|
+
date: 2013-03-23 00:00:00 +00:00
|
18
|
+
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rails
|
@@ -20,6 +25,10 @@ dependencies:
|
|
20
25
|
requirements:
|
21
26
|
- - ~>
|
22
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 3
|
30
|
+
- 2
|
31
|
+
- 0
|
23
32
|
version: 3.2.0
|
24
33
|
type: :runtime
|
25
34
|
version_requirements: *id001
|
@@ -31,6 +40,8 @@ dependencies:
|
|
31
40
|
requirements:
|
32
41
|
- - ">="
|
33
42
|
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
34
45
|
version: "0"
|
35
46
|
type: :runtime
|
36
47
|
version_requirements: *id002
|
@@ -42,6 +53,10 @@ dependencies:
|
|
42
53
|
requirements:
|
43
54
|
- - ~>
|
44
55
|
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
- 3
|
59
|
+
- 4
|
45
60
|
version: 0.3.4
|
46
61
|
type: :runtime
|
47
62
|
version_requirements: *id003
|
@@ -53,6 +68,10 @@ dependencies:
|
|
53
68
|
requirements:
|
54
69
|
- - ~>
|
55
70
|
- !ruby/object:Gem::Version
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
- 4
|
74
|
+
- 4
|
56
75
|
version: 0.4.4
|
57
76
|
type: :runtime
|
58
77
|
version_requirements: *id004
|
@@ -64,6 +83,10 @@ dependencies:
|
|
64
83
|
requirements:
|
65
84
|
- - "="
|
66
85
|
- !ruby/object:Gem::Version
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
- 7
|
89
|
+
- 9
|
67
90
|
version: 0.7.9
|
68
91
|
type: :runtime
|
69
92
|
version_requirements: *id005
|
@@ -75,6 +98,10 @@ dependencies:
|
|
75
98
|
requirements:
|
76
99
|
- - ~>
|
77
100
|
- !ruby/object:Gem::Version
|
101
|
+
segments:
|
102
|
+
- 3
|
103
|
+
- 0
|
104
|
+
- 2
|
78
105
|
version: 3.0.2
|
79
106
|
type: :runtime
|
80
107
|
version_requirements: *id006
|
@@ -103,6 +130,7 @@ files:
|
|
103
130
|
- lib/dry_haml_handlebars/version.rb
|
104
131
|
- lib/dry_haml_handlebars/view_helpers/action_view.rb
|
105
132
|
- vendor/assets/javascripts/underscore.js
|
133
|
+
has_rdoc: true
|
106
134
|
homepage: https://github.com/jmchambers/dry_haml_handlebars
|
107
135
|
licenses:
|
108
136
|
- MIT
|
@@ -116,17 +144,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
144
|
requirements:
|
117
145
|
- - ">="
|
118
146
|
- !ruby/object:Gem::Version
|
147
|
+
segments:
|
148
|
+
- 0
|
119
149
|
version: "0"
|
120
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
151
|
none: false
|
122
152
|
requirements:
|
123
153
|
- - ">="
|
124
154
|
- !ruby/object:Gem::Version
|
155
|
+
segments:
|
156
|
+
- 0
|
125
157
|
version: "0"
|
126
158
|
requirements: []
|
127
159
|
|
128
160
|
rubyforge_project: dry_haml_handlebars
|
129
|
-
rubygems_version: 1.
|
161
|
+
rubygems_version: 1.3.7
|
130
162
|
signing_key:
|
131
163
|
specification_version: 3
|
132
164
|
summary: Write haml templates, use both server and clientside (via handlebars.js)
|