diff --git a/CHANGELOG.md b/CHANGELOG.md index 228c40e87..7ae2694f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ # Change Log -## Unreleased +## Version 1.6.6 - 2015-04-05 +### Changed + +* Upgrade Polyamorous dependency to version 1.2.0, which uses Module#prepend instead of monkey-patching for hooking into Active Record (with Ruby 2.x). + + *Jon Atack* + ### Fixed -* A better fix for the "undefined method `model_name` for Ransack::Search" +* An improved fix for the "undefined method `model_name` for Ransack::Search" issue [#518](https://github.com/activerecord-hackery/ransack/issues/518) affecting Rails 4.2.1 and 5.0.0. This fix allows us to remove the ActionView patch in Ransack version 1.6.4. @@ -18,11 +24,17 @@ *Nahuel Cuesta Luengo* +* Fix RubyGems YARD rendering of the README docs. + + *Jon Atack* + ### Added * Add the Ruby version to the the header message that shows the database, Active Record and Arel versions when running tests. +* Add Code Climate analysis. + *Jon Atack* diff --git a/README.md b/README.md index 0f2787641..4f4667466 100644 --- a/README.md +++ b/README.md @@ -30,19 +30,19 @@ If you're viewing this at [github.com/activerecord-hackery/ransack](https://github.com/activerecord-hackery/ransack), you're reading the documentation for the master branch with the latest features. [View documentation for the last release (1.6.6).] -(https://github.com/activerecord-hackery/ransack/tree/v1.6.5) +(https://github.com/activerecord-hackery/ransack/tree/v1.6.6) ## Getting started Ransack is compatible with Rails 3 and 4 (including 4.2.1) on Ruby 1.9 and -later. It currently works with Rails 5 as well, though changes in Arel and -Active Record keep that a moving target. If you are using Ruby 1.8, you can use -an earlier version of Ransack up to v1.3.0. +later (Ruby 2.2 recommended). Ransack currently works with Rails master (5.0.0) +too! If you are using Ruby 1.8, you can use an earlier version of Ransack up to +1.3.0. Ransack works out-of-the-box with Active Record and also features experimental support for Mongoid 4.0 (without associations, further details below). -In your Gemfile, for the last officially released Ransack gem: +In your Gemfile, for the last officially released gem: ```ruby gem 'ransack' diff --git a/lib/ransack/version.rb b/lib/ransack/version.rb index e4643389e..749ac2b7c 100644 --- a/lib/ransack/version.rb +++ b/lib/ransack/version.rb @@ -1,3 +1,3 @@ module Ransack - VERSION = "1.6.5" + VERSION = '1.6.6' end