staticmatic 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -21,7 +21,7 @@ spec = Gem::Specification.new do |s|
21
21
  files.exclude 'contrib'
22
22
  s.files = files.to_a
23
23
  s.test_files = Dir.glob("test/*_test.rb")
24
- s.add_dependency("haml")
24
+ s.add_dependency("haml", ">=2.0.0")
25
25
  s.add_dependency("mongrel")
26
26
  s.executables=['staticmatic']
27
27
  end
data/bin/staticmatic CHANGED
File without changes
data/lib/staticmatic.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'haml'
3
+ require 'sass'
3
4
  require 'mongrel'
4
5
  require File.dirname(__FILE__) + '/staticmatic/helpers'
5
6
 
@@ -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.haml_line, "#{source_dir}/#{source_file}", haml_error.message)
135
+ raise StaticMatic::Error.new(haml_error.line_offset, "#{source_dir}/#{source_file}", haml_error.message)
136
136
  end
137
137
 
138
138
  #
@@ -158,7 +158,7 @@ module StaticMatic
158
158
  # layout
159
159
  raise staticmatic_error
160
160
  rescue Haml::Error => haml_error
161
- raise StaticMatic::Error.new(haml_error.haml_line, "Layout: #{source_dir}/#{@layout}", haml_error.message)
161
+ raise StaticMatic::Error.new("", "Layout: #{source_dir}/#{@layout}", haml_error.message)
162
162
  ensure
163
163
  @current_page = nil
164
164
  @current_file_stack.shift
@@ -2,7 +2,7 @@ module StaticMatic #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  URLIFIED = STRING.tr('.', '_')
metadata CHANGED
@@ -1,34 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
3
- specification_version: 1
4
2
  name: staticmatic
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.9.3
7
- date: 2007-12-06 00:00:00 +00:00
8
- summary: Manage static sites using Haml & Sass
9
- require_paths:
10
- - lib
11
- email: steve@curve21.com
12
- homepage: http//staticmatic.rubyforge.org
13
- rubyforge_project: staticmatic
14
- description:
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: false
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.9.4
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Stephen Bartholomew
31
8
  - Brent Beardsley (brentbeardsley@gmail.com)
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-05-27 00:00:00 +01:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: haml
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: mongrel
27
+ version_requirement:
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: "0"
33
+ version:
34
+ description:
35
+ email: steve@curve21.com
36
+ executables:
37
+ - staticmatic
38
+ extensions: []
39
+
40
+ extra_rdoc_files: []
41
+
32
42
  files:
33
43
  - bin
34
44
  - bin/staticmatic
@@ -39,8 +49,8 @@ files:
39
49
  - example/site/images
40
50
  - example/site/index.html
41
51
  - example/site/javascripts
52
+ - example/site/javascripts/application.css
42
53
  - example/site/stylesheets
43
- - example/site/stylesheets/application.css
44
54
  - example/src
45
55
  - example/src/layouts
46
56
  - example/src/layouts/application.haml
@@ -141,38 +151,35 @@ files:
141
151
  - website/src/pages/releases/0_9_0.haml
142
152
  - website/src/partials
143
153
  - website/src/partials/news.haml
154
+ has_rdoc: false
155
+ homepage: http//staticmatic.rubyforge.org
156
+ post_install_message:
157
+ rdoc_options: []
158
+
159
+ require_paths:
160
+ - lib
161
+ required_ruby_version: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: "0"
166
+ version:
167
+ required_rubygems_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: "0"
172
+ version:
173
+ requirements: []
174
+
175
+ rubyforge_project: staticmatic
176
+ rubygems_version: 1.1.0
177
+ signing_key:
178
+ specification_version: 2
179
+ summary: Manage static sites using Haml & Sass
144
180
  test_files:
145
181
  - test/base_test.rb
146
182
  - test/helpers_test.rb
147
183
  - test/server_test.rb
148
184
  - test/test_helper_test.rb
149
185
  - test/version_test.rb
150
- rdoc_options: []
151
-
152
- extra_rdoc_files: []
153
-
154
- executables:
155
- - staticmatic
156
- extensions: []
157
-
158
- requirements: []
159
-
160
- dependencies:
161
- - !ruby/object:Gem::Dependency
162
- name: haml
163
- version_requirement:
164
- version_requirements: !ruby/object:Gem::Version::Requirement
165
- requirements:
166
- - - ">"
167
- - !ruby/object:Gem::Version
168
- version: 0.0.0
169
- version:
170
- - !ruby/object:Gem::Dependency
171
- name: mongrel
172
- version_requirement:
173
- version_requirements: !ruby/object:Gem::Version::Requirement
174
- requirements:
175
- - - ">"
176
- - !ruby/object:Gem::Version
177
- version: 0.0.0
178
- version: