awestruct 0.5.6.beta8 → 0.5.6.beta9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -4
  3. data/Rakefile +1 -1
  4. data/awestruct.gemspec +22 -18
  5. data/lib/awestruct/cli/auto.rb +25 -21
  6. data/lib/awestruct/cli/generate.rb +3 -2
  7. data/lib/awestruct/cli/init.rb +2 -1
  8. data/lib/awestruct/cli/invoker.rb +4 -3
  9. data/lib/awestruct/cli/manifest.rb +41 -0
  10. data/lib/awestruct/cli/options.rb +10 -1
  11. data/lib/awestruct/cli/server.rb +36 -6
  12. data/lib/awestruct/config/default-site.yml +3 -0
  13. data/lib/awestruct/context.rb +17 -0
  14. data/lib/awestruct/context_helper.rb +25 -21
  15. data/lib/awestruct/deploy/s3_deploy.rb +41 -3
  16. data/lib/awestruct/engine.rb +64 -33
  17. data/lib/awestruct/extensions/disqus.rb +2 -2
  18. data/lib/awestruct/extensions/flattr.rb +1 -1
  19. data/lib/awestruct/extensions/pipeline.rb +30 -8
  20. data/lib/awestruct/extensions/relative.rb +3 -1
  21. data/lib/awestruct/extensions/sitemap.rb +6 -0
  22. data/lib/awestruct/extensions/sitemap.xml.haml +2 -1
  23. data/lib/awestruct/extensions/tagger.rb +7 -6
  24. data/lib/awestruct/extensions/template.atom.haml +1 -1
  25. data/lib/awestruct/frameworks/base_Gemfile +12 -1
  26. data/lib/awestruct/frameworks/bootstrap/base_index.html.haml +22 -20
  27. data/lib/awestruct/frameworks/bootstrap/base_layout.html.haml +9 -7
  28. data/lib/awestruct/handlers/asciidoctor_handler.rb +1 -1
  29. data/lib/awestruct/handlers/base_tilt_handler.rb +3 -1
  30. data/lib/awestruct/pipeline.rb +57 -7
  31. data/lib/awestruct/rack/generate.rb +43 -0
  32. data/lib/awestruct/util/exception_helper.rb +3 -0
  33. data/lib/awestruct/version.rb +1 -1
  34. data/spec/awestruct/cli/invoker_spec.rb +1 -1
  35. data/spec/awestruct/cli/options_spec.rb +14 -13
  36. data/spec/awestruct/cli/server_spec.rb +15 -0
  37. data/spec/awestruct/context_helper_spec.rb +5 -5
  38. data/spec/awestruct/engine_spec.rb +110 -1
  39. data/spec/awestruct/extensions/relative_spec.rb +22 -0
  40. data/spec/awestruct/handlers/asciidoc_handler_spec.rb +7 -1
  41. data/spec/awestruct/handlers/layout_handler_spec.rb +7 -7
  42. data/spec/awestruct/handlers/tilt_handler_spec.rb +1 -1
  43. data/spec/awestruct/pipeline_spec.rb +27 -2
  44. data/spec/awestruct/scm/git_spec.rb +4 -4
  45. data/spec/spec_helper.rb +6 -1
  46. data/spec/support/emmet_matchers.rb +1 -1
  47. data/spec/support/nokogiri_matchers.rb +1 -1
  48. data/spec/support/shared_handler_example.rb +66 -71
  49. data/spec/support/test-data/engine-generate-no-errors/_config/site.yml +26 -0
  50. data/spec/support/test-data/engine-generate-no-errors/_ext/pipeline.rb +8 -0
  51. data/spec/support/test-data/engine-generate-no-errors/_layouts/base.html.slim +6 -0
  52. data/spec/support/test-data/engine-generate-no-errors/index.html.slim +5 -0
  53. data/spec/support/test-data/engine-generate-with-errors/_config/site.yml +26 -0
  54. data/spec/support/test-data/engine-generate-with-errors/_ext/pipeline.rb +8 -0
  55. data/spec/support/test-data/engine-generate-with-errors/_layouts/base.html.slim +6 -0
  56. data/spec/support/test-data/engine-generate-with-errors/index.html.slim +6 -0
  57. data/spec/support/test-data/engine-yaml/_config/site.yml +9 -0
  58. data/spec/support/test-data/pipeline/_ext/extensions.rb +26 -0
  59. data/spec/support/test-data/pipeline/_ext/pipeline.rb +12 -0
  60. metadata +229 -72
