- Support for 'prebuild' to build on startup.
- Support for SVG files.
- Implement UglifyJS support. (#18)
- Implement ignored files. (#17)
- Added support classic-style Sinatra apps. (#22)
- Built files from 'rake assetpack:build' now match the mtimes of their sources. (#12)
- Update the readme with a note on SASS compression.
- Use regular expression route matcher instead of splat pattern for Padrino compatibility. (#19)
- Made and <script> tags (generated by helpers) be more HTML5-like.
- Sinatra >= 1.3.0 compatibility. Use 'public_folder' in Sinatra >=1.3.0. (#25)
- Support for 'prebuild' to build on startup.
- Add UglifyJS support via
js_compression :uglify
. (#18) - Ignore '.' and '_' files. (#17)
- Allow specifying of files to be ignored. (#17)
- Built files from 'rake assetpack:build' now match the mtimes of their sources. (#12)
- Refactor Compressor into separate engine classes.
- Fixed a bad route terminating issue. (#9)
- Fix the Rake task when the main App class is in a module. (#11)
- Use Sinatra's
template_cache
. This makes AssetPack honor Sinatra'sreload_templates
setting. (#15)
- Added .htc (IE behavior files) to the list of file formats to be served.
- Added examples.
- Fixed the CSS preprocessing bug that gives invalid 'url()' properties to non-existing images. (#1)
- Allow adding CSS/JS files that don't exist. (#8)
- Support any Tilt-compatible CSS or JS engine. (#5)
- Default to '/assets/x.js' then using assets.css without a path. Inspiration from Jammit.
- Ask browsers to cache assets for 1 month.
- Add a note on the ImageMagick requirement.
- Stop the 'img' helper from invoking ImageMagick more times than it needs to.
- Make "rake test!" abort when it encounters an error.
- Stylus tests to stub stylus compilation.
- Added .rvmrc and .sass-cache to gitignore.
- Allow overridable multiple RVM environments in tests.
- Redundant entries are now suppressed. (eg, when specifying
['vendor/jquery.js', 'vendor/*.js']
)
- Allow a parameter to the block in the
assets
configuration block. - Update README with lots of info.
- Allow multiple packages in the js and css helpers. (eg,
css :base, :login
) - Allow setting options for
js_compression
by passing a hash after it. - Make the path parameter in
js
andcss
in theassets
block optional.
- Fix build failing when it finds directories.
- Added an example app in
example/
.
- Ruby 1.8 compatibility. Yay!
- Fixed images always being square.
- Assets are now ordered properly.
- the config format for
js_compression
and family. In yourassets
block, you now have to usejs_compression :closure
instead ofjs_compression = :closure
. - Use simple CSS compression by default.
- Images in CSS defined in
url(...)
params are now cache-busted. - Add support for embedded images in CSS.
rake assetpack:build
now also outputs images.
- Added the
img
helper. - Added support for filetypes used in @font-face.
- The gem now installs the correct dependencies.
Initial release.