diff --git a/CHANGES.md b/CHANGES.md index 181ce90..232e0ca 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,11 @@ Changes to `paper_trail_manager` ================================ +* 0.5.0 + * Added support for pagination with [Kaminari](https://github.com/amatsuda/kaminari) in addition to [will_paginate](https://github.com/mislav/will_paginate). + * **[!]** Removed direct dependency on will_paginate. You must now include either `will_paginate` or `kaminari` in your Gemfile. + * Fixed a bug with route generation when paper_trail_manager is used within another Rails engine. + * 0.4.0 * Allow configuration of ChangesController's parent class, route helpers, and layout diff --git a/README.md b/README.md index 92ca8d3..32c3756 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,11 @@ This software has been in use for a year at http://calagator.org and http://epdx If you have a Ruby on Rails 3 or 4 application where you're using the `paper_trail` gem to track changes to your records, you can make use of this like: Add the following line to your `Gemfile`: + gem 'paper_trail_manager' -PaperTrailManager will use your existing paging library (WillPaginate or Kaminari). If you don't currently use one in your app, add one of the following lines to your `Gemfile`: +PaperTrailManager will use your existing paging library ([will_paginate](https://github.com/mislav/will_paginate) or [Kaminari](https://github.com/amatsuda/kaminari)). If you don't currently use one in your app, add one of the following lines to your `Gemfile`: + gem 'kaminari' #or gem 'will_paginate' diff --git a/paper_trail_manager.gemspec b/paper_trail_manager.gemspec index 454ae4c..f19c9fe 100644 --- a/paper_trail_manager.gemspec +++ b/paper_trail_manager.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |spec| spec.name = "paper_trail_manager" - spec.version = "0.4.0" + spec.version = "0.5.0" spec.authors = ["Igal Koshevoy", "Reid Beels"] spec.authors = ["mail@reidbeels.com"] spec.summary = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."