Skip to content

Commit 9790ee1

Browse files
Add support for Rails 7.2 (#563)
* 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.
1 parent c3b432e commit 9790ee1

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Diff for: .github/workflows/build.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
rails: ["~> 7.1.0", "~> 7.0.0", "~> 6.1.0", "~> 6.0.0"]
18+
rails: ["~> 7.2.0", "~> 7.1.0", "~> 7.0.0", "~> 6.1.0", "~> 6.0.0"]
1919
ruby: ["3.2.2", "3.1.4", "3.0.6", "2.7.8"]
2020
include:
2121
- ruby: 3.2
@@ -39,6 +39,12 @@ jobs:
3939
rails: '~> 5.2.0'
4040
- ruby: 2.5
4141
rails: '~> 5.1.0'
42+
exclude:
43+
# Rails 7.2.0 requires Ruby 3.1.0 or later
44+
- ruby: "3.0.6"
45+
rails: "~> 7.2.0"
46+
- ruby: "2.7.8"
47+
rails: "~> 7.2.0"
4248
#os: ubuntu-latest
4349
#arch: x64
4450

Diff for: CHANGELOG.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
## 2.6.4 - July 20, 2024
44

5-
Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
6-
75
* [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554)
86
[Joé Dupuis](https://github.com/JoeDupuis)
97
* [#551](https://github.com/rubysherpas/paranoia/pull/551) Fix: restore has_one with scope (#551)

Diff for: Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sqlite = ENV['SQLITE_VERSION']
55
if sqlite
66
gem 'sqlite3', sqlite, platforms: [:ruby]
77
else
8-
gem 'sqlite3', platforms: [:ruby]
8+
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
99
end
1010

1111
platforms :jruby do

Diff for: paranoia.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
2424

2525
s.required_ruby_version = '>= 2.5'
2626

27-
s.add_dependency 'activerecord', '>= 5.1', '< 7.2'
27+
s.add_dependency 'activerecord', '>= 5.1', '< 8.0'
2828

2929
s.add_development_dependency "bundler", ">= 1.0.0"
3030
s.add_development_dependency "rake"

0 commit comments

Comments
 (0)