@@ -0,0 +1,26 @@
1
+ profiles:
2
+ development:
3
+ show_drafts: false
4
+ cook: microwave
5
+ base_url: http://localhost:4242
6
+ production:
7
+ show_drafts: true
8
+ cook: oven
9
+ asciidoctor:
10
+ :eruby: erb
11
+ :attributes:
12
+ imagesdir: /img
13
+ staging:
14
+ compass_line_comments: off
15
+ compass_output_style: :compact
16
+ base_url: http://stage.example.com
17
+
18
+ title: Awestruction!
19
+ intl_name: Internéšnl
20
+
21
+ asciidoctor:
22
+ :safe: 0
23
+ :eruby: erubis
24
+ :attributes:
25
+ imagesdir: /assets/images
26
+ idprefix: ''
@@ -0,0 +1,8 @@
1
+ require 'awestruct/extensions/pipeline'
2
+
3
+ Awestruct::Extensions::Pipeline.new do
4
+ # extension Awestruct::Extensions::Posts.new '/news'
5
+ # extension Awestruct::Extensions::Indexifier.new
6
+ # Indexifier *must* come before Atomizer
7
+ # extension Awestruct::Extensions::Atomizer.new :posts, '/feed.atom'
8
+ end
@@ -0,0 +1,6 @@
1
+ doctype html
2
+ html
3
+ head
4
+ title Hello
5
+ body
6
+ = content
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+ p#find-me
5
+ | World
@@ -0,0 +1,26 @@
1
+ profiles:
2
+ development:
3
+ show_drafts: false
4
+ cook: microwave
5
+ base_url: http://localhost:4242
6
+ production:
7
+ show_drafts: true
8
+ cook: oven
9
+ asciidoctor:
10
+ :eruby: erb
11
+ :attributes:
12
+ imagesdir: /img
13
+ staging:
14
+ compass_line_comments: off
15
+ compass_output_style: :compact
16
+ base_url: http://stage.example.com
17
+
18
+ title: Awestruction!
19
+ intl_name: Internéšnl
20
+
21
+ asciidoctor:
22
+ :safe: 0
23
+ :eruby: erubis
24
+ :attributes:
25
+ imagesdir: /assets/images
26
+ idprefix: ''
@@ -0,0 +1,8 @@
1
+ require 'awestruct/extensions/pipeline'
2
+
3
+ Awestruct::Extensions::Pipeline.new do
4
+ # extension Awestruct::Extensions::Posts.new '/news'
5
+ # extension Awestruct::Extensions::Indexifier.new
6
+ # Indexifier *must* come before Atomizer
7
+ # extension Awestruct::Extensions::Atomizer.new :posts, '/feed.atom'
8
+ end
@@ -0,0 +1,6 @@
1
+ doctype html
2
+ html
3
+ head
4
+ title Hello
5
+ body
6
+ = content
@@ -0,0 +1,6 @@
1
+ ---
2
+ layout: base
3
+ ---
4
+ p#find-me
5
+ = nil.dump 'hi'
6
+
@@ -0,0 +1,9 @@
1
+ <% require "date" %>
2
+ profiles:
3
+ development:
4
+ show_drafts: false
5
+ cook: microwave
6
+ base_url: http://localhost:4242
7
+
8
+ date: <%= Date.parse('2015-04-13').iso8601 %>
9
+
@@ -0,0 +1,26 @@
1
+ module Awestruct
2
+ module Test
3
+ module Extensions
4
+ class TestBeforeExtension
5
+ def before_extensions site
6
+ end
7
+ end
8
+
9
+ class TestAfterExtension
10
+ def execute site
11
+ end
12
+ end
13
+
14
+ class TestAfterGenerationExtension
15
+ def execute site
16
+ end
17
+ end
18
+
19
+ class LinkTransformer
20
+ def transform site, page, content
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+
@@ -0,0 +1,12 @@
1
+ require 'support/test-data/pipeline/_ext/extensions'
2
+ require 'awestruct/extensions/pipeline'
3
+
4
+ Awestruct::Extensions::Pipeline.new do
5
+ extension Awestruct::Test::Extensions::TestBeforeExtension.new
6
+ extension Awestruct::Extensions::Indexifier.new
7
+ after_extensions Awestruct::Test::Extensions::TestAfterExtension.new
8
+ helper Awestruct::Extensions::Relative
9
+ transformer Awestruct::Test::Extensions::LinkTransformer.new
10
+ after_generation Awestruct::Test::Extensions::TestAfterGenerationExtension.new
11
+ end
12
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awestruct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6.beta8
4
+ version: 0.5.6.beta9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob McWhirter
@@ -10,255 +10,396 @@ authors:
10
10
  - Dan Allen
11
11
  - Torsten Curdt
12
12
  - other contributors
13
- autorequire:
13
+ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-01-12 00:00:00.000000000 Z
16
+ date: 2015-07-24 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
- name: haml
20
19
  requirement: !ruby/object:Gem::Requirement
21
20
  requirements:
22
21
  - - "~>"
22
+ - !ruby/object:Gem::Version
23
+ version: '4.0'
24
+ - - ">="
23
25
  - !ruby/object:Gem::Version
24
26
  version: 4.0.5
25
- type: :runtime
27
+ name: haml
26
28
  prerelease: false
29
+ type: :runtime
27
30
  version_requirements: !ruby/object:Gem::Requirement
28
31
  requirements:
29
32
  - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '4.0'
35
+ - - ">="
30
36
  - !ruby/object:Gem::Version
31
37
  version: 4.0.5
32
38
  - !ruby/object:Gem::Dependency
33
- name: asciidoctor
34
39
  requirement: !ruby/object:Gem::Requirement
35
40
  requirements:
41
+ - - "~>"
42
+ - !ruby/object:Gem::Version
43
+ version: '1.5'
36
44
  - - ">="
37
45
  - !ruby/object:Gem::Version
38
- version: '0'
39
- type: :runtime
46
+ version: 1.5.2
47
+ name: asciidoctor
40
48
  prerelease: false
49
+ type: :runtime
41
50
  version_requirements: !ruby/object:Gem::Requirement
42
51
  requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.5'
43
55
  - - ">="
44
56
  - !ruby/object:Gem::Version
45
- version: '0'
57
+ version: 1.5.2
46
58
  - !ruby/object:Gem::Dependency
47
- name: tilt
48
59
  requirement: !ruby/object:Gem::Requirement
49
60
  requirements:
50
61
  - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.0'
64
+ - - ">="
51
65
  - !ruby/object:Gem::Version
52
66
  version: 2.0.1
53
- type: :runtime
67
+ name: tilt
54
68
  prerelease: false
69
+ type: :runtime
55
70
  version_requirements: !ruby/object:Gem::Requirement
56
71
  requirements:
57
72
  - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '2.0'
75
+ - - ">="
58
76
  - !ruby/object:Gem::Version
59
77
  version: 2.0.1
60
78
  - !ruby/object:Gem::Dependency
61
- name: compass
62
79
  requirement: !ruby/object:Gem::Requirement
63
80
  requirements:
64
81
  - - "~>"
65
82
  - !ruby/object:Gem::Version
66
- version: 1.0.1
67
- type: :runtime
83
+ version: '2.1'
84
+ name: mime-types
68
85
  prerelease: false
86
+ type: :runtime
69
87
  version_requirements: !ruby/object:Gem::Requirement
70
88
  requirements:
71
89
  - - "~>"
72
90
  - !ruby/object:Gem::Version
73
- version: 1.0.1
91
+ version: '2.1'
74
92
  - !ruby/object:Gem::Dependency
75
- name: compass-960-plugin
76
93
  requirement: !ruby/object:Gem::Requirement
77
94
  requirements:
78
95
  - - "~>"
79
96
  - !ruby/object:Gem::Version
80
- version: 0.10.4
81
- type: :runtime
97
+ version: '1.7'
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 1.7.2
101
+ name: rest-client
82
102
  prerelease: false
103
+ type: :runtime
83
104
  version_requirements: !ruby/object:Gem::Requirement
84
105
  requirements:
85
106
  - - "~>"
86
107
  - !ruby/object:Gem::Version
87
- version: 0.10.4
108
+ version: '1.7'
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 1.7.2
88
112
  - !ruby/object:Gem::Dependency
89
- name: bootstrap-sass
90
113
  requirement: !ruby/object:Gem::Requirement
91
114
  requirements:
92
115
  - - "~>"
93
116
  - !ruby/object:Gem::Version
94
- version: 3.2.0.2
95
- type: :runtime
117
+ version: '2.7'
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ version: 2.7.1
121
+ name: listen
96
122
  prerelease: false
123
+ type: :runtime
97
124
  version_requirements: !ruby/object:Gem::Requirement
98
125
  requirements:
99
126
  - - "~>"
100
127
  - !ruby/object:Gem::Version
101
- version: 3.2.0.2
128
+ version: '2.7'
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 2.7.1
102
132
  - !ruby/object:Gem::Dependency
103
- name: zurb-foundation
104
133
  requirement: !ruby/object:Gem::Requirement
105
134
  requirements:
106
135
  - - "~>"
107
136
  - !ruby/object:Gem::Version
108
- version: 4.3.2
137
+ version: '1.5'
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 1.5.2
141
+ name: rack
142
+ prerelease: false
109
143
  type: :runtime
144
+ version_requirements: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - "~>"
147
+ - !ruby/object:Gem::Version
148
+ version: '1.5'
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 1.5.2
152
+ - !ruby/object:Gem::Dependency
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - "~>"
156
+ - !ruby/object:Gem::Version
157
+ version: '1.2'
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: 1.2.6
161
+ name: git
110
162
  prerelease: false
163
+ type: :runtime
111
164
  version_requirements: !ruby/object:Gem::Requirement
112
165
  requirements:
113
166
  - - "~>"
114
167
  - !ruby/object:Gem::Version
115
- version: 4.3.2
168
+ version: '1.2'
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: 1.2.6
116
172
  - !ruby/object:Gem::Dependency
117
- name: mime-types
118
173
  requirement: !ruby/object:Gem::Requirement
119
174
  requirements:
120
175
  - - "~>"
121
176
  - !ruby/object:Gem::Version
122
177
  version: '2.1'
123
- type: :runtime
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: 2.1.2
181
+ name: guard-livereload
124
182
  prerelease: false
183
+ type: :runtime
125
184
  version_requirements: !ruby/object:Gem::Requirement
126
185
  requirements:
127
186
  - - "~>"
128
187
  - !ruby/object:Gem::Version
129
188
  version: '2.1'
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 2.1.2
130
192
  - !ruby/object:Gem::Dependency
131
- name: rest-client
132
193
  requirement: !ruby/object:Gem::Requirement
133
194
  requirements:
134
195
  - - "~>"
135
196
  - !ruby/object:Gem::Version
136
- version: 1.7.2
137
- type: :runtime
197
+ version: '0.7'
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 0.7.1
201
+ name: colorize
138
202
  prerelease: false
203
+ type: :runtime
139
204
  version_requirements: !ruby/object:Gem::Requirement
140
205
  requirements:
141
206
  - - "~>"
142
207
  - !ruby/object:Gem::Version
143
- version: 1.7.2
208
+ version: '0.7'
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: 0.7.1
144
212
  - !ruby/object:Gem::Dependency
145
- name: ruby-s3cmd
146
213
  requirement: !ruby/object:Gem::Requirement
147
214
  requirements:
148
215
  - - "~>"
149
216
  - !ruby/object:Gem::Version
150
- version: 0.1.5
151
- type: :runtime
217
+ version: '0.3'
218
+ name: oga
152
219
  prerelease: false
220
+ type: :runtime
153
221
  version_requirements: !ruby/object:Gem::Requirement
154
222
  requirements:
155
223
  - - "~>"
156
224
  - !ruby/object:Gem::Version
157
- version: 0.1.5
225
+ version: '0.3'
158
226
  - !ruby/object:Gem::Dependency
159
- name: listen
160
227
  requirement: !ruby/object:Gem::Requirement
161
228
  requirements:
162
229
  - - "~>"
163
230
  - !ruby/object:Gem::Version
