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