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.

Required Ruby Version

None

Authors

Pete Browne

Versions

  1. 0.4.1
    1. source

      1. 0.4.1 source August 30, 2011 (9.5 KB)
  2. 0.4.0
    1. source

      1. 0.4.0 source March 17, 2011 (9 KB)
  3. 0.3.0
    1. source

      1. 0.3.0 source March 16, 2011 (9 KB)
  4. 0.2.0
    1. source

      1. 0.2.0 source March 15, 2011 (9 KB)
  5. 0.1.0
    1. source

      1. 0.1.0 source March 07, 2011 (8.5 KB)

SHA 256 checksum