documentcloud/jammit — pull request #227 by didip (2012-03-28 23:40:37+00:00)
Title: Refactor of Jammit

* Upgraded development and test Gemfile

* Able to switch to 4 different JS compressors: jsmin, yui, closure, or uglifier.

* Able to switch to 3 different CSS compressors: cssmin, yui, or sass.

* New attributes: Jammit.css_compressors and Jammit.javascript_compressors.

* All tests now explicitly use :yui

* New compressors:

lib/jammit/cssmin_compressor.rb
lib/jammit/jsmin_compressor.rb
lib/jammit/sass_compressor.rb
lib/jammit/yui_css_compressor.rb
lib/jammit/yui_javascript_compressor.rb

* Absorbed cssmin and jsmin. See: (https://github.com/rgrove/jsmin and https://github.com/rgrove/cssmin)

* All tests pass.