Skip to content

Commit f72f927

Browse files
authored
Merge pull request #1146 from tagliala/feature/1138-reintroduce-ruby-31
Add back Ruby 3.1 compatibility
2 parents 69e6bff + b5729a3 commit f72f927

6 files changed

+14
-7
lines changed

.github/workflows/spec.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
ruby:
1616
- 3.3
1717
- 3.2
18+
- 3.1
1819
gemfile:
1920
- gemfiles/activerecord_8.0.gemfile
2021
- gemfiles/activerecord_7.2.gemfile
@@ -33,6 +34,9 @@ jobs:
3334
- ruby: truffleruby-head
3435
db: postgresql
3536
gemfile: gemfiles/activerecord_7.2.gemfile
37+
exclude:
38+
- ruby: 3.1
39+
gemfile: gemfiles/activerecord_8.0.gemfile
3640

3741
services:
3842
postgres:

Appraisals

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ appraise 'activerecord-7.2' do
1515
end
1616

1717
appraise 'activerecord-8.0' do
18-
gem 'activerecord', '~> 8.0.0.beta1'
19-
gem 'railties', '~> 8.0.0.beta1'
18+
gem 'activerecord', '~> 8.0.0'
2019
gem 'pg'
2120
gem 'sqlite3', '~> 2.2'
2221
gem 'mysql2', '~> 0.5'

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Each change should fall into categories that would affect whether the release is
1010

1111
As such, _Breaking Changes_ are major. _Features_ would map to either major or minor. _Fixes_, _Performance_, and _Misc_ are either minor or patch, the difference being kind of fuzzy for the purposes of history. Adding _Documentation_ (including tests) would be patch level.
1212

13+
### unreleased
14+
15+
* Features
16+
* [@tagliala Add back Ruby 3.1 compatibility](https://github.com/mbleigh/acts-as-taggable-on/pull/1082)
17+
1318
### [v11.0.0) / 2024-08-23](https://github.com/mbleigh/acts-as-taggable-on/compare/v10.0.0...v11.0.0)
1419
- Removed support for Ruby 2.7
1520
- Removed support for Rails 6.1

acts-as-taggable-on.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
1515
gem.files = `git ls-files`.split($/)
1616
gem.test_files = gem.files.grep(%r{^spec/})
1717
gem.require_paths = ['lib']
18-
gem.required_ruby_version = '>= 3.2.0'
18+
gem.required_ruby_version = '>= 3.1.0'
1919

2020
if File.exist?('UPGRADING.md')
2121
gem.post_install_message = File.read('UPGRADING.md')

gemfiles/activerecord_7.2.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source "https://rubygems.org"
44

55
gem "activerecord", "~> 7.2.0"
66
gem "pg"
7-
gem "sqlite3", "~> 2.1"
7+
gem "sqlite3", "~> 2.2"
88
gem "mysql2", "~> 0.5"
99

1010
group :local_development do

gemfiles/activerecord_8.0.gemfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 8.0.0.beta1"
6-
gem "railties", "~> 8.0.0.beta1"
5+
gem "activerecord", "~> 8.0.0"
76
gem "pg"
8-
gem "sqlite3", "~> 2.1"
7+
gem "sqlite3", "~> 2.2"
98
gem "mysql2", "~> 0.5"
109

1110
group :local_development do

0 commit comments

Comments
 (0)