beans-middleman 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +15 -0
  3. data/Rakefile +9 -0
  4. data/bin/mm-build +15 -0
  5. data/bin/mm-init +37 -0
  6. data/bin/mm-preview +12 -0
  7. data/bin/mm-server +67 -0
  8. data/features/builder.feature +16 -0
  9. data/features/coffee-script.feature +7 -0
  10. data/features/generator.feature +8 -0
  11. data/features/helpers_auto_stylesheet_link_tag.feature +17 -0
  12. data/features/helpers_page_classes.feature +17 -0
  13. data/features/less-css.feature +7 -0
  14. data/features/minify_css.feature +22 -0
  15. data/features/minify_javascript.feature +12 -0
  16. data/features/padrino_helpers.feature +10 -0
  17. data/features/page_alias_and_layouts.feature +12 -0
  18. data/features/scss-support.feature +7 -0
  19. data/features/step_definitions/asset_host_steps.rb +7 -0
  20. data/features/step_definitions/builder_steps.rb +23 -0
  21. data/features/step_definitions/env.rb +3 -0
  22. data/features/step_definitions/generator_steps.rb +30 -0
  23. data/features/step_definitions/middleman_steps.rb +29 -0
  24. data/features/step_definitions/page_layout_steps.rb +13 -0
  25. data/features/w_asset_host.feature +12 -0
  26. data/features/x_automatic_image_sizes.feature +14 -0
  27. data/features/y_cache_buster.feature +22 -0
  28. data/features/z_relative_assets.feature +12 -0
  29. data/fixtures/test-app/config.rb +28 -0
  30. data/fixtures/test-app/public/images/blank.gif +0 -0
  31. data/fixtures/test-app/public/static.html +1 -0
  32. data/fixtures/test-app/public/stylesheets/auto-css.css +0 -0
  33. data/fixtures/test-app/public/stylesheets/static.css +2 -0
  34. data/fixtures/test-app/public/stylesheets/sub1/auto-css.css +0 -0
  35. data/fixtures/test-app/public/stylesheets/sub1/sub2/auto-css.css +0 -0
  36. data/fixtures/test-app/views/_partial.haml +1 -0
  37. data/fixtures/test-app/views/asset_host.html.haml +1 -0
  38. data/fixtures/test-app/views/auto-css.html.haml +1 -0
  39. data/fixtures/test-app/views/auto-image-sizes.html.haml +1 -0
  40. data/fixtures/test-app/views/cache-buster.html.haml +2 -0
  41. data/fixtures/test-app/views/custom-layout.html.haml +1 -0
  42. data/fixtures/test-app/views/index.html.haml +1 -0
  43. data/fixtures/test-app/views/inline-css.html.haml +4 -0
  44. data/fixtures/test-app/views/inline-js.html.haml +7 -0
  45. data/fixtures/test-app/views/javascripts/coffee_test.js.coffee +3 -0
  46. data/fixtures/test-app/views/layout.haml +6 -0
  47. data/fixtures/test-app/views/layouts/custom.haml +5 -0
  48. data/fixtures/test-app/views/padrino_test.html.haml +5 -0
  49. data/fixtures/test-app/views/page-classes.html.haml +1 -0
  50. data/fixtures/test-app/views/services/index.html.haml +1 -0
  51. data/fixtures/test-app/views/stylesheets/asset_host.css.sass +3 -0
  52. data/fixtures/test-app/views/stylesheets/relative_assets.css.sass +3 -0
  53. data/fixtures/test-app/views/stylesheets/site.css.sass +1 -0
  54. data/fixtures/test-app/views/stylesheets/site_scss.css.scss +1 -0
  55. data/fixtures/test-app/views/stylesheets/test_less.css.less +5 -0
  56. data/lib/middleman/assets.rb +33 -0
  57. data/lib/middleman/builder.rb +60 -0
  58. data/lib/middleman/config.ru +2 -0
  59. data/lib/middleman/features/asset_host.rb +22 -0
  60. data/lib/middleman/features/automatic_image_sizes/fastimage.rb +287 -0
  61. data/lib/middleman/features/automatic_image_sizes.rb +33 -0
  62. data/lib/middleman/features/cache_buster.rb +44 -0
  63. data/lib/middleman/features/code_ray.rb +12 -0
  64. data/lib/middleman/features/default_helpers.rb +61 -0
  65. data/lib/middleman/features/live_reload.rb +21 -0
  66. data/lib/middleman/features/minify_css.rb +10 -0
  67. data/lib/middleman/features/minify_javascript/rack.rb +31 -0
  68. data/lib/middleman/features/minify_javascript.rb +21 -0
  69. data/lib/middleman/features/partials.rb +15 -0
  70. data/lib/middleman/features/relative_assets.rb +36 -0
  71. data/lib/middleman/features/slickmap/template.html.haml +27 -0
  72. data/lib/middleman/features/slickmap.rb +89 -0
  73. data/lib/middleman/features/smush_pngs.rb +38 -0
  74. data/lib/middleman/features/ugly_haml.rb +8 -0
  75. data/lib/middleman/features.rb +37 -0
  76. data/lib/middleman/renderers/haml.rb +42 -0
  77. data/lib/middleman/renderers/sass.rb +70 -0
  78. data/lib/middleman/server.rb +165 -0
  79. data/lib/middleman/template/config.rbt +64 -0
  80. data/lib/middleman/template/views/index.html.haml +4 -0
  81. data/lib/middleman/template/views/layout.haml +13 -0
  82. data/lib/middleman/template/views/stylesheets/site.css.sass +27 -0
  83. data/lib/middleman/templater+dynamic_renderer.rb +26 -0
  84. data/lib/middleman.rb +15 -0
  85. metadata +452 -0
