rstacruz/sinatra-assetpack

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
## v0.3.5 - December 3, 2015

  * WARNING : This repo is not maintained anymore!
  * Final release to notify gem users.

  * Change : Woff2 Support (#199)
  * Change : Set the environment as a string (#190)
  * Change : Add noop compressing engine via :none (#176)
  * Change : Optionally only build packages in production (169)
  * Fix : Prevent syntax error in regex (#178)
  * Fix : Fix image_path helper for absolute urls (#183)

## v0.3.4 - December 3, 2015

* Yanked (post install message wasn't working)

## v0.3.3 - April 29, 2014

  * Fix : Skip CSS preprocessing for malformed URIs (#167)
  * Fix : Updates dependent require calls on invocation (#168)
  * Doc : Add doc for asset hosts (#156)

## v0.3.2 - January 10, 2014

  * Change : Support .ico files (#147)
  * Change : lock tilt gem to 1.0, not tilt 2.0 compatible yet.
  * Fix : Account for suburi in img helper (#144)
  * Fix : Improve image_path helper (#146)
  * Fix : No broken HTML for crazy file names (#150)

## v0.3.1 - August 1, 2013

  * Fix : Use Tilt mappings when sorting candidates for dynamic requests. (#122)

## v0.3.0 - July 30, 2013

  * Change: Remove automatic image tag width/height (#121)
  * Change: Drop support for ruby 1.8.
  * Fix: Tilt issue #206 workaround (#125)
  * Improvement: Improve DSL error reporting (#124)
  * Improvement: Add filename option to templates render. (#126)

## v0.2.8 - June 25, 2013

  * Fix: CSS preprocessing should not rewriting external url or not served assets. (#116)

## v0.2.7 - June 22, 2013

  * Fix: Change glob matching behaviour to match Dir#glob. (#108)
  * Improvement: Removed contest development dependency.
  * Improvement: Rewrote glob method with reduced complexity.

## v0.2.6 - June 18, 2013

  * Fix : Issue with quote wrapped data URIs. (#113)
  * Improvement: Removed backports runtime dependency (#114)
  * Improvement: Removed test dependencies included as development dependency.

## v0.2.5 - June 11, 2013

  * Fix: Issue with Last-Modified headers & packaged asssets. (#111)

## v0.2.4 - June 8, 2013

  * Feature: Serving from absolute path. (#107)
  * Feature: Cache of all assets files. (#109)
  * Improvement: Rewrote asset builder.
  * Improvement: Simplified & consolidated local_file_for & dyn_local_file_for.

## v0.2.3 - May 29, 2013

  * Change: Use optimized MD5 file digest method. (#99)
  * New: Support for Rack::URLMap / url prefix (#104)

## v0.2.2 - April 28, 2013

  * Fix: Don't preprocess CSS data-uris. (#96)

## v0.2.1 - April 23, 2013

  * New option: cache_dynamic_assets option for development cache. (#94)
  * Fix: CSS preproc to keep original CSS url quotes & url fragment.

## v0.2.0 - April 20, 2013

  * Change: Using MD5 for cache busting URI. (#91, #71)
  * Feature: Add :simple compression for javascript. (#87)
  * Fix: Added backports correctly for 1.8.7 support.

## v0.1.7 - March 11, 2013

  * Change: Gem is now certificate signed.

## v0.1.6 - March 1, 2013

  * Fix: Do not use instance helpers for environment check. (#79)

## v0.1.5 - Feb 12, 2013

  * Fix: Stylus 0.7.1 support.

## v0.1.4 - Feb 12, 2013

  * Feature: Multiple asset hosts support. (#27)
  * Fix: Lock stylus to 0.7.0 until 0.7.1 is supported.

## v0.1.3 - Feb 3, 2013

  * Feature: JRuby 1.9 and 1.8 now supported.
  * Fix: Deal with assets with exact same name but extensions. (#75)
  * Fix: Ruby 1.8 support (broken in previous v0.1 releases).

## v0.1.2 - Jan 20, 2013

  * Feature : Support for custom cache control headers for packed assets. (#43)

## v0.1.1 - Jan 15, 2013

  * Fix: Added less engine support and test (#69)
  * Fix: Support for fonts & other AssetPack.supported_formats file format. (#50)
  * Fix: Deal with multiple static files with same name but different extensions (ex. fonts).

## v0.1.0 - Jan 14, 2013

  * Change: Using `file` utility instead `identify` utility. (#26)
  * Fix: Deal with different encodings in combined assets. (#47)
  * Fix: Serve files with dots in name. (#32, #66)
  * Fix: Deal with character encoding issues in ruby 1.8. (#51)
  * Fix: Add missing depedency for development unit test. (#63)
  * Fix: Deal with binary files copy (ex. images), fix errors like `"\x89" from ASCII-8BIT to UTF-8"`. (#38, #67)

## v0.0.11 - Feb 21, 2012

  * Feature: Support for 'prebuild' to build on startup.
  * Feature: Support for SVG files.
  * Feature: Implement UglifyJS support. (#18)
  * Feature: Implement ignored files. (#17)
  * Feature: Added support classic-style Sinatra apps. (#22)
  * Change: Built files from 'rake assetpack:build' now match the mtimes of their sources. (#12)
  * Change: Update the readme with a note on SASS compression.
  * Change: Use regular expression route matcher instead of splat pattern for Padrino compatibility. (#19)
  * Change: Made `link` and `script` tags (generated by helpers) be more HTML5-like.
  * Fix: Sinatra >= 1.3.0 compatibility. Use 'public_folder' in Sinatra >=1.3.0. (#25)

## v0.0.10 - Sep 18, 2011

  * Feature: Support for 'prebuild' to build on startup.
  * Feature: Add UglifyJS support via `js_compression :uglify`. (#18)
  * Feature: Ignore '.*' and '_*' files. (#17)
  * Feature: Allow specifying of files to be ignored. (#17)
  * Change: Built files from 'rake assetpack:build' now match the mtimes of their sources. (#12)
  * Change: Refactor Compressor into separate engine classes.Fi:

## v0.0.9 - Sep 18, 2011

  * Fix: bad route terminating issue. (#9)
  * Fix: Rake task when the main App class is in a module. (#11)
  * Feature: Added .htc (IE behavior files) to the list of file formats to be served.
  * Change: Use Sinatra's `template_cache`. This makes AssetPack honor Sinatra's`reload_templates` setting. (#15)
  * Change: Added examples.

## v0.0.8 - Sep 06, 2011

  * Fix: CSS preprocessing bug that gives invalid 'url()' properties to non-existing images. (#1)
  * Feature: Allow adding CSS/JS files that don't exist. (#8)
  * Feature: Support any Tilt-compatible CSS or JS engine. (#5)
  * Change: Default to '/assets/x.js' then using assets.css without a path. Inspiration
    from Jammit.
  * Change: Ask browsers to cache assets for 1 month.
  * Misc: Add a note on the ImageMagick requirement.
  * Misc: Stop the 'img' helper from invoking ImageMagick more times than it needs to.
  * Misc: Make "rake test!" abort when it encounters an error.
  * Misc: Stylus tests to stub stylus compilation.
  * Misc: Added .rvmrc and .sass-cache to gitignore.
  * Misc: Allow overridable multiple RVM environments in tests.

## v0.0.6 - Aug 30, 2011

  * Fix: Redundant entries are now suppressed. (eg, when specifying
      `['vendor/jquery.js', 'vendor/*.js']`)
  * Feature: Allow a parameter to the block in the `assets` configuration block.
  * Feature: Update README with lots of info.
  * Feature: Allow multiple packages in the js and css helpers. (eg, `css :base, :login`)
  * Feature: Allow setting options for `js_compression` by passing a hash after it.
  * Feature: Make the path parameter in `js` and `css` in the `assets` block optional.

## v0.0.5 - Aug 30, 2011

  * Fix: build failing when it finds directories.
  * Misc: Added an example app in `example/`.

## v0.0.4 - Aug 30, 2011

  * Fix: Ruby 1.8 compatibility. Yay!
  * Fix: Fixed images always being square.
  * Fix: Assets are now ordered properly.
  * Change: the config format for `js_compression` and family. In your `assets` block,
    you now have to use `js_compression :closure` instead of `js_compression = :closure`.
  * Change: Use simple CSS compression by default.


## v0.0.3 - Aug 30, 2011

  * Feature: Images in CSS defined in `url(...)` params are now cache-busted.
  * Feature: Add support for embedded images in CSS.
  * Feature: `rake assetpack:build` now also outputs images.

## v0.0.2 - Aug 29, 2011

  * Feature: Added the `img` helper.
  * Feature: Added support for filetypes used in @font-face.
  * Fix: The gem now installs the correct dependencies.

## v0.0.1 - Aug 29, 2011

Initial release.