Drop support for ruby 2.5
Ruby 2.5 reached EoL on 2021-03-31.
This commit is contained in:
parent
7e50b841ac
commit
4e96041c07
|
@ -32,11 +32,11 @@ require "bundler/inline"
|
|||
|
||||
# STEP ONE: What versions are you using?
|
||||
gemfile(true) do
|
||||
ruby "2.5.1"
|
||||
ruby "3.0.2"
|
||||
source "https://rubygems.org"
|
||||
gem "activerecord", "5.2.0"
|
||||
gem "activerecord", "6.1.4.1"
|
||||
gem "minitest", "5.11.3"
|
||||
gem "paper_trail", "9.2.0", require: false
|
||||
gem "paper_trail", "12.1.0", require: false
|
||||
gem "sqlite3", "1.3.13"
|
||||
end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
# See "Lowest supported ruby version" in CONTRIBUTING.md
|
||||
ruby-version: '2.5'
|
||||
ruby-version: '2.6'
|
||||
- name: Bundle
|
||||
run: |
|
||||
gem install bundler
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
# in case it still produces any deprecation warnings.
|
||||
#
|
||||
# See "Lowest supported ruby version" in CONTRIBUTING.md
|
||||
ruby: [ '2.5', '2.7', '3.0' ]
|
||||
ruby: [ '2.6', '2.7', '3.0' ]
|
||||
|
||||
exclude:
|
||||
# rails 5.2 requires ruby < 3.0
|
||||
|
|
|
@ -22,7 +22,7 @@ AllCops:
|
|||
NewCops: enable
|
||||
|
||||
# See "Lowest supported ruby version" in CONTRIBUTING.md
|
||||
TargetRubyVersion: 2.5
|
||||
TargetRubyVersion: 2.6
|
||||
|
||||
Bundler/OrderedGems:
|
||||
Exclude:
|
||||
|
|
|
@ -15,8 +15,13 @@ recommendations of [keepachangelog.com](http://keepachangelog.com/).
|
|||
|
||||
### Fixed
|
||||
|
||||
- None
|
||||
|
||||
### Dependencies
|
||||
|
||||
- [#1338](https://github.com/paper-trail-gem/paper_trail/pull/1338) -
|
||||
Support Psych version 4
|
||||
- ruby >= 2.6 (was >= 2.5). Ruby 2.5 reached EoL on 2021-03-31.
|
||||
|
||||
## 12.1.0 (2021-08-30)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ module PaperTrail
|
|||
#
|
||||
# It is not safe to assume that a new version of rails will be compatible with
|
||||
# PaperTrail. PT is only compatible with the versions of rails that it is
|
||||
# tested against. See `.travis.yml`.
|
||||
# tested against. See `.github/workflows/test.yml`.
|
||||
#
|
||||
# However, as of
|
||||
# [#1213](https://github.com/paper-trail-gem/paper_trail/pull/1213) our
|
||||
|
|
|
@ -43,9 +43,7 @@ has been destroyed.
|
|||
# about 3 years, per https://www.ruby-lang.org/en/downloads/branches/
|
||||
#
|
||||
# See "Lowest supported ruby version" in CONTRIBUTING.md
|
||||
#
|
||||
# Ruby 2.5 reaches EoL on 2021-03-31.
|
||||
s.required_ruby_version = ">= 2.5.0"
|
||||
s.required_ruby_version = ">= 2.6.0"
|
||||
|
||||
# We no longer specify a maximum activerecord version.
|
||||
# See discussion in paper_trail/compatibility.rb
|
||||
|
|
Loading…
Reference in New Issue