RubyGems.org

Rack::Sprocketize is a piece of Rack Middleware which uses Sprockets to concatenate javascript files and then optionally compresses them. In a development environment, the files will be sprocketized on each request if there have been changes to the source files. In a production environment, the files will only be sprocketized one time, and only if there have been changes. Also, in a production environment, the files will be compressed by whichever javascript compressor is available.

installgem install rack-sprocketize
Authors

Pete Browne

5,310 total downloads 1,233 for this version
Owners

Ad96387ea291a4e51e311981a72c8282

Gemfile
gem 'rack-sprocketize', '~> 0.4.1'
Versions
  1. 0.4.1 August 30, 2011 (9.5 KB)
  2. 0.4.0 March 17, 2011 (9 KB)
  3. 0.3.0 March 16, 2011 (9 KB)
  4. 0.2.0 March 15, 2011 (9 KB)
  5. 0.1.0 March 7, 2011 (8.5 KB)