sstephenson/sprockets — pull request #299 by GUI (2012-02-24 18:02:50+00:00)
Title: Fix Context#logical_path when path contains periods

Without this, the `logical_path` only grabbed up up until the first period encountered. So if you happened to have a file like `jquery.mobile-1.0.1/jquery.mobile-1.0.1.js` it's logical path was being interpreted as just `jquery` instead of `jquery.mobile-1.0.1/jquery.mobile-1.0.1`.

I'm not super familiar with the inner-workings of sprockets, so I'm not entirely sure where Context#logical_path is being used, but [sprockets-urlrewriter](https://github.com/carlhoerberg/sprockets-urlrewriter) uses this `logical_path` method and expects it to be the relative path to the asset file. This was obviously leading to strange results since parts of the path might be missing if the file name or path happened to contain periods. And I didn't see any other obvious way to get this type of relative path to the asset file inside a Processor subclass.