Skip to content

Commit 4d7b87d

Browse files
authoredAug 13, 2024··
See what happens on Rails edge (#564)
* See what happens on Rails edge * Tweak support for Ruby 2.7 * Add Ruby exclusions * Correct exclusion syntax
1 parent 9790ee1 commit 4d7b87d

File tree

3 files changed

+19
-34
lines changed

3 files changed

+19
-34
lines changed
 

‎.github/workflows/build.yml

+12-31
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,19 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
rails: ["~> 7.2.0", "~> 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'
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"]
4220
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"
48-
#os: ubuntu-latest
49-
#arch: x64
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+
5031

5132
env:
5233
RAILS: ${{ matrix.rails }}

‎CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# paranoia Changelog
22

3+
## 3.0.0 - August 13, 2024
4+
5+
- [#563](https://github.com/rubysherpas/paranoia/pull/563) Support Rails 7.2 & Rails 8.0
6+
37
## 2.6.4 - July 20, 2024
48

59
* [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554)
@@ -16,7 +20,7 @@
1620

1721
## 2.6.2 - Jun 6, 2023
1822

19-
* [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
23+
* [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
2024
[Emil Ong](https://github.com/emilong)
2125

2226
## 2.6.1 - Nov 16, 2022

‎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', '< 8.0'
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)
Please sign in to comment.