metadata ADDED
@@ -0,0 +1,452 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: beans-middleman
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 5
10
+ version: 1.0.5
11
+ platform: ruby
12
+ authors:
13
+ - Thomas Reynolds
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-07 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rack
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 15
30
+ segments:
31
+ - 1
32
+ - 0
33
+ version: "1.0"
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: thin
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ hash: 31
45
+ segments:
46
+ - 1
47
+ - 2
48
+ - 0
49
+ version: 1.2.0
50
+ type: :runtime
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: shotgun
54
+ prerelease: false
55
+ requirement: &id003 !ruby/object:Gem::Requirement
56
+ none: false
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ hash: 63
61
+ segments:
62
+ - 0
63
+ - 8
64
+ - 0
65
+ version: 0.8.0
66
+ type: :runtime
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: templater
70
+ prerelease: false
71
+ requirement: &id004 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ hash: 23
77
+ segments:
78
+ - 1
79
+ - 0
80
+ - 0
81
+ version: 1.0.0
82
+ type: :runtime
83
+ version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
85
+ name: tilt
86
+ prerelease: false
87
+ requirement: &id005 !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ hash: 13
93
+ segments:
94
+ - 1
95
+ - 1
96
+ version: "1.1"
97
+ type: :runtime
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ name: sinatra
101
+ prerelease: false
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ hash: 15
108
+ segments:
109
+ - 1
110
+ - 0
111
+ version: "1.0"
112
+ type: :runtime
113
+ version_requirements: *id006
114
+ - !ruby/object:Gem::Dependency
115
+ name: padrino-core
116
+ prerelease: false
117
+ requirement: &id007 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ~>
121
+ - !ruby/object:Gem::Version
122
+ hash: 59
123
+ segments:
124
+ - 0
125
+ - 9
126
+ - 0
127
+ version: 0.9.0
128
+ type: :runtime
129
+ version_requirements: *id007
130
+ - !ruby/object:Gem::Dependency
131
+ name: padrino-helpers
132
+ prerelease: false
133
+ requirement: &id008 !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ hash: 59
139
+ segments:
140
+ - 0
141
+ - 9
142
+ - 0
143
+ version: 0.9.0
144
+ type: :runtime
145
+ version_requirements: *id008
146
+ - !ruby/object:Gem::Dependency
147
+ name: rack-test
148
+ prerelease: false
149
+ requirement: &id009 !ruby/object:Gem::Requirement
150
+ none: false
151
+ requirements:
152
+ - - ~>
153
+ - !ruby/object:Gem::Version
154
+ hash: 11
155
+ segments:
156
+ - 0
157
+ - 5
158
+ - 0
159
+ version: 0.5.0
160
+ type: :runtime
161
+ version_requirements: *id009
162
+ - !ruby/object:Gem::Dependency
163
+ name: yui-compressor
164
+ prerelease: false
165
+ requirement: &id010 !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ~>
169
+ - !ruby/object:Gem::Version
170
+ hash: 59
171
+ segments:
172
+ - 0
173
+ - 9
174
+ - 0
175
+ version: 0.9.0
176
+ type: :runtime
177
+ version_requirements: *id010
178
+ - !ruby/object:Gem::Dependency
179
+ name: haml
180
+ prerelease: false
181
+ requirement: &id011 !ruby/object:Gem::Requirement
182
+ none: false
183
+ requirements:
184
+ - - ~>
185
+ - !ruby/object:Gem::Version
186
+ hash: 7
187
+ segments:
188
+ - 3
189
+ - 0
190
+ version: "3.0"
191
+ type: :runtime
192
+ version_requirements: *id011
193
+ - !ruby/object:Gem::Dependency
194
+ name: compass
195
+ prerelease: false
196
+ requirement: &id012 !ruby/object:Gem::Requirement
197
+ none: false
198
+ requirements:
199
+ - - ~>
200
+ - !ruby/object:Gem::Version
201
+ hash: 31098173
202
+ segments:
203
+ - 0
204
+ - 11
205
+ - beta
206
+ version: 0.11.beta
207
+ type: :runtime
208
+ version_requirements: *id012
209
+ - !ruby/object:Gem::Dependency
210
+ name: oily_png
211
+ prerelease: false
212
+ requirement: &id013 !ruby/object:Gem::Requirement
213
+ none: false
214
+ requirements:
215
+ - - ~>
216
+ - !ruby/object:Gem::Version
217
+ hash: 21
218
+ segments:
219
+ - 0
220
+ - 0
221
+ - 5
222
+ version: 0.0.5
223
+ type: :runtime
224
+ version_requirements: *id013
225
+ - !ruby/object:Gem::Dependency
226
+ name: lemonade
227
+ prerelease: false
228
+ requirement: &id014 !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ~>
232
+ - !ruby/object:Gem::Version
233
+ hash: 27
234
+ segments:
235
+ - 0
236
+ - 3
237
+ - 4
238
+ version: 0.3.4
239
+ type: :runtime
240
+ version_requirements: *id014
241
+ - !ruby/object:Gem::Dependency
242
+ name: json_pure
243
+ prerelease: false
244
+ requirement: &id015 !ruby/object:Gem::Requirement
245
+ none: false
246
+ requirements:
247
+ - - ~>
248
+ - !ruby/object:Gem::Version
249
+ hash: 7
250
+ segments:
251
+ - 1
252
+ - 4
253
+ - 0
254
+ version: 1.4.0
255
+ type: :runtime
256
+ version_requirements: *id015
257
+ - !ruby/object:Gem::Dependency
258
+ name: smusher
259
+ prerelease: false
260
+ requirement: &id016 !ruby/object:Gem::Requirement
261
+ none: false
262
+ requirements:
263
+ - - ~>
264
+ - !ruby/object:Gem::Version
265
+ hash: 5
266
+ segments:
267
+ - 0
268
+ - 4
269
+ - 5
270
+ version: 0.4.5
271
+ type: :runtime
272
+ version_requirements: *id016
273
+ - !ruby/object:Gem::Dependency
274
+ name: compass-slickmap
275
+ prerelease: false
276
+ requirement: &id017 !ruby/object:Gem::Requirement
277
+ none: false
278
+ requirements:
279
+ - - ~>
280
+ - !ruby/object:Gem::Version
281
+ hash: 15
282
+ segments:
283
+ - 0
284
+ - 4
285
+ - 0
286
+ version: 0.4.0
287
+ type: :runtime
288
+ version_requirements: *id017
289
+ - !ruby/object:Gem::Dependency
290
+ name: cucumber
291
+ prerelease: false
292
+ requirement: &id018 !ruby/object:Gem::Requirement
293
+ none: false
294
+ requirements:
295
+ - - ~>
296
+ - !ruby/object:Gem::Version
297
+ hash: 63
298
+ segments:
299
+ - 0
300
+ - 9
301
+ - 2
302
+ version: 0.9.2
303
+ type: :development
304
+ version_requirements: *id018
305
+ - !ruby/object:Gem::Dependency
306
+ name: rspec
307
+ prerelease: false
308
+ requirement: &id019 !ruby/object:Gem::Requirement
309
+ none: false
310
+ requirements:
311
+ - - ~>
312
+ - !ruby/object:Gem::Version
313
+ hash: 15
314
+ segments:
315
+ - 2
316
+ - 0
317
+ - 0
318
+ version: 2.0.0
319
+ type: :development
320
+ version_requirements: *id019
321
+ description: A static site generator utilizing Haml, Sass and providing YUI compression and cache busting.
322
+ email: tdreyno@gmail.com
323
+ executables:
324
+ - mm-init
325
+ - mm-build
326
+ - mm-server
327
+ - mm-preview
328
+ extensions: []
329
+
330
+ extra_rdoc_files: []
331
+
332
+ files:
333
+ - lib/middleman/assets.rb
334
+ - lib/middleman/builder.rb
335
+ - lib/middleman/config.ru
336
+ - lib/middleman/features/asset_host.rb
337
+ - lib/middleman/features/automatic_image_sizes/fastimage.rb
338
+ - lib/middleman/features/automatic_image_sizes.rb
339
+ - lib/middleman/features/cache_buster.rb
340
+ - lib/middleman/features/code_ray.rb
341
+ - lib/middleman/features/default_helpers.rb
342
+ - lib/middleman/features/live_reload.rb
343
+ - lib/middleman/features/minify_css.rb
344
+ - lib/middleman/features/minify_javascript/rack.rb
345
+ - lib/middleman/features/minify_javascript.rb
346
+ - lib/middleman/features/partials.rb
347
+ - lib/middleman/features/relative_assets.rb
348
+ - lib/middleman/features/slickmap/template.html.haml
349
+ - lib/middleman/features/slickmap.rb
350
+ - lib/middleman/features/smush_pngs.rb
351
+ - lib/middleman/features/ugly_haml.rb
352
+ - lib/middleman/features.rb
353
+ - lib/middleman/renderers/haml.rb
354
+ - lib/middleman/renderers/sass.rb
355
+ - lib/middleman/server.rb
356
+ - lib/middleman/template/config.rbt
357
+ - lib/middleman/template/views/index.html.haml
358
+ - lib/middleman/template/views/layout.haml
359
+ - lib/middleman/template/views/stylesheets/site.css.sass
360
+ - lib/middleman/templater+dynamic_renderer.rb
361
+ - lib/middleman.rb
362
+ - bin/mm-build
363
+ - bin/mm-init
364
+ - bin/mm-preview
365
+ - bin/mm-server
366
+ - features/builder.feature
367
+ - features/coffee-script.feature
368
+ - features/generator.feature
369
+ - features/helpers_auto_stylesheet_link_tag.feature
370
+ - features/helpers_page_classes.feature
371
+ - features/less-css.feature
372
+ - features/minify_css.feature
373
+ - features/minify_javascript.feature
374
+ - features/padrino_helpers.feature
375
+ - features/page_alias_and_layouts.feature
376
+ - features/scss-support.feature
377
+ - features/step_definitions/asset_host_steps.rb
378
+ - features/step_definitions/builder_steps.rb
379
+ - features/step_definitions/env.rb
380
+ - features/step_definitions/generator_steps.rb
381
+ - features/step_definitions/middleman_steps.rb
382
+ - features/step_definitions/page_layout_steps.rb
383
+ - features/w_asset_host.feature
384
+ - features/x_automatic_image_sizes.feature
385
+ - features/y_cache_buster.feature
386
+ - features/z_relative_assets.feature
387
+ - fixtures/test-app/config.rb
388
+ - fixtures/test-app/public/images/blank.gif
389
+ - fixtures/test-app/public/static.html
390
+ - fixtures/test-app/public/stylesheets/auto-css.css
391
+ - fixtures/test-app/public/stylesheets/static.css
392
+ - fixtures/test-app/public/stylesheets/sub1/auto-css.css
393
+ - fixtures/test-app/public/stylesheets/sub1/sub2/auto-css.css
394
+ - fixtures/test-app/views/_partial.haml
395
+ - fixtures/test-app/views/asset_host.html.haml
396
+ - fixtures/test-app/views/auto-css.html.haml
397
+ - fixtures/test-app/views/auto-image-sizes.html.haml
398
+ - fixtures/test-app/views/cache-buster.html.haml
399
+ - fixtures/test-app/views/custom-layout.html.haml
400
+ - fixtures/test-app/views/index.html.haml
401
+ - fixtures/test-app/views/inline-css.html.haml
402
+ - fixtures/test-app/views/inline-js.html.haml
403
+ - fixtures/test-app/views/javascripts/coffee_test.js.coffee
404
+ - fixtures/test-app/views/layout.haml
405
+ - fixtures/test-app/views/layouts/custom.haml
406
+ - fixtures/test-app/views/padrino_test.html.haml
407
+ - fixtures/test-app/views/page-classes.html.haml
408
+ - fixtures/test-app/views/services/index.html.haml
409
+ - fixtures/test-app/views/stylesheets/asset_host.css.sass
410
+ - fixtures/test-app/views/stylesheets/relative_assets.css.sass
411
+ - fixtures/test-app/views/stylesheets/site.css.sass
412
+ - fixtures/test-app/views/stylesheets/site_scss.css.scss
413
+ - fixtures/test-app/views/stylesheets/test_less.css.less
414
+ - README.rdoc
415
+ - LICENSE
416
+ - Rakefile
417
+ has_rdoc: true
418
+ homepage: http://wiki.github.com/tdreyno/middleman
419
+ licenses: []
420
+
421
+ post_install_message:
422
+ rdoc_options: []
423
+
424
+ require_paths:
425
+ - lib
426
+ required_ruby_version: !ruby/object:Gem::Requirement
427
+ none: false
428
+ requirements:
429
+ - - ">="
430
+ - !ruby/object:Gem::Version
431
+ hash: 3
432
+ segments:
433
+ - 0
434
+ version: "0"
435
+ required_rubygems_version: !ruby/object:Gem::Requirement
436
+ none: false
437
+ requirements:
438
+ - - ">="
439
+ - !ruby/object:Gem::Version
440
+ hash: 3
441
+ segments:
442
+ - 0
443
+ version: "0"
444
+ requirements: []
445
+
446
+ rubyforge_project: middleman
447
+ rubygems_version: 1.3.7
448
+ signing_key:
449
+ specification_version: 3
450
+ summary: A static site generator utilizing Haml, Sass and providing YUI compression and cache busting.
451
+ test_files: []
452
+