164
- version: 2.7.1
231
+ version: '3.2'
232
+ name: sass
233
+ prerelease: false
165
234
  type: :runtime
235
+ version_requirements: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: '3.2'
240
+ - !ruby/object:Gem::Dependency
241
+ requirement: !ruby/object:Gem::Requirement
242
+ requirements:
243
+ - - "~>"
244
+ - !ruby/object:Gem::Version
245
+ version: '1'
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: 1.0.1
249
+ name: compass
166
250
  prerelease: false
251
+ type: :runtime
167
252
  version_requirements: !ruby/object:Gem::Requirement
168
253
  requirements:
169
254
  - - "~>"
170
255
  - !ruby/object:Gem::Version
171
- version: 2.7.1
256
+ version: '1'
257
+ - - ">="
258
+ - !ruby/object:Gem::Version
259
+ version: 1.0.1
172
260
  - !ruby/object:Gem::Dependency
173
- name: rack
174
261
  requirement: !ruby/object:Gem::Requirement
175
262
  requirements:
176
263
  - - "~>"
177
264
  - !ruby/object:Gem::Version
178
- version: 1.5.2
265
+ version: '1.1'
266
+ - - ">"
267
+ - !ruby/object:Gem::Version
268
+ version: 1.1.1
269
+ name: parallel
270
+ prerelease: false
179
271
  type: :runtime
272
+ version_requirements: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - "~>"
275
+ - !ruby/object:Gem::Version
276
+ version: '1.1'
277
+ - - ">"
278
+ - !ruby/object:Gem::Version
279
+ version: 1.1.1
280
+ - !ruby/object:Gem::Dependency
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: 1.5.0
286
+ - - ">="
287
+ - !ruby/object:Gem::Version
288
+ version: 1.5.10
289
+ name: nokogiri
180
290
  prerelease: false
291
+ type: :development
181
292
  version_requirements: !ruby/object:Gem::Requirement
182
293
  requirements:
183
294
  - - "~>"
184
295
  - !ruby/object:Gem::Version
185
- version: 1.5.2
296
+ version: 1.5.0
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: 1.5.10
186
300
  - !ruby/object:Gem::Dependency
187
- name: git
188
301
  requirement: !ruby/object:Gem::Requirement
189
302
  requirements:
190
303
  - - "~>"
191
304
  - !ruby/object:Gem::Version
192
- version: 1.2.6
193
- type: :runtime
305
+ version: '0.10'
306
+ - - ">="
307
+ - !ruby/object:Gem::Version
308
+ version: 0.10.4
309
+ name: compass-960-plugin
194
310
  prerelease: false
311
+ type: :development
195
312
  version_requirements: !ruby/object:Gem::Requirement
196
313
  requirements:
197
314
  - - "~>"
198
315
  - !ruby/object:Gem::Version
199
- version: 1.2.6
316
+ version: '0.10'
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: 0.10.4
200
320
  - !ruby/object:Gem::Dependency
201
- name: guard-livereload
202
321
  requirement: !ruby/object:Gem::Requirement
203
322
  requirements:
204
323
  - - "~>"
205
324
  - !ruby/object:Gem::Version
206
- version: 2.1.2
207
- type: :runtime
325
+ version: '3'
326
+ - - ">="
327
+ - !ruby/object:Gem::Version
328
+ version: 3.2.0.2
329
+ name: bootstrap-sass
208
330
  prerelease: false
331
+ type: :development
209
332
  version_requirements: !ruby/object:Gem::Requirement
210
333
  requirements:
211
334
  - - "~>"
212
335
  - !ruby/object:Gem::Version
213
- version: 2.1.2
336
+ version: '3'
337
+ - - ">="
338
+ - !ruby/object:Gem::Version
339
+ version: 3.2.0.2
214
340
  - !ruby/object:Gem::Dependency
215
- name: colorize
216
341
  requirement: !ruby/object:Gem::Requirement
217
342
  requirements:
218
343
  - - "~>"
219
344
  - !ruby/object:Gem::Version
220
- version: 0.7.1
221
- type: :runtime
345
+ version: 4.3.2
346
+ - - ">="
347
+ - !ruby/object:Gem::Version
348
+ version: 4.3.2
349
+ name: zurb-foundation
222
350
  prerelease: false
