Skip to content

Commit

Permalink
Add support for Rails 7.2 (#563)
Browse files Browse the repository at this point in the history
* Add support for Rails 7.2

* Remove Rails 7.2 changelog entry

v2.6.4 doesn't actually support Rails 7.2, so drop this item from the
changelog.
  • Loading branch information
andrewhampton committed Aug 13, 2024
1 parent c3b432e commit 9790ee1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rails: ["~> 7.1.0", "~> 7.0.0", "~> 6.1.0", "~> 6.0.0"]
rails: ["~> 7.2.0", "~> 7.1.0", "~> 7.0.0", "~> 6.1.0", "~> 6.0.0"]
ruby: ["3.2.2", "3.1.4", "3.0.6", "2.7.8"]
include:
- ruby: 3.2
Expand All @@ -39,6 +39,12 @@ jobs:
rails: '~> 5.2.0'
- ruby: 2.5
rails: '~> 5.1.0'
exclude:
# Rails 7.2.0 requires Ruby 3.1.0 or later
- ruby: "3.0.6"
rails: "~> 7.2.0"
- ruby: "2.7.8"
rails: "~> 7.2.0"
#os: ubuntu-latest
#arch: x64

Expand Down
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

## 2.6.4 - July 20, 2024

Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)

* [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554)
[Joé Dupuis](https://github.com/JoeDupuis)
* [#551](https://github.com/rubysherpas/paranoia/pull/551) Fix: restore has_one with scope (#551)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sqlite = ENV['SQLITE_VERSION']
if sqlite
gem 'sqlite3', sqlite, platforms: [:ruby]
else
gem 'sqlite3', platforms: [:ruby]
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
end

platforms :jruby do
Expand Down
2 changes: 1 addition & 1 deletion paranoia.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gem::Specification.new do |s|

s.required_ruby_version = '>= 2.5'

s.add_dependency 'activerecord', '>= 5.1', '< 7.2'
s.add_dependency 'activerecord', '>= 5.1', '< 8.0'

s.add_development_dependency "bundler", ">= 1.0.0"
s.add_development_dependency "rake"
Expand Down

0 comments on commit 9790ee1

Please sign in to comment.