Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back Ruby 3.1 compatibility #1146

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
ruby:
- 3.3
- 3.2
- 3.1
gemfile:
- gemfiles/activerecord_8.0.gemfile
- gemfiles/activerecord_7.2.gemfile
Expand All @@ -33,6 +34,9 @@ jobs:
- ruby: truffleruby-head
db: postgresql
gemfile: gemfiles/activerecord_7.2.gemfile
exclude:
- ruby: 3.1
gemfile: gemfiles/activerecord_8.0.gemfile

services:
postgres:
Expand Down
3 changes: 1 addition & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ appraise 'activerecord-7.2' do
end

appraise 'activerecord-8.0' do
gem 'activerecord', '~> 8.0.0.beta1'
gem 'railties', '~> 8.0.0.beta1'
gem 'activerecord', '~> 8.0.0'
gem 'pg'
gem 'sqlite3', '~> 2.2'
gem 'mysql2', '~> 0.5'
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Each change should fall into categories that would affect whether the release is

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.

### unreleased

* Features
* [@tagliala Add back Ruby 3.1 compatibility](https://github.com/mbleigh/acts-as-taggable-on/pull/1082)

### [v11.0.0) / 2024-08-23](https://github.com/mbleigh/acts-as-taggable-on/compare/v10.0.0...v11.0.0)
- Removed support for Ruby 2.7
- Removed support for Rails 6.1
Expand Down
2 changes: 1 addition & 1 deletion acts-as-taggable-on.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($/)
gem.test_files = gem.files.grep(%r{^spec/})
gem.require_paths = ['lib']
gem.required_ruby_version = '>= 3.2.0'
gem.required_ruby_version = '>= 3.1.0'

if File.exist?('UPGRADING.md')
gem.post_install_message = File.read('UPGRADING.md')
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/activerecord_7.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"

gem "activerecord", "~> 7.2.0"
gem "pg"
gem "sqlite3", "~> 2.1"
gem "sqlite3", "~> 2.2"
gem "mysql2", "~> 0.5"

group :local_development do
Expand Down
5 changes: 2 additions & 3 deletions gemfiles/activerecord_8.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

source "https://rubygems.org"

gem "activerecord", "~> 8.0.0.beta1"
gem "railties", "~> 8.0.0.beta1"
gem "activerecord", "~> 8.0.0"
gem "pg"
gem "sqlite3", "~> 2.1"
gem "sqlite3", "~> 2.2"
gem "mysql2", "~> 0.5"

group :local_development do
Expand Down