chriseppstein/compass — pull request #820 by piouPiouM (2012-03-29 11:56:02+00:00)
Title: Fixed the sprite Magic Selectors

The sprite magic selectors fail to detect the files with selector variants like `my-file_hover` because an instance of `Sass::Script::String` is passed to the corresponding helper (i.e. `Compass::SassExtensions::Sprites::ImageMethods#has_hover?`) instead of a `String`.
Therefore, this helper ask to `Compass::SassExtensions::Sprites::ImageMethods#image_for` if `"my-file"_hover` exists — _note the double quotes_ — (which is not the case, of course).