haml 3.1.0.alpha.145 → 3.1.0.alpha.147
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of haml might be problematic. Click here for more details.
- data/REVISION +1 -1
- data/VERSION +1 -1
- data/lib/haml/exec.rb +3 -3
- metadata +2 -2
data/REVISION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
87c0810609d3aa5b4200a7074831146d1345f4d1
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.0.alpha.
|
1
|
+
3.1.0.alpha.147
|
data/lib/haml/exec.rb
CHANGED
@@ -263,6 +263,9 @@ END
|
|
263
263
|
template = input.read()
|
264
264
|
input.close() if input.is_a? File
|
265
265
|
|
266
|
+
@options[:load_paths].each {|p| $LOAD_PATH << p}
|
267
|
+
@options[:requires].each {|f| require f}
|
268
|
+
|
266
269
|
begin
|
267
270
|
engine = ::Haml::Engine.new(template, @options[:for_engine])
|
268
271
|
if @options[:check_syntax]
|
@@ -270,9 +273,6 @@ END
|
|
270
273
|
return
|
271
274
|
end
|
272
275
|
|
273
|
-
@options[:load_paths].each {|p| $LOAD_PATH << p}
|
274
|
-
@options[:requires].each {|f| require f}
|
275
|
-
|
276
276
|
if @options[:debug]
|
277
277
|
puts engine.precompiled
|
278
278
|
puts '=' * 100
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.alpha.
|
4
|
+
version: 3.1.0.alpha.147
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-12-
|
13
|
+
date: 2010-12-29 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|