README.markdown in image_optim_rails-0.1.0 vs README.markdown in image_optim_rails-0.2.0

- old
+ new

@@ -13,17 +13,17 @@ ## Installation Add to your `Gemfile`: ```ruby -gem 'image_optim' +gem 'image_optim_rails' ``` With [`image_optim_pack`](https://github.com/toy/image_optim_pack): ```ruby -gem 'image_optim' +gem 'image_optim_rails' gem 'image_optim_pack' ``` ## Usage @@ -32,14 +32,21 @@ You can provide options for image_optim used for preprocessor through config: ```ruby config.assets.image_optim.nice = 20 config.assets.image_optim.svgo = false +config.assets.image_optim.gifsicle.careful = true ``` -Check available options in [options section of image_optim](https://github.com/toy/image_optim#options). +Or through config files `config/image_optim.yml` and `config/image_optim/#{RAILS_ENV}.yml`. -Image optimization can be time consuming, so depending on your deployment process you may prefer to optimize original asset files. +Caching is enabled by default in directory `tmp/cache/image_optim`. + +Check all available options in [options section of image_optim](https://github.com/toy/image_optim#options). + +## ChangeLog + +In separate file [CHANGELOG.markdown](CHANGELOG.markdown). ## Copyright Copyright (c) 2013-2016 Ivan Kuchin. See [LICENSE.txt](LICENSE.txt) for details.