Skip to content

Commit

Permalink
Merge pull request #1146 from tagliala/feature/1138-reintroduce-ruby-31
Browse files Browse the repository at this point in the history
Add back Ruby 3.1 compatibility
  • Loading branch information
seuros authored Dec 30, 2024
2 parents 69e6bff + b5729a3 commit f72f927
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
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

0 comments on commit f72f927

Please sign in to comment.