Skip to content

Commit

Permalink
Remove support for ActiveRecord 6.0
Browse files Browse the repository at this point in the history
Rails 6.0 has been EOL for a year now.
  • Loading branch information
alpaca-tc committed Aug 21, 2024
1 parent 28487fb commit b2f0a1c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/active-record-multi-tenant-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ jobs:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
appraisal:
- rails-6.0
- rails-6.1
- rails-7.0
- rails-7.1
- active-record-6.0
- active-record-6.1
- active-record-7.0
- active-record-7.1
Expand Down
8 changes: 0 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# frozen_string_literal: true

appraise 'rails-6.0' do
gem 'rails', '~> 6.0.3'
end

appraise 'rails-6.1' do
gem 'rails', '~> 6.1.0'
end
Expand All @@ -16,10 +12,6 @@ appraise 'rails-7.1' do
gem 'rails', '~> 7.1.0'
end

appraise 'active-record-6.0' do
gem 'activerecord', '~> 6.0.3'
end

appraise 'active-record-6.1' do
gem 'activerecord', '~> 6.1.0'
end
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ gem 'activerecord-multi-tenant'

## Supported Rails versions

All Ruby on Rails versions starting with 6.0 or newer (up to 7.0) are supported.
All Ruby on Rails versions starting with 6.1 or newer (up to 7.1) are supported.

This gem only supports ActiveRecord (the Rails default ORM), and not alternative ORMs like Sequel.

Expand Down
2 changes: 1 addition & 1 deletion activerecord-multi-tenant.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/citusdata/activerecord-multi-tenant'
spec.license = 'MIT'

spec.add_dependency 'rails', '>= 6'
spec.add_dependency 'rails', '>= 6.1'

spec.add_development_dependency 'anbt-sql-formatter'
spec.add_development_dependency 'codecov'
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ Dependencies
``activerecord-multi-tenant`` requires:

- Ruby version 3.0.0 or later
- Rails version 6.0.0 or later
- Rails version 6.1.0 or later

Please ensure that your application meets these requirements before installing the gem.
2 changes: 1 addition & 1 deletion docs/source/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ FAQs and Known Limitations

**Q: Does ``activerecord-multi-tenant`` support Rails version 5.X?**

**A:** ``activerecord-multi-tenant`` supports Rails 6.0.0 and later. For older versions of Rails, please use the appropriate version of the gem.
**A:** ``activerecord-multi-tenant`` supports Rails 6.1.0 and later. For older versions of Rails, please use the appropriate version of the gem.



Expand Down

0 comments on commit b2f0a1c

Please sign in to comment.