Refactored and simplified Sprockets asset caching #153

Open
marcusmateus wants to merge 5 commits from marcusmateus/simplify_sprockets_asset_caching into master

5 Commits

Author SHA1 Message Date
Marcus Mateus
b65a3edaa2 Added Sprockets logger and now log asset pipeline compilation exceptions 2012-06-18 01:26:46 -05:00
Marcus Mateus
5ff1a9d255 Removed now superfluous JHW specific Sprockets template engine files 2012-06-12 23:03:09 -05:00
Marcus Mateus
1557bfbc55 Ouch! Corrected logic mistake in calculation of cache_file freshness 2012-06-12 22:54:15 -05:00
Marcus Mateus
99cef1c9a6 Refactored and simplified sprockets asset caching
* Done primarily so postprocessors would work properly
    (i.e. sprockets-commonjs)
 * Potentially eliminates need for all the JHW specific template
    engines, except NilTemplate
2012-06-12 22:17:26 -05:00
Marcus Mateus
0987d6acc9 Exposed sprockets_environment from Jasmine::Headless
* Allows for manipulation of the Sprockets::Environment for
    things like adding/removing pre/postprocessors from spec_helper.rb
 * Also, fixed specs that were failing on files_list.rb when
    run standalone due to missing require in file_checker.rb
2012-06-12 21:47:45 -05:00