staticmatic 0.9.4 → 0.9.5
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.
- data/lib/staticmatic/base.rb +2 -2
- data/lib/staticmatic/version.rb +1 -1
- metadata +5 -3
data/lib/staticmatic/base.rb
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
data/lib/staticmatic/version.rb
CHANGED
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
|
+
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-
|
|
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
|
|
178
|
+
rubygems_version: 1.3.1
|
|
177
179
|
signing_key:
|
|
178
180
|
specification_version: 2
|
|
179
181
|
summary: Manage static sites using Haml & Sass
|