staticmatic 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -132,7 +132,7 @@ module StaticMatic
132
132
  # layout
133
133
  raise staticmatic_error
134
134
  rescue Haml::Error => haml_error
135
- raise StaticMatic::Error.new(haml_error.line_offset, "#{source_dir}/#{source_file}", haml_error.message)
135
+ raise StaticMatic::Error.new(haml_error.line, "#{source_dir}/#{source_file}", haml_error.message)
136
136
  end
137
137
 
138
138
  #
@@ -183,7 +183,7 @@ module StaticMatic
183
183
  begin
184
184
  generate_html_from_template_source(File.read(partial_path), options)
185
185
  rescue Haml::Error => haml_error
186
- raise StaticMatic::Error.new(haml_error.haml_line, "Partial: #{partial_rel_path[0,partial_rel_path.length-5]}", haml_error.message)
186
+ raise StaticMatic::Error.new(haml_error.line, "Partial: #{partial_rel_path[0,partial_rel_path.length-5]}", haml_error.message)
187
187
  ensure
188
188
  @current_file_stack.shift
189
189
  end
@@ -2,7 +2,7 @@ module StaticMatic #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  URLIFIED = STRING.tr('.', '_')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staticmatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Bartholomew
@@ -10,11 +10,12 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-05-27 00:00:00 +01:00
13
+ date: 2008-12-15 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: haml
18
+ type: :runtime
18
19
  version_requirement:
19
20
  version_requirements: !ruby/object:Gem::Requirement
20
21
  requirements:
@@ -24,6 +25,7 @@ dependencies:
24
25
  version:
25
26
  - !ruby/object:Gem::Dependency
26
27
  name: mongrel
28
+ type: :runtime
27
29
  version_requirement:
28
30
  version_requirements: !ruby/object:Gem::Requirement
29
31
  requirements:
@@ -173,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
175
  requirements: []
174
176
 
175
177
  rubyforge_project: staticmatic
176
- rubygems_version: 1.1.0
178
+ rubygems_version: 1.3.1
177
179
  signing_key:
178
180
  specification_version: 2
179
181
  summary: Manage static sites using Haml & Sass