351
+ type: :development
223
352
  version_requirements: !ruby/object:Gem::Requirement
224
353
  requirements:
225
354
  - - "~>"
226
355
  - !ruby/object:Gem::Version
227
- version: 0.7.1
356
+ version: 4.3.2
357
+ - - ">="
358
+ - !ruby/object:Gem::Version
359
+ version: 4.3.2
228
360
  - !ruby/object:Gem::Dependency
229
- name: parallel
230
361
  requirement: !ruby/object:Gem::Requirement
231
362
  requirements:
232
- - - ">"
363
+ - - "~>"
233
364
  - !ruby/object:Gem::Version
234
- version: 1.1.1
235
- type: :runtime
365
+ version: '0.9'
366
+ name: simplecov
236
367
  prerelease: false
368
+ type: :development
237
369
  version_requirements: !ruby/object:Gem::Requirement
238
370
  requirements:
239
- - - ">"
371
+ - - "~>"
240
372
  - !ruby/object:Gem::Version
241
- version: 1.1.1
373
+ version: '0.9'
242
374
  - !ruby/object:Gem::Dependency
243
- name: nokogiri
244
375
  requirement: !ruby/object:Gem::Requirement
245
376
  requirements:
246
377
  - - "~>"
247
378
  - !ruby/object:Gem::Version
248
- version: 1.5.10
379
+ version: '3.0'
380
+ name: rspec
381
+ prerelease: false
249
382
  type: :development
383
+ version_requirements: !ruby/object:Gem::Requirement
384
+ requirements:
385
+ - - "~>"
386
+ - !ruby/object:Gem::Version
387
+ version: '3.0'
388
+ - !ruby/object:Gem::Dependency
389
+ requirement: !ruby/object:Gem::Requirement
390
+ requirements:
391
+ - - "~>"
392
+ - !ruby/object:Gem::Version
393
+ version: '4.0'
394
+ name: guard-rspec
250
395
  prerelease: false
396
+ type: :development
251
397
  version_requirements: !ruby/object:Gem::Requirement
252
398
  requirements:
253
399
  - - "~>"
254
400
  - !ruby/object:Gem::Version
255
- version: 1.5.10
256
- description: Awestruct is a static site baking and publishing tool. It supports an
257
- extensive list of both templating and markup languages via Tilt (Haml, Slim, AsciiDoc,
258
- Markdown, Sass via Compass, etc), provides mobile-first layout and styling via Bootstrap
259
- or Foundation, offers a variety of deployment options (rsync, git, S3), handles
260
- site optimizations (minification, compression, cache busting), includes built-in
261
- extensions such as blog post management and is highly extensible.
401
+ version: '4.0'
402
+ description: Awestruct is a static site baking and publishing tool. It supports an extensive list of both templating and markup languages via Tilt (Haml, Slim, AsciiDoc, Markdown, Sass via Compass, etc), provides mobile-first layout and styling via Bootstrap or Foundation, offers a variety of deployment options (rsync, git, S3), handles site optimizations (minification, compression, cache busting), includes built-in extensions such as blog post management and is highly extensible.
262
403
  email:
263
404
  - bob@mcwhirter.org
264
405
  - lightguard.jp@gmail.com
@@ -364,6 +505,7 @@ files:
364
505
  - lib/awestruct/page_loader.rb
365
506
  - lib/awestruct/pipeline.rb
366
507
  - lib/awestruct/rack/app.rb
508
+ - lib/awestruct/rack/generate.rb
367
509
  - lib/awestruct/scm/git.rb
368
510
  - lib/awestruct/site.rb
369
511
  - lib/awestruct/util/COPYING
@@ -377,6 +519,7 @@ files:
377
519
  - spec/awestruct/cli/init_spec.rb
378
520
  - spec/awestruct/cli/invoker_spec.rb
379
521
  - spec/awestruct/cli/options_spec.rb
522
+ - spec/awestruct/cli/server_spec.rb
380
523
  - spec/awestruct/config_spec.rb
381
524
  - spec/awestruct/context_helper_spec.rb
382
525
  - spec/awestruct/deploy/base_deploy_spec.rb
@@ -387,6 +530,7 @@ files:
387
530
  - spec/awestruct/extensions/disqus_spec.rb
