middleman 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,4 +4,5 @@ rdoc
4
4
  pkg
5
5
  .sass-cache
6
6
  .sassc
7
- .tmp
7
+ .tmp
8
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "http://www.rubygems.org"
2
+
3
+ gemspec
data/Rakefile CHANGED
@@ -1,42 +1,7 @@
1
- require 'lib/middleman'
2
- require 'rake'
3
- require 'cucumber/rake/task'
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
4
3
 
5
- begin
6
- require 'jeweler'
7
- Jeweler::Tasks.new do |gem|
8
- gem.name = "middleman"
9
- gem.summary = %Q{A static site generator utilizing Haml, Sass and providing YUI compression and cache busting}
10
- gem.email = "tdreyno@gmail.com"
11
- gem.homepage = "http://wiki.github.com/tdreyno/middleman"
12
- gem.authors = ["Thomas Reynolds"]
13
- gem.rubyforge_project = "middleman"
14
- gem.executables = %w(mm-init mm-build mm-server)
15
- gem.add_dependency("rack", "~>1.0")
16
- gem.add_dependency("thin", "~>1.2.0")
17
- gem.add_dependency("shotgun", "~>0.8.0")
18
- gem.add_dependency("templater", "~>1.0.0")
19
- gem.add_dependency("tilt", "~>1.1")
20
- gem.add_dependency("sinatra", "~>1.0")
21
- gem.add_dependency("padrino-core", "~>0.9.0")
22
- gem.add_dependency("padrino-helpers", "~>0.9.0")
23
- gem.add_dependency("rack-test", "~>0.5.0")
24
- gem.add_dependency("yui-compressor", "~>0.9.0")
25
- gem.add_dependency("haml", "~>3.0")
26
- gem.add_dependency("compass", "~>0.10.0")
27
- gem.add_dependency("json_pure", "~>1.4.0")
28
- gem.add_dependency("smusher", "~>0.4.5")
29
- gem.add_dependency("compass-slickmap", "~>0.4.0")
30
- # gem.add_dependency("livereload", "~>1.4.0")
31
-
32
- gem.add_development_dependency("cucumber")
33
- gem.add_development_dependency("jeweler")
34
- end
35
-
36
- Jeweler::GemcutterTasks.new
37
- rescue LoadError
38
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
39
- end
4
+ require 'cucumber/rake/task'
40
5
 
41
6
  Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t|
42
7
  t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}"
@@ -0,0 +1,3 @@
1
+ module Middleman
2
+ VERSION = "1.0.2"
3
+ end
data/middleman.gemspec CHANGED
@@ -1,175 +1,41 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "middleman/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = %q{middleman}
8
- s.version = "1.0.1"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Thomas Reynolds"]
12
- s.date = %q{2010-10-31}
13
- s.email = %q{tdreyno@gmail.com}
14
- s.executables = ["mm-init", "mm-build", "mm-server"]
15
- s.extra_rdoc_files = [
16
- "LICENSE",
17
- "README.rdoc"
18
- ]
19
- s.files = [
20
- ".document",
21
- ".gitignore",
22
- "LICENSE",
23
- "README.rdoc",
24
- "Rakefile",
25
- "VERSION",
26
- "bin/mm-build",
27
- "bin/mm-init",
28
- "bin/mm-server",
29
- "features/builder.feature",
30
- "features/coffee-script.feature",
31
- "features/generator.feature",
32
- "features/helpers_auto_stylesheet_link_tag.feature",
33
- "features/helpers_page_classes.feature",
34
- "features/less-css.feature",
35
- "features/minify_css.feature",
36
- "features/minify_javascript.feature",
37
- "features/padrino_helpers.feature",
38
- "features/page_alias_and_layouts.feature",
39
- "features/scss-support.feature",
40
- "features/step_definitions/asset_host_steps.rb",
41
- "features/step_definitions/builder_steps.rb",
42
- "features/step_definitions/env.rb",
43
- "features/step_definitions/generator_steps.rb",
44
- "features/step_definitions/middleman_steps.rb",
45
- "features/step_definitions/page_layout_steps.rb",
46
- "features/w_asset_host.feature",
47
- "features/x_automatic_image_sizes.feature",
48
- "features/y_cache_buster.feature",
49
- "features/z_relative_assets.feature",
50
- "fixtures/test-app/config.rb",
51
- "fixtures/test-app/public/images/blank.gif",
52
- "fixtures/test-app/public/static.html",
53
- "fixtures/test-app/public/stylesheets/auto-css.css",
54
- "fixtures/test-app/public/stylesheets/static.css",
55
- "fixtures/test-app/public/stylesheets/sub1/auto-css.css",
56
- "fixtures/test-app/public/stylesheets/sub1/sub2/auto-css.css",
57
- "fixtures/test-app/views/_partial.haml",
58
- "fixtures/test-app/views/asset_host.html.haml",
59
- "fixtures/test-app/views/auto-css.html.haml",
60
- "fixtures/test-app/views/auto-image-sizes.html.haml",
61
- "fixtures/test-app/views/cache-buster.html.haml",
62
- "fixtures/test-app/views/custom-layout.html.haml",
63
- "fixtures/test-app/views/index.html.haml",
64
- "fixtures/test-app/views/inline-css.html.haml",
65
- "fixtures/test-app/views/inline-js.html.haml",
66
- "fixtures/test-app/views/javascripts/coffee_test.js.coffee",
67
- "fixtures/test-app/views/layout.haml",
68
- "fixtures/test-app/views/layouts/custom.haml",
69
- "fixtures/test-app/views/padrino_test.html.haml",
70
- "fixtures/test-app/views/page-classes.html.haml",
71
- "fixtures/test-app/views/services/index.html.haml",
72
- "fixtures/test-app/views/stylesheets/asset_host.css.sass",
73
- "fixtures/test-app/views/stylesheets/relative_assets.css.sass",
74
- "fixtures/test-app/views/stylesheets/site.css.sass",
75
- "fixtures/test-app/views/stylesheets/site_scss.css.scss",
76
- "fixtures/test-app/views/stylesheets/test_less.css.less",
77
- "lib/middleman.rb",
78
- "lib/middleman/assets.rb",
79
- "lib/middleman/builder.rb",
80
- "lib/middleman/config.ru",
81
- "lib/middleman/features.rb",
82
- "lib/middleman/features/asset_host.rb",
83
- "lib/middleman/features/automatic_image_sizes.rb",
84
- "lib/middleman/features/automatic_image_sizes/fastimage.rb",
85
- "lib/middleman/features/cache_buster.rb",
86
- "lib/middleman/features/code_ray.rb",
87
- "lib/middleman/features/default_helpers.rb",
88
- "lib/middleman/features/live_reload.rb",
89
- "lib/middleman/features/minify_css.rb",
90
- "lib/middleman/features/minify_javascript.rb",
91
- "lib/middleman/features/minify_javascript/rack.rb",
92
- "lib/middleman/features/relative_assets.rb",
93
- "lib/middleman/features/slickmap.rb",
94
- "lib/middleman/features/slickmap/template.html.haml",
95
- "lib/middleman/features/smush_pngs.rb",
96
- "lib/middleman/features/ugly_haml.rb",
97
- "lib/middleman/renderers/haml.rb",
98
- "lib/middleman/renderers/sass.rb",
99
- "lib/middleman/server.rb",
100
- "lib/middleman/template/config.rbt",
101
- "lib/middleman/template/views/index.html.haml",
102
- "lib/middleman/template/views/layout.haml",
103
- "lib/middleman/template/views/stylesheets/site.css.sass",
104
- "lib/middleman/templater+dynamic_renderer.rb",
105
- "middleman.gemspec"
106
- ]
107
- s.homepage = %q{http://wiki.github.com/tdreyno/middleman}
108
- s.rdoc_options = ["--charset=UTF-8"]
6
+ s.name = "middleman"
7
+ s.version = Middleman::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Thomas Reynolds"]
10
+ s.email = ["tdreyno@gmail.com"]
11
+ s.homepage = "http://wiki.github.com/tdreyno/middleman"
12
+ s.summary = "A static site generator utilizing Haml, Sass and providing YUI compression and cache busting"
13
+
14
+ s.rubyforge_project = "middleman"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {fixtures,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
109
19
  s.require_paths = ["lib"]
110
- s.rubyforge_project = %q{middleman}
111
- s.rubygems_version = %q{1.3.7}
112
- s.summary = %q{A static site generator utilizing Haml, Sass and providing YUI compression and cache busting}
113
-
114
- if s.respond_to? :specification_version then
115
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
116
- s.specification_version = 3
117
-
118
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
119
- s.add_runtime_dependency(%q<rack>, ["~> 1.0"])
120
- s.add_runtime_dependency(%q<thin>, ["~> 1.2.0"])
121
- s.add_runtime_dependency(%q<shotgun>, ["~> 0.8.0"])
122
- s.add_runtime_dependency(%q<templater>, ["~> 1.0.0"])
123
- s.add_runtime_dependency(%q<tilt>, ["~> 1.1"])
124
- s.add_runtime_dependency(%q<sinatra>, ["~> 1.0"])
125
- s.add_runtime_dependency(%q<padrino-core>, ["~> 0.9.0"])
126
- s.add_runtime_dependency(%q<padrino-helpers>, ["~> 0.9.0"])
127
- s.add_runtime_dependency(%q<rack-test>, ["~> 0.5.0"])
128
- s.add_runtime_dependency(%q<yui-compressor>, ["~> 0.9.0"])
129
- s.add_runtime_dependency(%q<haml>, ["~> 3.0"])
130
- s.add_runtime_dependency(%q<compass>, ["~> 0.10.0"])
131
- s.add_runtime_dependency(%q<json_pure>, ["~> 1.4.0"])
132
- s.add_runtime_dependency(%q<smusher>, ["~> 0.4.5"])
133
- s.add_runtime_dependency(%q<compass-slickmap>, ["~> 0.4.0"])
134
- s.add_development_dependency(%q<cucumber>, [">= 0"])
135
- s.add_development_dependency(%q<jeweler>, [">= 0"])
136
- else
137
- s.add_dependency(%q<rack>, ["~> 1.0"])
138
- s.add_dependency(%q<thin>, ["~> 1.2.0"])
139
- s.add_dependency(%q<shotgun>, ["~> 0.8.0"])
140
- s.add_dependency(%q<templater>, ["~> 1.0.0"])
141
- s.add_dependency(%q<tilt>, ["~> 1.1"])
142
- s.add_dependency(%q<sinatra>, ["~> 1.0"])
143
- s.add_dependency(%q<padrino-core>, ["~> 0.9.0"])
144
- s.add_dependency(%q<padrino-helpers>, ["~> 0.9.0"])
145
- s.add_dependency(%q<rack-test>, ["~> 0.5.0"])
146
- s.add_dependency(%q<yui-compressor>, ["~> 0.9.0"])
147
- s.add_dependency(%q<haml>, ["~> 3.0"])
148
- s.add_dependency(%q<compass>, ["~> 0.10.0"])
149
- s.add_dependency(%q<json_pure>, ["~> 1.4.0"])
150
- s.add_dependency(%q<smusher>, ["~> 0.4.5"])
151
- s.add_dependency(%q<compass-slickmap>, ["~> 0.4.0"])
152
- s.add_dependency(%q<cucumber>, [">= 0"])
153
- s.add_dependency(%q<jeweler>, [">= 0"])
154
- end
155
- else
156
- s.add_dependency(%q<rack>, ["~> 1.0"])
157
- s.add_dependency(%q<thin>, ["~> 1.2.0"])
158
- s.add_dependency(%q<shotgun>, ["~> 0.8.0"])
159
- s.add_dependency(%q<templater>, ["~> 1.0.0"])
160
- s.add_dependency(%q<tilt>, ["~> 1.1"])
161
- s.add_dependency(%q<sinatra>, ["~> 1.0"])
162
- s.add_dependency(%q<padrino-core>, ["~> 0.9.0"])
163
- s.add_dependency(%q<padrino-helpers>, ["~> 0.9.0"])
164
- s.add_dependency(%q<rack-test>, ["~> 0.5.0"])
165
- s.add_dependency(%q<yui-compressor>, ["~> 0.9.0"])
166
- s.add_dependency(%q<haml>, ["~> 3.0"])
167
- s.add_dependency(%q<compass>, ["~> 0.10.0"])
168
- s.add_dependency(%q<json_pure>, ["~> 1.4.0"])
169
- s.add_dependency(%q<smusher>, ["~> 0.4.5"])
170
- s.add_dependency(%q<compass-slickmap>, ["~> 0.4.0"])
171
- s.add_dependency(%q<cucumber>, [">= 0"])
172
- s.add_dependency(%q<jeweler>, [">= 0"])
173
- end
20
+
21
+ s.add_runtime_dependency("rack", ["~> 1.0"])
22
+ s.add_runtime_dependency("thin", ["~> 1.2.0"])
23
+ s.add_runtime_dependency("shotgun", ["~> 0.8.0"])
24
+ s.add_runtime_dependency("templater", ["~> 1.0.0"])
25
+ s.add_runtime_dependency("tilt", ["~> 1.1"])
26
+ s.add_runtime_dependency("sinatra", ["~> 1.0"])
27
+ s.add_runtime_dependency("padrino-core", ["~> 0.9.0"])
28
+ s.add_runtime_dependency("padrino-helpers", ["~> 0.9.0"])
29
+ s.add_runtime_dependency("rack-test", ["~> 0.5.0"])
30
+ s.add_runtime_dependency("yui-compressor", ["~> 0.9.0"])
31
+ s.add_runtime_dependency("haml", ["~> 3.0"])
32
+ s.add_runtime_dependency("compass", ["~> 0.10.0"])
33
+ s.add_runtime_dependency("json_pure", ["~> 1.4.0"])
34
+ s.add_runtime_dependency("smusher", ["~> 0.4.5"])
35
+ s.add_runtime_dependency("compass-slickmap", ["~> 0.4.0"])
36
+ s.add_runtime_dependency("coffee-script", ["~> 2.1.0"])
37
+ s.add_runtime_dependency("less", ["~> 1.2.0"])
38
+ s.add_development_dependency("cucumber", [">= 0"])
39
+ s.add_development_dependency("rspec", [">= 0"])
174
40
  end
175
41
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Thomas Reynolds
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-31 00:00:00 -07:00
18
+ date: 2010-12-23 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -255,9 +255,41 @@ dependencies:
255
255
  type: :runtime
256
256
  version_requirements: *id015
257
257
  - !ruby/object:Gem::Dependency
258
- name: cucumber
258
+ name: coffee-script
259
259
  prerelease: false
260
260
  requirement: &id016 !ruby/object:Gem::Requirement
261
+ none: false
262
+ requirements:
263
+ - - ~>
264
+ - !ruby/object:Gem::Version
265
+ hash: 11
266
+ segments:
267
+ - 2
268
+ - 1
269
+ - 0
270
+ version: 2.1.0
271
+ type: :runtime
272
+ version_requirements: *id016
273
+ - !ruby/object:Gem::Dependency
274
+ name: less
275
+ prerelease: false
276
+ requirement: &id017 !ruby/object:Gem::Requirement
277
+ none: false
278
+ requirements:
279
+ - - ~>
280
+ - !ruby/object:Gem::Version
281
+ hash: 31
282
+ segments:
283
+ - 1
284
+ - 2
285
+ - 0
286
+ version: 1.2.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
261
293
  none: false
262
294
  requirements:
263
295
  - - ">="
@@ -267,11 +299,11 @@ dependencies:
267
299
  - 0
268
300
  version: "0"
269
301
  type: :development
270
- version_requirements: *id016
302
+ version_requirements: *id018
271
303
  - !ruby/object:Gem::Dependency
272
- name: jeweler
304
+ name: rspec
273
305
  prerelease: false
274
- requirement: &id017 !ruby/object:Gem::Requirement
306
+ requirement: &id019 !ruby/object:Gem::Requirement
275
307
  none: false
276
308
  requirements:
277
309
  - - ">="
@@ -281,25 +313,25 @@ dependencies:
281
313
  - 0
282
314
  version: "0"
283
315
  type: :development
284
- version_requirements: *id017
316
+ version_requirements: *id019
285
317
  description:
286
- email: tdreyno@gmail.com
318
+ email:
319
+ - tdreyno@gmail.com
287
320
  executables:
288
- - mm-init
289
321
  - mm-build
322
+ - mm-init
290
323
  - mm-server
291
324
  extensions: []
292
325
 
293
- extra_rdoc_files:
294
- - LICENSE
295
- - README.rdoc
326
+ extra_rdoc_files: []
327
+
296
328
  files:
297
329
  - .document
298
330
  - .gitignore
331
+ - Gemfile
299
332
  - LICENSE
300
333
  - README.rdoc
301
334
  - Rakefile
302
- - VERSION
303
335
  - bin/mm-build
304
336
  - bin/mm-init
305
337
  - bin/mm-server
@@ -379,14 +411,15 @@ files:
379
411
  - lib/middleman/template/views/layout.haml
380
412
  - lib/middleman/template/views/stylesheets/site.css.sass
381
413
  - lib/middleman/templater+dynamic_renderer.rb
414
+ - lib/middleman/version.rb
382
415
  - middleman.gemspec
383
416
  has_rdoc: true
384
417
  homepage: http://wiki.github.com/tdreyno/middleman
385
418
  licenses: []
386
419
 
387
420
  post_install_message:
388
- rdoc_options:
389
- - --charset=UTF-8
421
+ rdoc_options: []
422
+
390
423
  require_paths:
391
424
  - lib
392
425
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -414,5 +447,52 @@ rubygems_version: 1.3.7
414
447
  signing_key:
415
448
  specification_version: 3
416
449
  summary: A static site generator utilizing Haml, Sass and providing YUI compression and cache busting
417
- test_files: []
418
-
450
+ test_files:
451
+ - features/builder.feature
452
+ - features/coffee-script.feature
453
+ - features/generator.feature
454
+ - features/helpers_auto_stylesheet_link_tag.feature
455
+ - features/helpers_page_classes.feature
456
+ - features/less-css.feature
457
+ - features/minify_css.feature
458
+ - features/minify_javascript.feature
459
+ - features/padrino_helpers.feature
460
+ - features/page_alias_and_layouts.feature
461
+ - features/scss-support.feature
462
+ - features/step_definitions/asset_host_steps.rb
463
+ - features/step_definitions/builder_steps.rb
464
+ - features/step_definitions/env.rb
465
+ - features/step_definitions/generator_steps.rb
466
+ - features/step_definitions/middleman_steps.rb
467
+ - features/step_definitions/page_layout_steps.rb
468
+ - features/w_asset_host.feature
469
+ - features/x_automatic_image_sizes.feature
470
+ - features/y_cache_buster.feature
471
+ - features/z_relative_assets.feature
472
+ - fixtures/test-app/config.rb
473
+ - fixtures/test-app/public/images/blank.gif
474
+ - fixtures/test-app/public/static.html
475
+ - fixtures/test-app/public/stylesheets/auto-css.css
476
+ - fixtures/test-app/public/stylesheets/static.css
477
+ - fixtures/test-app/public/stylesheets/sub1/auto-css.css
478
+ - fixtures/test-app/public/stylesheets/sub1/sub2/auto-css.css
479
+ - fixtures/test-app/views/_partial.haml
480
+ - fixtures/test-app/views/asset_host.html.haml
481
+ - fixtures/test-app/views/auto-css.html.haml
482
+ - fixtures/test-app/views/auto-image-sizes.html.haml
483
+ - fixtures/test-app/views/cache-buster.html.haml
484
+ - fixtures/test-app/views/custom-layout.html.haml
485
+ - fixtures/test-app/views/index.html.haml
486
+ - fixtures/test-app/views/inline-css.html.haml
487
+ - fixtures/test-app/views/inline-js.html.haml
488
+ - fixtures/test-app/views/javascripts/coffee_test.js.coffee
489
+ - fixtures/test-app/views/layout.haml
490
+ - fixtures/test-app/views/layouts/custom.haml
491
+ - fixtures/test-app/views/padrino_test.html.haml
492
+ - fixtures/test-app/views/page-classes.html.haml
493
+ - fixtures/test-app/views/services/index.html.haml
494
+ - fixtures/test-app/views/stylesheets/asset_host.css.sass
495
+ - fixtures/test-app/views/stylesheets/relative_assets.css.sass
496
+ - fixtures/test-app/views/stylesheets/site.css.sass
497
+ - fixtures/test-app/views/stylesheets/site_scss.css.scss
498
+ - fixtures/test-app/views/stylesheets/test_less.css.less
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.1