awestruct 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,12 @@ module Awestruct
20
20
  modified.each do |path|
21
21
  engine = ::Awestruct::Engine.instance
22
22
  unless ( path =~ %r(#{File.basename( engine.config.output_dir) }) || path =~ /.awestruct/ )
23
- engine.generate_page_by_output_path( path )
23
+ begin
24
+ engine.generate_page_by_output_path( path )
25
+ rescue => e
26
+ puts e
27
+ puts e.backtrace
28
+ end
24
29
  end
25
30
  end
26
31
  end
@@ -182,6 +182,7 @@ module Awestruct
182
182
 
183
183
  def execute_pipeline
184
184
  FileUtils.mkdir_p( site.config.output_dir )
185
+ FileUtils.mkdir_p( site.config.tmp_dir )
185
186
  pipeline.execute( site )
186
187
  end
187
188
 
@@ -1,5 +1,4 @@
1
1
 
2
- require 'hashery/open_cascade'
3
2
  require 'open3'
4
3
 
5
4
  module Awestruct
@@ -3,7 +3,6 @@ require 'awestruct/context'
3
3
 
4
4
  require 'awestruct/handlers/no_op_handler'
5
5
  require 'awestruct/handlers/page_delegating_handler'
6
- require 'hashery/open_cascade'
7
6
  require 'ostruct'
8
7
  require 'awestruct/astruct'
9
8
 
@@ -1,5 +1,4 @@
1
1
 
2
- #require 'hashery/open_cascade'
3
2
  require 'awestruct/layouts'
4
3
  require 'awestruct/astruct'
5
4
 
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Awestruct
3
- VERSION='0.4.3'
3
+ VERSION='0.4.4'
4
4
  end
metadata CHANGED
@@ -1,352 +1,233 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: awestruct
3
- version: !ruby/object:Gem::Version
4
- hash: 9
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.4
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 3
10
- version: 0.4.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bob McWhirter
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-06-08 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2012-06-14 00:00:00.000000000 -04:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hpricot
17
+ requirement: &70224754730200 !ruby/object:Gem::Requirement
24
18
  none: false
25
- requirements:
19
+ requirements:
26
20
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 51
29
- segments:
30
- - 0
31
- - 8
32
- - 6
21
+ - !ruby/object:Gem::Version
33
22
  version: 0.8.6
34
- name: hpricot
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- prerelease: false
38
23
  type: :runtime
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ prerelease: false
25
+ version_requirements: *70224754730200
26
+ - !ruby/object:Gem::Dependency
27
+ name: haml
28
+ requirement: &70224754729600 !ruby/object:Gem::Requirement
40
29
  none: false
41
- requirements:
30
+ requirements:
42
31
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 11
45
- segments:
46
- - 3
47
- - 1
48
- - 4
32
+ - !ruby/object:Gem::Version
49
33
  version: 3.1.4
50
- name: haml
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- prerelease: false
54
34
  type: :runtime
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ prerelease: false
36
+ version_requirements: *70224754729600
37
+ - !ruby/object:Gem::Dependency
38
+ name: sass
39
+ requirement: &70224754728920 !ruby/object:Gem::Requirement
56
40
  none: false
57
- requirements:
41
+ requirements:
58
42
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 29
61
- segments:
62
- - 3
63
- - 1
64
- - 15
43
+ - !ruby/object:Gem::Version
65
44
  version: 3.1.15
66
- name: sass
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- prerelease: false
70
45
  type: :runtime
71
- requirement: &id004 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 1
79
- - 5
80
- - 0
81
- version: 1.5.0
82
- name: hashery
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
46
  prerelease: false
86
- type: :runtime
87
- requirement: &id005 !ruby/object:Gem::Requirement
47
+ version_requirements: *70224754728920
48
+ - !ruby/object:Gem::Dependency
49
+ name: rdiscount
50
+ requirement: &70224754728280 !ruby/object:Gem::Requirement
88
51
  none: false
89
- requirements:
52
+ requirements:
90
53
  - - ~>
91
- - !ruby/object:Gem::Version
92
- hash: 31
93
- segments:
94
- - 1
95
- - 6
96
- - 8
54
+ - !ruby/object:Gem::Version
97
55
  version: 1.6.8
98
- name: rdiscount
99
- version_requirements: *id005
100
- - !ruby/object:Gem::Dependency
101
- prerelease: false
102
56
  type: :runtime
103
- requirement: &id006 !ruby/object:Gem::Requirement
57
+ prerelease: false
58
+ version_requirements: *70224754728280
59
+ - !ruby/object:Gem::Dependency
60
+ name: RedCloth
61
+ requirement: &70224754727620 !ruby/object:Gem::Requirement
104
62
  none: false
105
- requirements:
63
+ requirements:
106
64
  - - ~>
107
- - !ruby/object:Gem::Version
108
- hash: 37
109
- segments:
110
- - 4
111
- - 2
112
- - 9
65
+ - !ruby/object:Gem::Version
113
66
  version: 4.2.9
114
- name: RedCloth
115
- version_requirements: *id006
116
- - !ruby/object:Gem::Dependency
117
- prerelease: false
118
67
  type: :runtime
119
- requirement: &id007 !ruby/object:Gem::Requirement
68
+ prerelease: false
69
+ version_requirements: *70224754727620
70
+ - !ruby/object:Gem::Dependency
71
+ name: coffee-script
72
+ requirement: &70224754727000 !ruby/object:Gem::Requirement
120
73
  none: false
121
- requirements:
74
+ requirements:
122
75
  - - ~>
123
- - !ruby/object:Gem::Version
124
- hash: 7
125
- segments:
126
- - 2
127
- - 2
128
- - 0
76
+ - !ruby/object:Gem::Version
129
77
  version: 2.2.0
130
- name: coffee-script
131
- version_requirements: *id007
132
- - !ruby/object:Gem::Dependency
133
- prerelease: false
134
78
  type: :runtime
135
- requirement: &id008 !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ version_requirements: *70224754727000
81
+ - !ruby/object:Gem::Dependency
82
+ name: nokogiri
83
+ requirement: &70224754726000 !ruby/object:Gem::Requirement
136
84
  none: false
137
- requirements:
85
+ requirements:
138
86
  - - ~>
139
- - !ruby/object:Gem::Version
140
- hash: 7
141
- segments:
142
- - 1
143
- - 5
144
- - 2
87
+ - !ruby/object:Gem::Version
145
88
  version: 1.5.2
146
- name: nokogiri
147
- version_requirements: *id008
148
- - !ruby/object:Gem::Dependency
149
- prerelease: false
150
89
  type: :runtime
151
- requirement: &id009 !ruby/object:Gem::Requirement
90
+ prerelease: false
91
+ version_requirements: *70224754726000
92
+ - !ruby/object:Gem::Dependency
93
+ name: compass
94
+ requirement: &70224754725220 !ruby/object:Gem::Requirement
152
95
  none: false
153
- requirements:
96
+ requirements:
154
97
  - - ~>
155
- - !ruby/object:Gem::Version
156
- hash: 45
157
- segments:
158
- - 0
159
- - 12
160
- - 1
98
+ - !ruby/object:Gem::Version
161
99
  version: 0.12.1
162
- name: compass
163
- version_requirements: *id009
164
- - !ruby/object:Gem::Dependency
165
- prerelease: false
166
100
  type: :runtime
167
- requirement: &id010 !ruby/object:Gem::Requirement
101
+ prerelease: false
102
+ version_requirements: *70224754725220
103
+ - !ruby/object:Gem::Dependency
104
+ name: compass-960-plugin
105
+ requirement: &70224754724420 !ruby/object:Gem::Requirement
168
106
  none: false
169
- requirements:
107
+ requirements:
170
108
  - - ~>
171
- - !ruby/object:Gem::Version
172
- hash: 63
173
- segments:
174
- - 0
175
- - 10
176
- - 4
109
+ - !ruby/object:Gem::Version
177
110
  version: 0.10.4
178
- name: compass-960-plugin
179
- version_requirements: *id010
180
- - !ruby/object:Gem::Dependency
181
- prerelease: false
182
111
  type: :runtime
183
- requirement: &id011 !ruby/object:Gem::Requirement
112
+ prerelease: false
113
+ version_requirements: *70224754724420
114
+ - !ruby/object:Gem::Dependency
115
+ name: bootstrap-sass
116
+ requirement: &70224754723840 !ruby/object:Gem::Requirement
184
117
  none: false
185
- requirements:
118
+ requirements:
186
119
  - - ~>
187
- - !ruby/object:Gem::Version
188
- hash: 13
189
- segments:
190
- - 2
191
- - 0
192
- - 1
120
+ - !ruby/object:Gem::Version
193
121
  version: 2.0.1
194
- name: bootstrap-sass
195
- version_requirements: *id011
196
- - !ruby/object:Gem::Dependency
197
- prerelease: false
198
122
  type: :runtime
199
- requirement: &id012 !ruby/object:Gem::Requirement
123
+ prerelease: false
124
+ version_requirements: *70224754723840
125
+ - !ruby/object:Gem::Dependency
126
+ name: org-ruby
127
+ requirement: &70224754723200 !ruby/object:Gem::Requirement
200
128
  none: false
201
- requirements:
129
+ requirements:
202
130
  - - ~>
203
- - !ruby/object:Gem::Version
204
- hash: 13
205
- segments:
206
- - 0
207
- - 5
208
- - 3
131
+ - !ruby/object:Gem::Version
209
132
  version: 0.5.3
210
- name: org-ruby
211
- version_requirements: *id012
212
- - !ruby/object:Gem::Dependency
213
- prerelease: false
214
133
  type: :runtime
215
- requirement: &id013 !ruby/object:Gem::Requirement
134
+ prerelease: false
135
+ version_requirements: *70224754723200
136
+ - !ruby/object:Gem::Dependency
137
+ name: json
138
+ requirement: &70224754722620 !ruby/object:Gem::Requirement
216
139
  none: false
217
- requirements:
140
+ requirements:
218
141
  - - ~>
219
- - !ruby/object:Gem::Version
220
- hash: 3
221
- segments:
222
- - 1
223
- - 6
224
- - 6
142
+ - !ruby/object:Gem::Version
225
143
  version: 1.6.6
226
- name: json
227
- version_requirements: *id013
228
- - !ruby/object:Gem::Dependency
229
- prerelease: false
230
144
  type: :runtime
231
- requirement: &id014 !ruby/object:Gem::Requirement
232
- none: false
233
- requirements:
234
- - - ~>
235
- - !ruby/object:Gem::Version
236
- hash: 19
237
- segments:
238
- - 0
239
- - 1
240
- - 4
241
- version: 0.1.4
242
- name: notifier
243
- version_requirements: *id014
244
- - !ruby/object:Gem::Dependency
245
145
  prerelease: false
246
- type: :runtime
247
- requirement: &id015 !ruby/object:Gem::Requirement
146
+ version_requirements: *70224754722620
147
+ - !ruby/object:Gem::Dependency
148
+ name: git
149
+ requirement: &70224754721880 !ruby/object:Gem::Requirement
248
150
  none: false
249
- requirements:
151
+ requirements:
250
152
  - - ~>
251
- - !ruby/object:Gem::Version
252
- hash: 21
253
- segments:
254
- - 1
255
- - 2
256
- - 5
153
+ - !ruby/object:Gem::Version
257
154
  version: 1.2.5
258
- name: git
259
- version_requirements: *id015
260
- - !ruby/object:Gem::Dependency
261
- prerelease: false
262
155
  type: :runtime
263
- requirement: &id016 !ruby/object:Gem::Requirement
156
+ prerelease: false
157
+ version_requirements: *70224754721880
158
+ - !ruby/object:Gem::Dependency
159
+ name: listen
160
+ requirement: &70224754721200 !ruby/object:Gem::Requirement
264
161
  none: false
265
- requirements:
162
+ requirements:
266
163
  - - ~>
267
- - !ruby/object:Gem::Version
268
- hash: 11
269
- segments:
270
- - 0
271
- - 4
272
- - 2
164
+ - !ruby/object:Gem::Version
273
165
  version: 0.4.2
274
- name: listen
275
- version_requirements: *id016
276
- - !ruby/object:Gem::Dependency
277
- prerelease: false
278
166
  type: :runtime
279
- requirement: &id017 !ruby/object:Gem::Requirement
167
+ prerelease: false
168
+ version_requirements: *70224754721200
169
+ - !ruby/object:Gem::Dependency
170
+ name: thin
171
+ requirement: &70224754720680 !ruby/object:Gem::Requirement
280
172
  none: false
281
- requirements:
173
+ requirements:
282
174
  - - ~>
283
- - !ruby/object:Gem::Version
284
- hash: 25
285
- segments:
286
- - 1
287
- - 3
288
- - 1
175
+ - !ruby/object:Gem::Version
289
176
  version: 1.3.1
290
- name: thin
291
- version_requirements: *id017
292
- - !ruby/object:Gem::Dependency
293
- prerelease: false
294
177
  type: :runtime
295
- requirement: &id018 !ruby/object:Gem::Requirement
178
+ prerelease: false
179
+ version_requirements: *70224754720680
180
+ - !ruby/object:Gem::Dependency
181
+ name: eventmachine
182
+ requirement: &70224754719680 !ruby/object:Gem::Requirement
296
183
  none: false
297
- requirements:
184
+ requirements:
298
185
  - - ~>
299
- - !ruby/object:Gem::Version
300
- hash: 2101669041
301
- segments:
302
- - 1
303
- - 0
304
- - 0
305
- - beta
306
- - 4
186
+ - !ruby/object:Gem::Version
307
187
  version: 1.0.0.beta.4
308
- name: eventmachine
309
- version_requirements: *id018
310
- - !ruby/object:Gem::Dependency
188
+ type: :runtime
311
189
  prerelease: false
312
- type: :development
313
- requirement: &id019 !ruby/object:Gem::Requirement
190
+ version_requirements: *70224754719680
191
+ - !ruby/object:Gem::Dependency
192
+ name: hashery
193
+ requirement: &70224754704220 !ruby/object:Gem::Requirement
314
194
  none: false
315
- requirements:
195
+ requirements:
316
196
  - - ~>
317
- - !ruby/object:Gem::Version
318
- hash: 17
319
- segments:
320
- - 2
321
- - 9
322
- version: "2.9"
323
- name: rspec
324
- version_requirements: *id019
325
- - !ruby/object:Gem::Dependency
197
+ - !ruby/object:Gem::Version
198
+ version: 1.5.0
199
+ type: :development
326
200
  prerelease: false
201
+ version_requirements: *70224754704220
202
+ - !ruby/object:Gem::Dependency
203
+ name: rspec
204
+ requirement: &70224754702240 !ruby/object:Gem::Requirement
205
+ none: false
206
+ requirements:
207
+ - - ~>
208
+ - !ruby/object:Gem::Version
209
+ version: '2.9'
327
210
  type: :development
328
- requirement: &id020 !ruby/object:Gem::Requirement
211
+ prerelease: false
212
+ version_requirements: *70224754702240
213
+ - !ruby/object:Gem::Dependency
214
+ name: rake
215
+ requirement: &70224754700840 !ruby/object:Gem::Requirement
329
216
  none: false
330
- requirements:
217
+ requirements:
331
218
  - - ~>
332
- - !ruby/object:Gem::Version
333
- hash: 63
334
- segments:
335
- - 0
336
- - 9
337
- - 2
219
+ - !ruby/object:Gem::Version
338
220
  version: 0.9.2
339
- name: rake
340
- version_requirements: *id020
221
+ type: :development
222
+ prerelease: false
223
+ version_requirements: *70224754700840
341
224
  description: Awestruct is a framework for creating static HTML sites.
342
225
  email: bob@mcwhirter.org
343
- executables:
226
+ executables:
344
227
  - awestruct
345
228
  extensions: []
346
-
347
229
  extra_rdoc_files: []
348
-
349
- files:
230
+ files:
350
231
  - lib/awestruct/astruct.rb
351
232
  - lib/awestruct/astruct_mixin.rb
352
233
  - lib/awestruct/cli/auto.rb
@@ -429,38 +310,35 @@ files:
429
310
  - lib/awestruct/frameworks/bootstrap/base_index.html.haml
430
311
  - lib/awestruct/frameworks/bootstrap/base_layout.html.haml
431
312
  - bin/awestruct
313
+ has_rdoc: true
432
314
  homepage: http://awestruct.org
433
315
  licenses: []
434
-
435
316
  post_install_message:
436
317
  rdoc_options: []
437
-
438
- require_paths:
318
+ require_paths:
439
319
  - lib
440
- required_ruby_version: !ruby/object:Gem::Requirement
320
+ required_ruby_version: !ruby/object:Gem::Requirement
441
321
  none: false
442
- requirements:
443
- - - ">="
444
- - !ruby/object:Gem::Version
445
- hash: 3
446
- segments:
322
+ requirements:
323
+ - - ! '>='
324
+ - !ruby/object:Gem::Version
325
+ version: '0'
326
+ segments:
447
327
  - 0
448
- version: "0"
449
- required_rubygems_version: !ruby/object:Gem::Requirement
328
+ hash: -1329152766291393664
329
+ required_rubygems_version: !ruby/object:Gem::Requirement
450
330
  none: false
451
- requirements:
452
- - - ">="
453
- - !ruby/object:Gem::Version
454
- hash: 3
455
- segments:
331
+ requirements:
332
+ - - ! '>='
333
+ - !ruby/object:Gem::Version
334
+ version: '0'
335
+ segments:
456
336
  - 0
457
- version: "0"
337
+ hash: -1329152766291393664
458
338
  requirements: []
459
-
460
339
  rubyforge_project:
461
- rubygems_version: 1.8.15
340
+ rubygems_version: 1.6.2
462
341
  signing_key:
463
342
  specification_version: 3
464
343
  summary: Static site-baking utility
465
344
  test_files: []
466
-