beausmith/compass — pull request #1 by beausmith (2014-04-11 00:51:36+00:00)
Title: Allow inline_image() to find image assets in bundled gem

Use image_path_for_size() to ask sprockets for outside asset paths if image asset is not found among application assets.

*I've locally tested this by moving an asset from the app to the gem and back. I'd like to add actual tests for this, but 1. there aren't any existing tests to update for this existing feature, 2. I'm really not sure how to test this code when an asset is being included into another project though a gem, 3. Still aspiring to earn "rubyist" cred.* =)