Merge branch 'master' of github.com:tdreyno/middleman

This commit is contained in:
Thomas Reynolds 2011-10-19 16:22:07 -07:00
commit 42e834269e
3 changed files with 7 additions and 1 deletions

View file

@ -1,6 +1,11 @@
2.0.13.1
====
build --clean shouldn't remove dotfiles
2.0.13 2.0.13
==== ====
middleman build --clean keeps the build directory clean of leftover files middleman build --clean keeps the build directory clean of leftover files
Padrino 0.10.5 and Rack 1.3.5
2.0.12 2.0.12
==== ====

View file

@ -68,6 +68,7 @@ module Middleman
def queue_current_paths_from(destination) def queue_current_paths_from(destination)
@cleaning_queue = [] @cleaning_queue = []
Find.find(destination) do |path| Find.find(destination) do |path|
next if path.match(/\/\./)
unless path == destination unless path == destination
@cleaning_queue << path.sub(destination, destination[/([^\/]+?)$/]) @cleaning_queue << path.sub(destination, destination[/([^\/]+?)$/])
end end

View file

@ -1,3 +1,3 @@
module Middleman module Middleman
VERSION = "2.0.13" VERSION = "2.0.13.1"
end end