middleman 2.0.12-x86-mingw32 → 2.0.13-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  rvm:
2
2
  - 1.8.7
3
3
  - 1.9.2
4
+ - 1.9.3
4
5
  script: "bundle exec rake test"
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ 2.0.13
2
+ ====
3
+ middleman build --clean keeps the build directory clean of leftover files
4
+ Padrino 0.10.5 and Rack 1.3.5
5
+
1
6
  2.0.12
2
7
  ====
3
8
  Sinatra 1.3.1 and Padrino 0.10.4
@@ -0,0 +1,10 @@
1
+ Feature: Build Clean
2
+ Scenario: Build and Clean an app
3
+ Given app "clean-app" is using config "empty"
4
+ And a built app at "clean-app"
5
+ And app "clean-app" is using config "complications"
6
+ And a built app at "clean-app" with flags "--clean"
7
+ Then "should_be_ignored.html" should not exist at "clean-app"
8
+ And "should_be_ignored2.html" should not exist at "clean-app"
9
+ And "should_be_ignored3.html" should not exist at "clean-app"
10
+ And cleanup built app at "clean-app"
@@ -1,5 +1,13 @@
1
1
  require 'fileutils'
2
2
 
3
+ Given /^app "([^"]*)" is using config "([^"]*)"$/ do |path, config_name|
4
+ root = File.dirname(File.dirname(File.dirname(__FILE__)))
5
+ target = File.join(root, "fixtures", path)
6
+ config_path = File.join(target, "config-#{config_name}.rb")
7
+ config_dest = File.join(target, "config.rb")
8
+ FileUtils.cp(config_path, config_dest)
9
+ end
10
+
3
11
  Given /^a built app at "([^"]*)"$/ do |path|
4
12
  root = File.dirname(File.dirname(File.dirname(__FILE__)))
5
13
  target = File.join(root, "fixtures", path)
@@ -0,0 +1,11 @@
1
+ page "/fake.html", :proxy => "/real.html", :layout => false
2
+
3
+ ignore "/should_be_ignored.html"
4
+ page "/should_be_ignored2.html", :ignore => true
5
+ page "/target_ignore.html", :proxy => "/should_be_ignored3.html", :ignore => true
6
+
7
+ %w(one two).each do |num|
8
+ page "/fake/#{num}.html", :proxy => "/real/index.html" do
9
+ @num = num
10
+ end
11
+ end
File without changes
@@ -0,0 +1,11 @@
1
+ page "/fake.html", :proxy => "/real.html", :layout => false
2
+
3
+ ignore "/should_be_ignored.html"
4
+ page "/should_be_ignored2.html", :ignore => true
5
+ page "/target_ignore.html", :proxy => "/should_be_ignored3.html", :ignore => true
6
+
7
+ %w(one two).each do |num|
8
+ page "/fake/#{num}.html", :proxy => "/real/index.html" do
9
+ @num = num
10
+ end
11
+ end
@@ -0,0 +1,6 @@
1
+ %h1 Welcome
2
+
3
+ :markdown
4
+ ## H2
5
+
6
+ Paragraph
@@ -0,0 +1,6 @@
1
+ %html
2
+ %head
3
+ %title My Sample Site
4
+ / Comment in layout
5
+ %body
6
+ = yield
@@ -0,0 +1,5 @@
1
+ %html
2
+ %head
3
+ %title Custom Layout
4
+ %body
5
+ = yield
@@ -0,0 +1 @@
1
+ I am real
@@ -0,0 +1,5 @@
1
+ ---
2
+ layout: false
3
+ ---
4
+
5
+ I am real: <%= @num %>
@@ -0,0 +1 @@
1
+ <h1>Ignore me!</h1>
@@ -0,0 +1 @@
1
+ <h1>Ignore me! 2</h1>
@@ -0,0 +1 @@
1
+ <h1>Ignore me! 3</h1>
@@ -0,0 +1 @@
1
+ Static, no code!
@@ -163,10 +163,10 @@ module Middleman
163
163
 
164
164
  def self.rubygems_latest_specs
165
165
  # If newer Rubygems
166
- if Gem::Specification.respond_to? :latest_specs
167
- Gem::Specification.latest_specs
166
+ if ::Gem::Specification.respond_to? :latest_specs
167
+ ::Gem::Specification.latest_specs
168
168
  else
169
- Gem.source_index.latest_specs
169
+ ::Gem.source_index.latest_specs
170
170
  end
171
171
  end
172
172
 
@@ -184,7 +184,7 @@ module Middleman
184
184
 
185
185
  def self.start_server(options={})
186
186
  opts = {
187
- :Port => options[:port],
187
+ :Port => options[:port] || 4567,
188
188
  :AccessLog => []
189
189
  }
190
190
 
@@ -1,6 +1,7 @@
1
1
  require "thor"
2
2
  require "thor/group"
3
3
  require 'rack/test'
4
+ require 'find'
4
5
 
5
6
  SHARED_SERVER = Middleman.server
6
7
  SHARED_SERVER.set :environment, :build
@@ -16,18 +17,67 @@ module Middleman
16
17
 
17
18
  request_path = destination.sub(/^#{SHARED_SERVER.build_dir}/, "")
18
19
 
19
- begin
20
+ begin
20
21
  destination, request_path = SHARED_SERVER.reroute_builder(destination, request_path)
21
22
 
22
23
  request_path.gsub!(/\s/, "%20")
23
24
  response = Middleman::Builder.shared_rack.get(request_path)
24
25
 
26
+ dequeue_file_from destination if cleaning?
27
+
25
28
  create_file destination, nil, config do
26
29
  response.body
27
30
  end if response.status == 200
28
31
  rescue
29
32
  end
30
33
  end
34
+
35
+
36
+ def clean!(destination)
37
+ return unless cleaning?
38
+ queue_current_paths_from destination
39
+ add_clean_up_callback
40
+ end
41
+
42
+ def cleaning?
43
+ options.has_key?("clean") && options["clean"]
44
+ end
45
+
46
+ def add_clean_up_callback
47
+ clean_up_callback = lambda do
48
+ files = @cleaning_queue.select { |q| File.file? q }
49
+ directories = @cleaning_queue.select { |q| File.directory? q }
50
+
51
+ files.each { |f| remove_file f, :force => true }
52
+
53
+ directories = directories.sort_by {|d| d.length }.reverse!
54
+
55
+ directories.each do |d|
56
+ remove_file d, :force => true if directory_empty? d
57
+ end
58
+ end
59
+ self.class.after_run :clean_up_callback do
60
+ clean_up_callback.call
61
+ end
62
+ end
63
+
64
+ def directory_empty?(directory)
65
+ Dir["#{directory}/*"].empty?
66
+ end
67
+
68
+ def queue_current_paths_from(destination)
69
+ @cleaning_queue = []
70
+ Find.find(destination) do |path|
71
+ unless path == destination
72
+ @cleaning_queue << path.sub(destination, destination[/([^\/]+?)$/])
73
+ end
74
+ end
75
+ end
76
+
77
+ def dequeue_file_from(destination)
78
+ @cleaning_queue.delete_if {|q| q == destination }
79
+ end
80
+
31
81
  end
32
82
 
33
83
  class Builder < Thor::Group
@@ -102,6 +152,7 @@ module Middleman
102
152
  end
103
153
 
104
154
  def invoke!
155
+ base.clean! destination
105
156
  execute!
106
157
  end
107
158
 
@@ -198,5 +249,6 @@ module Middleman
198
249
  end
199
250
  end
200
251
  end
252
+
201
253
  end
202
254
  end
@@ -33,6 +33,8 @@ module Middleman
33
33
  desc "server [-p 4567] [-e development]", "Starts the Middleman preview server"
34
34
  method_option "environment", :aliases => "-e", :default => ENV['MM_ENV'] || ENV['RACK_ENV'] || 'development', :desc => "The environment Middleman will run under"
35
35
  method_option "port", :aliases => "-p", :default => "4567", :desc => "The port Middleman will listen on"
36
+
37
+ method_option "disable-watcher", :default => false, :type => :boolean, :desc => "Don't use config.rb watcher (also disables livereload)"
36
38
  method_option "livereload", :default => false, :type => :boolean, :desc => "Whether to enable Livereload or not"
37
39
  method_option "livereload-port", :default => "35729", :desc => "The port Livereload will listen on"
38
40
  def server
@@ -41,15 +43,22 @@ module Middleman
41
43
  if options["livereload"]
42
44
  livereload_options = {:port => options["livereload-port"]}
43
45
  end
44
-
45
- Middleman::Guard.start({
46
+
47
+ params = {
46
48
  :port => options[:port],
47
49
  :environment => options[:environment]
48
- }, livereload_options)
50
+ }
51
+
52
+ if options["disable-watcher"]
53
+ Middleman.start_server(params)
54
+ else
55
+ Middleman::Guard.start(params, livereload_options)
56
+ end
49
57
  end
50
58
 
51
59
  desc "build", "Builds the static site for deployment"
52
60
  method_option :relative, :type => :boolean, :aliases => "-r", :default => false, :desc => 'Override the config.rb file and force relative urls'
61
+ method_option :clean, :type => :boolean, :aliases => "-c", :default => false, :desc => 'Builds a clean project removing any orpahand files or directories'
53
62
  method_option :glob, :type => :string, :aliases => "-g", :default => nil, :desc => 'Build a subset of the project'
54
63
  def build
55
64
  v1_check
@@ -1,3 +1,3 @@
1
1
  module Middleman
2
- VERSION = "2.0.12"
2
+ VERSION = "2.0.13"
3
3
  end
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  ********************************************************************************
38
38
  eos
39
39
 
40
- s.add_dependency("rack", ["~> 1.3.0"])
40
+ s.add_dependency("rack", ["~> 1.3.5"])
41
41
  s.add_dependency("thin", ["~> 1.2.11"])
42
42
  s.add_dependency("thor", ["~> 0.14.0"])
43
43
  s.add_dependency("tilt", ["~> 1.3.1"])
@@ -50,9 +50,9 @@ eos
50
50
  s.add_dependency("sass", ["~> 3.1.7"])
51
51
  s.add_dependency("compass", ["~> 0.11.3"])
52
52
  s.add_dependency("coffee-script", ["~> 2.2.0"])
53
- s.add_dependency("sprockets", ["~> 2.0.0"])
54
- s.add_dependency("padrino-core", ["~> 0.10.4"])
55
- s.add_dependency("padrino-helpers", ["~> 0.10.4"])
53
+ s.add_dependency("sprockets", ["~> 2.0.3"])
54
+ s.add_dependency("padrino-core", ["~> 0.10.5"])
55
+ s.add_dependency("padrino-helpers", ["~> 0.10.5"])
56
56
 
57
57
  s.add_dependency("eventmachine", ["1.0.0.beta.3"])
58
58
  s.add_dependency("win32-process", ["~> 0.6.5"])
@@ -66,7 +66,7 @@ eos
66
66
  s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
67
67
  s.add_development_dependency("liquid", ["~> 2.2.0"])
68
68
  s.add_development_dependency("cucumber", ["~> 1.0.2"])
69
- s.add_development_dependency("rake", ["0.8.7"])
69
+ s.add_development_dependency("rake", ["~> 0.9.2"])
70
70
  s.add_development_dependency("rspec", ["~> 2.6.0"])
71
71
  end
72
72
 
@@ -37,7 +37,7 @@ Gem::Specification.new do |s|
37
37
  ********************************************************************************
38
38
  eos
39
39
 
40
- s.add_dependency("rack", ["~> 1.3.0"])
40
+ s.add_dependency("rack", ["~> 1.3.5"])
41
41
  s.add_dependency("thin", ["~> 1.2.11"])
42
42
  s.add_dependency("thor", ["~> 0.14.0"])
43
43
  s.add_dependency("tilt", ["~> 1.3.1"])
@@ -52,9 +52,9 @@ eos
52
52
  s.add_dependency("compass", ["~> 0.11.3"])
53
53
  s.add_dependency("coffee-script", ["~> 2.2.0"])
54
54
  s.add_dependency("execjs", ["~> 1.2.7"])
55
- s.add_dependency("sprockets", ["~> 2.0.0"])
56
- s.add_dependency("padrino-core", ["~> 0.10.4"])
57
- s.add_dependency("padrino-helpers", ["~> 0.10.4"])
55
+ s.add_dependency("sprockets", ["~> 2.0.3"])
56
+ s.add_dependency("padrino-core", ["~> 0.10.5"])
57
+ s.add_dependency("padrino-helpers", ["~> 0.10.5"])
58
58
 
59
59
  s.add_dependency("guard", ["~> 0.6.2"])
60
60
  s.add_dependency("middleman-livereload", ["~> 0.2.0"])
@@ -63,7 +63,7 @@ eos
63
63
  s.add_development_dependency("coffee-filter", ["~> 0.1.1"])
64
64
  s.add_development_dependency("liquid", ["~> 2.2.0"])
65
65
  s.add_development_dependency("cucumber", ["~> 1.0.2"])
66
- s.add_development_dependency("rake", ["0.8.7"])
66
+ s.add_development_dependency("rake", ["~> 0.9.2"])
67
67
  s.add_development_dependency("rspec", ["~> 2.6.0"])
68
68
  end
69
69
 
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 12
10
- version: 2.0.12
9
+ - 13
10
+ version: 2.0.13
11
11
  platform: x86-mingw32
12
12
  authors:
13
13
  - Thomas Reynolds
@@ -15,27 +15,26 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-13 00:00:00 -07:00
18
+ date: 2011-10-18 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
22
  requirement: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
26
25
  - - ~>
27
26
  - !ruby/object:Gem::Version
28
- hash: 27
27
+ hash: 17
29
28
  segments:
30
29
  - 1
31
30
  - 3
32
- - 0
33
- version: 1.3.0
34
- type: :runtime
35
- name: rack
31
+ - 5
32
+ version: 1.3.5
36
33
  version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
34
+ name: rack
38
35
  prerelease: false
36
+ type: :runtime
37
+ - !ruby/object:Gem::Dependency
39
38
  requirement: &id002 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
@@ -47,11 +46,11 @@ dependencies:
47
46
  - 2
48
47
  - 11
49
48
  version: 1.2.11
50
- type: :runtime
51
- name: thin
52
49
  version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
50
+ name: thin
54
51
  prerelease: false
52
+ type: :runtime
53
+ - !ruby/object:Gem::Dependency
55
54
  requirement: &id003 !ruby/object:Gem::Requirement
56
55
  none: false
57
56
  requirements:
@@ -63,11 +62,11 @@ dependencies:
63
62
  - 14
64
63
  - 0
65
64
  version: 0.14.0
66
- type: :runtime
67
- name: thor
68
65
  version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
66
+ name: thor
70
67
  prerelease: false
68
+ type: :runtime
69
+ - !ruby/object:Gem::Dependency
71
70
  requirement: &id004 !ruby/object:Gem::Requirement
72
71
  none: false
73
72
  requirements:
@@ -79,11 +78,11 @@ dependencies:
79
78
  - 3
80
79
  - 1
81
80
  version: 1.3.1
82
- type: :runtime
83
- name: tilt
84
81
  version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
82
+ name: tilt
86
83
  prerelease: false
84
+ type: :runtime
85
+ - !ruby/object:Gem::Dependency
87
86
  requirement: &id005 !ruby/object:Gem::Requirement
88
87
  none: false
89
88
  requirements:
@@ -95,11 +94,11 @@ dependencies:
95
94
  - 6
96
95
  - 0
97
96
  version: 0.6.0
98
- type: :runtime
99
- name: maruku
100
97
  version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
98
+ name: maruku
102
99
  prerelease: false
100
+ type: :runtime
101
+ - !ruby/object:Gem::Dependency
103
102
  requirement: &id006 !ruby/object:Gem::Requirement
104
103
  none: false
105
104
  requirements:
@@ -111,11 +110,11 @@ dependencies:
111
110
  - 3
112
111
  - 1
113
112
  version: 1.3.1
114
- type: :runtime
115
- name: sinatra
116
113
  version_requirements: *id006
117
- - !ruby/object:Gem::Dependency
114
+ name: sinatra
118
115
  prerelease: false
116
+ type: :runtime
117
+ - !ruby/object:Gem::Dependency
119
118
  requirement: &id007 !ruby/object:Gem::Requirement
120
119
  none: false
121
120
  requirements:
@@ -127,11 +126,11 @@ dependencies:
127
126
  - 6
128
127
  - 1
129
128
  version: 0.6.1
130
- type: :runtime
131
- name: rack-test
132
129
  version_requirements: *id007
133
- - !ruby/object:Gem::Dependency
130
+ name: rack-test
134
131
  prerelease: false
132
+ type: :runtime
133
+ - !ruby/object:Gem::Dependency
135
134
  requirement: &id008 !ruby/object:Gem::Requirement
136
135
  none: false
137
136
  requirements:
@@ -143,11 +142,11 @@ dependencies:
143
142
  - 0
144
143
  - 0
145
144
  version: 1.0.0
146
- type: :runtime
147
- name: uglifier
148
145
  version_requirements: *id008
149
- - !ruby/object:Gem::Dependency
146
+ name: uglifier
150
147
  prerelease: false
148
+ type: :runtime
149
+ - !ruby/object:Gem::Dependency
151
150
  requirement: &id009 !ruby/object:Gem::Requirement
152
151
  none: false
153
152
  requirements:
@@ -159,11 +158,11 @@ dependencies:
159
158
  - 0
160
159
  - 2
161
160
  version: 1.0.2
162
- type: :runtime
163
- name: slim
164
161
  version_requirements: *id009
165
- - !ruby/object:Gem::Dependency
162
+ name: slim
166
163
  prerelease: false
164
+ type: :runtime
165
+ - !ruby/object:Gem::Dependency
167
166
  requirement: &id010 !ruby/object:Gem::Requirement
168
167
  none: false
169
168
  requirements:
@@ -175,11 +174,11 @@ dependencies:
175
174
  - 1
176
175
  - 0
177
176
  version: 3.1.0
178
- type: :runtime
179
- name: haml
180
177
  version_requirements: *id010
181
- - !ruby/object:Gem::Dependency
178
+ name: haml
182
179
  prerelease: false
180
+ type: :runtime
181
+ - !ruby/object:Gem::Dependency
183
182
  requirement: &id011 !ruby/object:Gem::Requirement
184
183
  none: false
185
184
  requirements:
@@ -191,11 +190,11 @@ dependencies:
191
190
  - 1
192
191
  - 7
193
192
  version: 3.1.7
194
- type: :runtime
195
- name: sass
196
193
  version_requirements: *id011
197
- - !ruby/object:Gem::Dependency
194
+ name: sass
198
195
  prerelease: false
196
+ type: :runtime
197
+ - !ruby/object:Gem::Dependency
199
198
  requirement: &id012 !ruby/object:Gem::Requirement
200
199
  none: false
201
200
  requirements:
@@ -207,11 +206,11 @@ dependencies:
207
206
  - 11
208
207
  - 3
209
208
  version: 0.11.3
210
- type: :runtime
211
- name: compass
212
209
  version_requirements: *id012
213
- - !ruby/object:Gem::Dependency
210
+ name: compass
214
211
  prerelease: false
212
+ type: :runtime
213
+ - !ruby/object:Gem::Dependency
215
214
  requirement: &id013 !ruby/object:Gem::Requirement
216
215
  none: false
217
216
  requirements:
@@ -223,59 +222,59 @@ dependencies:
223
222
  - 2
224
223
  - 0
225
224
  version: 2.2.0
226
- type: :runtime
227
- name: coffee-script
228
225
  version_requirements: *id013
229
- - !ruby/object:Gem::Dependency
226
+ name: coffee-script
230
227
  prerelease: false
228
+ type: :runtime
229
+ - !ruby/object:Gem::Dependency
231
230
  requirement: &id014 !ruby/object:Gem::Requirement
232
231
  none: false
233
232
  requirements:
234
233
  - - ~>
235
234
  - !ruby/object:Gem::Version
236
- hash: 15
235
+ hash: 9
237
236
  segments:
238
237
  - 2
239
238
  - 0
240
- - 0
241
- version: 2.0.0
242
- type: :runtime
243
- name: sprockets
239
+ - 3
240
+ version: 2.0.3
244
241
  version_requirements: *id014
245
- - !ruby/object:Gem::Dependency
242
+ name: sprockets
246
243
  prerelease: false
244
+ type: :runtime
245
+ - !ruby/object:Gem::Dependency
247
246
  requirement: &id015 !ruby/object:Gem::Requirement
248
247
  none: false
249
248
  requirements:
250
249
  - - ~>
251
250
  - !ruby/object:Gem::Version
252
- hash: 63
251
+ hash: 61
253
252
  segments:
254
253
  - 0
255
254
  - 10
256
- - 4
257
- version: 0.10.4
258
- type: :runtime
259
- name: padrino-core
255
+ - 5
256
+ version: 0.10.5
260
257
  version_requirements: *id015
261
- - !ruby/object:Gem::Dependency
258
+ name: padrino-core
262
259
  prerelease: false
260
+ type: :runtime
261
+ - !ruby/object:Gem::Dependency
263
262
  requirement: &id016 !ruby/object:Gem::Requirement
264
263
  none: false
265
264
  requirements:
266
265
  - - ~>
267
266
  - !ruby/object:Gem::Version
268
- hash: 63
267
+ hash: 61
269
268
  segments:
270
269
  - 0
271
270
  - 10
272
- - 4
273
- version: 0.10.4
274
- type: :runtime
275
- name: padrino-helpers
271
+ - 5
272
+ version: 0.10.5
276
273
  version_requirements: *id016
277
- - !ruby/object:Gem::Dependency
274
+ name: padrino-helpers
278
275
  prerelease: false
276
+ type: :runtime
277
+ - !ruby/object:Gem::Dependency
279
278
  requirement: &id017 !ruby/object:Gem::Requirement
280
279
  none: false
281
280
  requirements:
@@ -289,11 +288,11 @@ dependencies:
289
288
  - beta
290
289
  - 3
291
290
  version: 1.0.0.beta.3
292
- type: :runtime
293
- name: eventmachine
294
291
  version_requirements: *id017
295
- - !ruby/object:Gem::Dependency
292
+ name: eventmachine
296
293
  prerelease: false
294
+ type: :runtime
295
+ - !ruby/object:Gem::Dependency
297
296
  requirement: &id018 !ruby/object:Gem::Requirement
298
297
  none: false
299
298
  requirements:
@@ -305,11 +304,11 @@ dependencies:
305
304
  - 6
306
305
  - 5
307
306
  version: 0.6.5
308
- type: :runtime
309
- name: win32-process
310
307
  version_requirements: *id018
311
- - !ruby/object:Gem::Dependency
308
+ name: win32-process
312
309
  prerelease: false
310
+ type: :runtime
311
+ - !ruby/object:Gem::Dependency
313
312
  requirement: &id019 !ruby/object:Gem::Requirement
314
313
  none: false
315
314
  requirements:
@@ -319,11 +318,11 @@ dependencies:
319
318
  segments:
320
319
  - 0
321
320
  version: "0"
322
- type: :runtime
323
- name: rb-fchange
324
321
  version_requirements: *id019
325
- - !ruby/object:Gem::Dependency
322
+ name: rb-fchange
326
323
  prerelease: false
324
+ type: :runtime
325
+ - !ruby/object:Gem::Dependency
327
326
  requirement: &id020 !ruby/object:Gem::Requirement
328
327
  none: false
329
328
  requirements:
@@ -335,11 +334,11 @@ dependencies:
335
334
  - 6
336
335
  - 2
337
336
  version: 0.6.2
338
- type: :runtime
339
- name: guard
340
337
  version_requirements: *id020
341
- - !ruby/object:Gem::Dependency
338
+ name: guard
342
339
  prerelease: false
340
+ type: :runtime
341
+ - !ruby/object:Gem::Dependency
343
342
  requirement: &id021 !ruby/object:Gem::Requirement
344
343
  none: false
345
344
  requirements:
@@ -351,11 +350,11 @@ dependencies:
351
350
  - 2
352
351
  - 0
353
352
  version: 0.2.0
354
- type: :runtime
355
- name: middleman-livereload
356
353
  version_requirements: *id021
357
- - !ruby/object:Gem::Dependency
354
+ name: middleman-livereload
358
355
  prerelease: false
356
+ type: :runtime
357
+ - !ruby/object:Gem::Dependency
359
358
  requirement: &id022 !ruby/object:Gem::Requirement
360
359
  none: false
361
360
  requirements:
@@ -367,11 +366,11 @@ dependencies:
367
366
  - 1
368
367
  - 1
369
368
  version: 0.1.1
370
- type: :development
371
- name: coffee-filter
372
369
  version_requirements: *id022
373
- - !ruby/object:Gem::Dependency
370
+ name: coffee-filter
374
371
  prerelease: false
372
+ type: :development
373
+ - !ruby/object:Gem::Dependency
375
374
  requirement: &id023 !ruby/object:Gem::Requirement
376
375
  none: false
377
376
  requirements:
@@ -383,11 +382,11 @@ dependencies:
383
382
  - 2
384
383
  - 0
385
384
  version: 2.2.0
386
- type: :development
387
- name: liquid
388
385
  version_requirements: *id023
389
- - !ruby/object:Gem::Dependency
386
+ name: liquid
390
387
  prerelease: false
388
+ type: :development
389
+ - !ruby/object:Gem::Dependency
391
390
  requirement: &id024 !ruby/object:Gem::Requirement
392
391
  none: false
393
392
  requirements:
@@ -399,27 +398,27 @@ dependencies:
399
398
  - 0
400
399
  - 2
401
400
  version: 1.0.2
402
- type: :development
403
- name: cucumber
404
401
  version_requirements: *id024
405
- - !ruby/object:Gem::Dependency
402
+ name: cucumber
406
403
  prerelease: false
404
+ type: :development
405
+ - !ruby/object:Gem::Dependency
407
406
  requirement: &id025 !ruby/object:Gem::Requirement
408
407
  none: false
409
408
  requirements:
410
- - - "="
409
+ - - ~>
411
410
  - !ruby/object:Gem::Version
412
- hash: 49
411
+ hash: 63
413
412
  segments:
414
413
  - 0
415
- - 8
416
- - 7
417
- version: 0.8.7
418
- type: :development
419
- name: rake
414
+ - 9
415
+ - 2
416
+ version: 0.9.2
420
417
  version_requirements: *id025
421
- - !ruby/object:Gem::Dependency
418
+ name: rake
422
419
  prerelease: false
420
+ type: :development
421
+ - !ruby/object:Gem::Dependency
423
422
  requirement: &id026 !ruby/object:Gem::Requirement
424
423
  none: false
425
424
  requirements:
@@ -431,9 +430,10 @@ dependencies:
431
430
  - 6
432
431
  - 0
433
432
  version: 2.6.0
434
- type: :development
435
- name: rspec
436
433
  version_requirements: *id026
434
+ name: rspec
435
+ prerelease: false
436
+ type: :development
437
437
  description: A static site generator based on Sinatra. Providing dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.
438
438
  email:
439
439
  - me@tdreyno.com
@@ -463,6 +463,7 @@ files:
463
463
  - features/automatic_image_sizes.feature
464
464
  - features/builder.feature
465
465
  - features/cache_buster.feature
466
+ - features/clean_build.feature
466
467
  - features/coffee-script.feature
467
468
  - features/data.feature
468
469
  - features/directory_index.feature
@@ -492,6 +493,18 @@ files:
492
493
  - features/step_definitions/page_layout_steps.rb
493
494
  - features/support/env.rb
494
495
  - features/tiny_src.feature
496
+ - fixtures/clean-app/config-complications.rb
497
+ - fixtures/clean-app/config-empty.rb
498
+ - fixtures/clean-app/config.rb
499
+ - fixtures/clean-app/source/index.html.haml
500
+ - fixtures/clean-app/source/layout.haml
501
+ - fixtures/clean-app/source/layouts/custom.haml
502
+ - fixtures/clean-app/source/real.html
503
+ - fixtures/clean-app/source/real/index.html.erb
504
+ - fixtures/clean-app/source/should_be_ignored.html
505
+ - fixtures/clean-app/source/should_be_ignored2.html
506
+ - fixtures/clean-app/source/should_be_ignored3.html
507
+ - fixtures/clean-app/source/static.html
495
508
  - fixtures/data-app/config.rb
496
509
  - fixtures/data-app/data/pages.yml
497
510
  - fixtures/data-app/source/index.html.haml
@@ -781,6 +794,7 @@ test_files:
781
794
  - features/automatic_image_sizes.feature
782
795
  - features/builder.feature
783
796
  - features/cache_buster.feature
797
+ - features/clean_build.feature
784
798
  - features/coffee-script.feature
785
799
  - features/data.feature
786
800
  - features/directory_index.feature
@@ -810,6 +824,18 @@ test_files:
810
824
  - features/step_definitions/page_layout_steps.rb
811
825
  - features/support/env.rb
812
826
  - features/tiny_src.feature
827
+ - fixtures/clean-app/config-complications.rb
828
+ - fixtures/clean-app/config-empty.rb
829
+ - fixtures/clean-app/config.rb
830
+ - fixtures/clean-app/source/index.html.haml
831
+ - fixtures/clean-app/source/layout.haml
832
+ - fixtures/clean-app/source/layouts/custom.haml
833
+ - fixtures/clean-app/source/real.html
834
+ - fixtures/clean-app/source/real/index.html.erb
835
+ - fixtures/clean-app/source/should_be_ignored.html
836
+ - fixtures/clean-app/source/should_be_ignored2.html
837
+ - fixtures/clean-app/source/should_be_ignored3.html
838
+ - fixtures/clean-app/source/static.html
813
839
  - fixtures/data-app/config.rb
814
840
  - fixtures/data-app/data/pages.yml
815
841
  - fixtures/data-app/source/index.html.haml