388
531
  - spec/awestruct/extensions/minify_spec.rb
389
532
  - spec/awestruct/extensions/posts_spec.rb
533
+ - spec/awestruct/extensions/relative_spec.rb
390
534
  - spec/awestruct/handler_chain_spec.rb
391
535
  - spec/awestruct/handler_chains_spec.rb
392
536
  - spec/awestruct/handlers/asciidoc_handler_spec.rb
@@ -426,6 +570,15 @@ files:
426
570
  - spec/support/test-data/engine-compass/_config/compass.rb
427
571
  - spec/support/test-data/engine-compass/_config/other.yml
428
572
  - spec/support/test-data/engine-compass/_config/site.yml
573
+ - spec/support/test-data/engine-generate-no-errors/_config/site.yml
574
+ - spec/support/test-data/engine-generate-no-errors/_ext/pipeline.rb
575
+ - spec/support/test-data/engine-generate-no-errors/_layouts/base.html.slim
576
+ - spec/support/test-data/engine-generate-no-errors/index.html.slim
577
+ - spec/support/test-data/engine-generate-with-errors/_config/site.yml
578
+ - spec/support/test-data/engine-generate-with-errors/_ext/pipeline.rb
579
+ - spec/support/test-data/engine-generate-with-errors/_layouts/base.html.slim
580
+ - spec/support/test-data/engine-generate-with-errors/index.html.slim
581
+ - spec/support/test-data/engine-yaml/_config/site.yml
429
582
  - spec/support/test-data/engine/_config/arbitrary.yml
430
583
  - spec/support/test-data/engine/_config/other.yml
431
584
  - spec/support/test-data/engine/_config/site.yml
@@ -503,6 +656,8 @@ files:
503
656
  - spec/support/test-data/page-loader/page-draft.md
504
657
  - spec/support/test-data/page-loader/page-one.md
505
658
  - spec/support/test-data/page-loader/page-two.html.haml
659
+ - spec/support/test-data/pipeline/_ext/extensions.rb
660
+ - spec/support/test-data/pipeline/_ext/pipeline.rb
506
661
  - spec/support/test-data/simple-data.yaml
507
662
  - spec/support/test-data/simple-file.txt
508
663
  - spec/support/test-data/stylesheets/screen.css
@@ -511,7 +666,7 @@ homepage: http://awestruct.org
511
666
  licenses:
512
667
  - MIT
513
668
  metadata: {}
514
- post_install_message:
669
+ post_install_message:
515
670
  rdoc_options:
516
671
  - "--charset=UTF-8"
517
672
  require_paths:
@@ -531,8 +686,8 @@ requirements:
531
686
  Any markup languages you are using and its dependencies.
532
687
  Haml and Markdown filters are touchy things. Redcarpet or Rdiscount work well if you're running on MRI. JRuby should be using haml 4.0.0+ with Kramdown.'
533
688
  rubyforge_project: awestruct
534
- rubygems_version: 2.2.2
535
- signing_key:
689
+ rubygems_version: 2.4.8
690
+ signing_key:
536
691
  specification_version: 4
537
692
  summary: Static site baking and publishing tool
538
693
  test_files:
@@ -540,6 +695,7 @@ test_files:
540
695
  - spec/awestruct/cli/init_spec.rb
541
696
  - spec/awestruct/cli/invoker_spec.rb
542
697
  - spec/awestruct/cli/options_spec.rb
698
+ - spec/awestruct/cli/server_spec.rb
543
699
  - spec/awestruct/config_spec.rb
544
700
  - spec/awestruct/context_helper_spec.rb
545
701
  - spec/awestruct/deploy/base_deploy_spec.rb
@@ -550,6 +706,7 @@ test_files:
550
706
  - spec/awestruct/extensions/disqus_spec.rb
551
707
  - spec/awestruct/extensions/minify_spec.rb
552
708
  - spec/awestruct/extensions/posts_spec.rb
709
+ - spec/awestruct/extensions/relative_spec.rb
553
710
  - spec/awestruct/handler_chain_spec.rb
554
711
  - spec/awestruct/handler_chains_spec.rb
555
712
  - spec/awestruct/handlers/asciidoc_handler_spec.rb