diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index 1a4876c6..b497ee41 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -22,6 +22,7 @@ The Documentation for the [latest preview release](http://beta.compass-style.org * Vertical rhythm now has a minimum padding that defaults to 2px. This makes some edge cases look better. * New mixin `force-wrap` prevents URLs and long lines of text from breaking layouts. +* Fix absolute path detection on windows. 0.11.3 (06/11/2011) ------------------- diff --git a/lib/compass/commands/project_base.rb b/lib/compass/commands/project_base.rb index df1259d1..c4615518 100644 --- a/lib/compass/commands/project_base.rb +++ b/lib/compass/commands/project_base.rb @@ -84,8 +84,8 @@ module Compass end def absolute_path?(path) - # This is only going to work on unix, gonna need a better implementation. - path.index(File::SEPARATOR) == 0 + # Pretty basic implementation + path.index(File::SEPARATOR) == 0 || path.index(':') == 1 end def skip_extension_discovery? diff --git a/lib/compass/configuration/adapters.rb b/lib/compass/configuration/adapters.rb index 352eb3c4..215982fd 100644 --- a/lib/compass/configuration/adapters.rb +++ b/lib/compass/configuration/adapters.rb @@ -38,8 +38,8 @@ module Compass end def absolute_path?(path) - # This is only going to work on unix, gonna need a better implementation. - path.index(File::SEPARATOR) == 0 + # Pretty basic implementation + path.index(File::SEPARATOR) == 0 || path.index(':') == 1 end def to_sass_engine_options