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

Remove support for ActiveRecord 6.0 #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
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