staticmatic 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/staticmatic.rb +1 -1
  2. metadata +2 -2
data/lib/staticmatic.rb CHANGED
@@ -88,7 +88,7 @@ class StaticMatic
88
88
 
89
89
  filename_without_extension = matches[1]
90
90
 
91
- page = Haml::Engine.new(File.read("#{@src_dir}/pages/#{file}", :locals => {:base_dir => @base_dir}))
91
+ page = Haml::Engine.new(File.read("#{@src_dir}/pages/#{file}"), :locals => {:base_dir => @base_dir})
92
92
  page_content = page.render
93
93
 
94
94
  content_with_layout = Haml::Engine.new(layout_content, :locals => {:base_dir => @base_dir}).render { page_content }
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: staticmatic
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.0
7
- date: 2007-05-24 00:00:00 +01:00
6
+ version: 0.1.1
7
+ date: 2007-05-27 00:00:00 +01:00
8
8
  summary: Manage static sites using Haml & Sass
9
9
  require_paths:
10
10
  - lib