Skip to content

Commit

Permalink
Merge pull request collectiveidea#442 from tbrisker/52-47
Browse files Browse the repository at this point in the history
Backport 5.2 support to 4.7 stable
  • Loading branch information
danielmorrison authored Apr 11, 2018
2 parents c727373 + 343d0b5 commit b3a314a
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ appraise 'rails51' do
end

appraise 'rails52' do
gem 'rails', '>= 5.2.0.rc1', '< 5.3'
gem 'rails', '>= 5.2.0', '< 5.3'
gem 'mysql2', '~> 0.4.4'
end
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,26 @@ Changed

Fixed

- None

## 4.7.1 (2018-04-10)

Breaking changes

- None

Added

- None

Changed

- None

Fixed

- Allow use with Rails 5.2 final

## 4.7.0 (2018-03-14)

Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Audited [![Build Status](https://secure.travis-ci.org/collectiveidea/audited.svg

**Audited** (previously acts_as_audited) is an ORM extension that logs all changes to your models. Audited can also record who made those changes, save comments and associate models related to the changes.

Audited currently (4.x) works with Rails 5.1, 5.0 and 4.2. It may work with 4.1 and 4.0, but this is not guaranteed.
Audited currently (4.x) works with Rails 5.2, 5.1, 5.0 and 4.2. It may work with 4.1 and 4.0, but this is not guaranteed.

For Rails 3, use gem version 3.0 or see the [3.0-stable branch](https://github.com/collectiveidea/audited/tree/3.0-stable).

Expand Down
4 changes: 2 additions & 2 deletions audited.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($\).reject{|f| f =~ /(\.gemspec)/ }
gem.require_paths = ['lib']

gem.add_dependency 'activerecord', '>= 4.0', '< 5.2'
gem.add_dependency 'activerecord', '>= 4.0', '< 5.3'

gem.add_development_dependency 'appraisal'
gem.add_development_dependency 'rails', '>= 4.0', '< 5.2'
gem.add_development_dependency 'rails', '>= 4.0', '< 5.3'
gem.add_development_dependency 'rspec-rails', '~> 3.5'

# JRuby support for the test ENV
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails52.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

gem "rails", ">= 5.2.0.rc1", "< 5.3"
gem "rails", ">= 5.2.0", "< 5.3"
gem "mysql2", "~> 0.4.4"

gemspec name: "audited", path: "../"
2 changes: 1 addition & 1 deletion lib/audited/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Audited
VERSION = "4.7.0"
VERSION = "4.7.1"
end

0 comments on commit b3a314a

Please sign in to comment.