haml 3.1.0.alpha.145 → 3.1.0.alpha.147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/REVISION +1 -1
  2. data/VERSION +1 -1
  3. data/lib/haml/exec.rb +3 -3
  4. metadata +2 -2
data/REVISION CHANGED
@@ -1 +1 @@
1
- 60fa28e55e96e6b5192de6a7d45cddd0fb9de640
1
+ 87c0810609d3aa5b4200a7074831146d1345f4d1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0.alpha.145
1
+ 3.1.0.alpha.147
@@ -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.145
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-17 00:00:00 -05:00
13
+ date: 2010-12-29 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency