prep 2.0.14

This commit is contained in:
Thomas Reynolds 2011-11-05 22:04:27 -07:00
parent 03f17ff551
commit 3cd66cdb25
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
2.0.13.1
2.0.14
====
build --clean shouldn't remove dotfiles
Minor fix for i18n
2.0.13
====

View file

@ -39,6 +39,7 @@ module Middleman::CoreExtensions::Routing
def paths_for_url(url)
url = url.gsub(%r{\/#{settings.index_file}$}, "")
url = url.gsub(%r{(\/)$}, "") if url.length > 1
url = "/" if url.length == 0
paths = [url]
paths << "#{url}/" if url.length > 1 && url.split("/").last.split('.').length <= 1

View file

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