chriseppstein/compass — pull request #1649 by beausmith (2014-04-14 17:07:37+00:00)
Title: Allow inline_image() to find image assets in bundled gem

**Note:** Rebased off of master per @scottdavis request in [pull request 1643](https://github.com/chriseppstein/compass/pull/1643). Resolves issue #1644.

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.* =)