sstephenson/sprockets — pull request #315 by route (2012-04-07 22:57:50+00:00)
Title: Fix Context#resolve for absolute paths

Hi I've added checking for file existence when filename given as absolute path and also added tests for Context#resolve method.
This is backtrace for this issue:
```
ERROR NoMethodError: undefined method `mtime' for nil:NilClass
./sprockets/lib/sprockets/processed_asset.rb:128:in `block in build_dependency_paths'
./sprockets/lib/sprockets/processed_asset.rb:127:in `build_dependency_paths'
./sprockets/lib/sprockets/processed_asset.rb:17:in `initialize'
./sprockets/lib/sprockets/base.rb:340:in `new'
./sprockets/lib/sprockets/base.rb:340:in `block in build_asset'
./sprockets/lib/sprockets/base.rb:361:in `circular_call_protection'
./sprockets/lib/sprockets/base.rb:339:in `build_asset'
./sprockets/lib/sprockets/index.rb:93:in `block in build_asset'
./sprockets/lib/sprockets/caching.rb:51:in `cache_asset'
./sprockets/lib/sprockets/index.rb:92:in `build_asset'
./sprockets/lib/sprockets/base.rb:260:in `find_asset'
./sprockets/lib/sprockets/index.rb:60:in `find_asset'
./sprockets/lib/sprockets/bundled_asset.rb:16:in `initialize'
./sprockets/lib/sprockets/base.rb:343:in `new'
./sprockets/lib/sprockets/base.rb:343:in `build_asset'
./sprockets/lib/sprockets/index.rb:93:in `block in build_asset'
./sprockets/lib/sprockets/caching.rb:51:in `cache_asset'
./sprockets/lib/sprockets/index.rb:92:in `build_asset'
./sprockets/lib/sprockets/base.rb:260:in `find_asset'
./sprockets/lib/sprockets/index.rb:60:in `find_asset'
./sprockets/lib/sprockets/environment.rb:74:in `find_asset'
./sprockets/lib/sprockets/server.rb:47:in `call'
```