From 65e1f66ea11dc07743fb8fe2cd9fc53b89e324a4 Mon Sep 17 00:00:00 2001 From: Ben Atkins Date: Fri, 29 Aug 2014 18:43:52 -0400 Subject: [PATCH] Bump to 3.0.4 [ci skip] --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- lib/paper_trail/version_number.rb | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78fc103f..7188f5c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ +## 3.0.4 + + - [#401](https://github.com/airblade/paper_trail/issues/401) / [#406](https://github.com/airblade/paper_trail/issues/406) + `PaperTrail::Version` class is not loaded via a `Rails::Engine`, even when the gem is used with in Rails. This feature has + will be re-introduced in version `3.1.0`. + ## 3.0.3 +*This version was yanked from RubyGems and has been replaced by version `3.0.4`, which is identical but does not eager load +in the `PaperTrail::Version` class through a `Rails::Engine` when the gem is used on Rails since it was causing issues for some users.* - [#386](https://github.com/airblade/paper_trail/issues/386) - Fix eager loading of `versions` association with custom class name in `ActiveRecord` 4.1. diff --git a/README.md b/README.md index 9858d6d7..f292e7b2 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ The Rails 2.3 code is on the [`rails2`](https://github.com/airblade/paper_trail/ 1. Add PaperTrail to your `Gemfile`. - `gem 'paper_trail', '~> 3.0.3'` + `gem 'paper_trail', '~> 3.0.4'` 2. Generate a migration which will add a `versions` table to your database. @@ -64,7 +64,7 @@ your applications `ActiveRecord` connection in a manner similar to the way `Rail 1. Add PaperTrail to your `Gemfile`. - `gem 'paper_trail', '~> 3.0.3'` + `gem 'paper_trail', '~> 3.0.4'` 2. Generate a migration to add a `versions` table to your database. diff --git a/lib/paper_trail/version_number.rb b/lib/paper_trail/version_number.rb index 439763ed..f562a662 100644 --- a/lib/paper_trail/version_number.rb +++ b/lib/paper_trail/version_number.rb @@ -2,7 +2,7 @@ module PaperTrail module VERSION MAJOR = 3 MINOR = 0 - TINY = 3 + TINY = 4 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')