Merge branch 'master' of github.com:chriseppstein/compass into rails31

This commit is contained in:
Scott Davis 2011-08-19 19:58:00 -04:00
commit 8a407a6df7

View File

@ -7,7 +7,7 @@ module Compass
# finds all sprite files # finds all sprite files
def self.find_all_sprite_map_files(path) def self.find_all_sprite_map_files(path)
hex = "[0-9a-f]" hex = "[0-9a-f]"
glob = "*-{,s}#{hex*10}{#{VALID_EXTENSIONS.join(",")}}" glob = "*-s#{hex*10}{#{VALID_EXTENSIONS.join(",")}}"
Dir.glob(File.join(path, "**", glob)) Dir.glob(File.join(path, "**", glob))
end end