Skip to content

Commit 3be8277

Browse files
committed
Merge branch 'core' into feat-after_restore_commit
2 parents b918e39 + f441c37 commit 3be8277

File tree

5 files changed

+25
-36
lines changed

5 files changed

+25
-36
lines changed

Diff for: .github/workflows/build.yml

+13-26
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,19 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
rails: ["~> 7.1.0", "~> 7.0.0", "~> 6.1.0", "~> 6.0.0"]
19-
ruby: ["3.2.2", "3.1.4", "3.0.6", "2.7.8"]
20-
include:
21-
- ruby: 3.2
22-
rails: 'edge'
23-
- ruby: 3.2
24-
rails: '~> 7.1.0'
25-
# single test failure with jruby
26-
#- ruby: jruby-9.4
27-
# rails: '~> 7.0.0'
28-
- ruby: 2.6
29-
rails: '~> 6.1.0'
30-
- ruby: 2.6
31-
rails: '~> 6.0.0'
32-
- ruby: 2.6
33-
rails: '~> 5.2.0'
34-
- ruby: 2.6
35-
rails: '~> 5.1.0'
36-
- ruby: 2.5
37-
rails: '~> 6.0.0'
38-
- ruby: 2.5
39-
rails: '~> 5.2.0'
40-
- ruby: 2.5
41-
rails: '~> 5.1.0'
42-
#os: ubuntu-latest
43-
#arch: x64
18+
rails: ["edge", "~> 7.2.0", "~> 7.1.0", "~> 7.0.0", "~> 6.1.0"]
19+
ruby: ["3.3","3.2", "3.1", "3.0", "2.7"]
20+
exclude:
21+
- rails: "~> 7.2.0"
22+
ruby: "3.0"
23+
- rails: "~> 7.2.0"
24+
ruby: "2.7"
25+
- rails: "edge"
26+
ruby: "3.0"
27+
- rails: "edge"
28+
ruby: "2.7"
29+
30+
4431

4532
env:
4633
RAILS: ${{ matrix.rails }}

Diff for: CHANGELOG.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# paranoia Changelog
22

3-
## 2.6.4 - July 20, 2024
3+
## 3.0.0 - August 13, 2024
4+
5+
_Tagged as 3.0 as Ruby + Rails version constraints have been modernised._
46

5-
Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
7+
- [#564](https://github.com/rubysherpas/paranoia/pull/564) Support Rails edge
8+
- [#563](https://github.com/rubysherpas/paranoia/pull/563) Support Rails 7.2
9+
10+
## 2.6.4 - July 20, 2024
611

712
* [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554)
813
[Joé Dupuis](https://github.com/JoeDupuis)
@@ -18,7 +23,7 @@ Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
1823

1924
## 2.6.2 - Jun 6, 2023
2025

21-
* [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
26+
* [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
2227
[Emil Ong](https://github.com/emilong)
2328

2429
## 2.6.1 - Nov 16, 2022

Diff for: Gemfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@ sqlite = ENV['SQLITE_VERSION']
55
if sqlite
66
gem 'sqlite3', sqlite, platforms: [:ruby]
77
else
8-
# Do not use sqlite3 v2.0.0 or later because it is not compatible with the current Rails version.
9-
# We can remove this constraint when Rails 7.2 is released.
10-
# See https://github.com/rails/rails/pull/51592 and https://github.com/rails/rails/blob/v7.2.0.rc1/activerecord/CHANGELOG.md#rails-720beta1-may-29-2024
11-
gem 'sqlite3', "~> 1.4", platforms: [:ruby]
8+
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
129
end
1310

1411
platforms :jruby do

Diff for: lib/paranoia/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Paranoia
2-
VERSION = '2.6.4'.freeze
2+
VERSION = '3.0.0'.freeze
33
end

Diff for: paranoia.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Gem::Specification.new do |s|
2222

2323
s.required_rubygems_version = ">= 1.3.6"
2424

25-
s.required_ruby_version = '>= 2.5'
25+
s.required_ruby_version = '>= 2.7'
2626

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

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

0 commit comments

Comments
 (0)