Skip to content

Commit

Permalink
Merge branch 'core' into feat-after_restore_commit
Browse files Browse the repository at this point in the history
  • Loading branch information
yoheimuta committed Sep 3, 2024
2 parents b918e39 + f441c37 commit 3be8277
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 36 deletions.
39 changes: 13 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
rails: ["~> 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
rails: 'edge'
- ruby: 3.2
rails: '~> 7.1.0'
# single test failure with jruby
#- ruby: jruby-9.4
# rails: '~> 7.0.0'
- ruby: 2.6
rails: '~> 6.1.0'
- ruby: 2.6
rails: '~> 6.0.0'
- ruby: 2.6
rails: '~> 5.2.0'
- ruby: 2.6
rails: '~> 5.1.0'
- ruby: 2.5
rails: '~> 6.0.0'
- ruby: 2.5
rails: '~> 5.2.0'
- ruby: 2.5
rails: '~> 5.1.0'
#os: ubuntu-latest
#arch: x64
rails: ["edge", "~> 7.2.0", "~> 7.1.0", "~> 7.0.0", "~> 6.1.0"]
ruby: ["3.3","3.2", "3.1", "3.0", "2.7"]
exclude:
- rails: "~> 7.2.0"
ruby: "3.0"
- rails: "~> 7.2.0"
ruby: "2.7"
- rails: "edge"
ruby: "3.0"
- rails: "edge"
ruby: "2.7"



env:
RAILS: ${{ matrix.rails }}
Expand Down
11 changes: 8 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# paranoia Changelog

## 2.6.4 - July 20, 2024
## 3.0.0 - August 13, 2024

_Tagged as 3.0 as Ruby + Rails version constraints have been modernised._

Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
- [#564](https://github.com/rubysherpas/paranoia/pull/564) Support Rails edge
- [#563](https://github.com/rubysherpas/paranoia/pull/563) Support Rails 7.2

## 2.6.4 - July 20, 2024

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

## 2.6.2 - Jun 6, 2023

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

## 2.6.1 - Nov 16, 2022
Expand Down
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ sqlite = ENV['SQLITE_VERSION']
if sqlite
gem 'sqlite3', sqlite, platforms: [:ruby]
else
# Do not use sqlite3 v2.0.0 or later because it is not compatible with the current Rails version.
# We can remove this constraint when Rails 7.2 is released.
# 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
gem 'sqlite3', "~> 1.4", platforms: [:ruby]
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
end

platforms :jruby do
Expand Down
2 changes: 1 addition & 1 deletion lib/paranoia/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Paranoia
VERSION = '2.6.4'.freeze
VERSION = '3.0.0'.freeze
end
4 changes: 2 additions & 2 deletions paranoia.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Gem::Specification.new do |s|

s.required_rubygems_version = ">= 1.3.6"

s.required_ruby_version = '>= 2.5'
s.required_ruby_version = '>= 2.7'

s.add_dependency 'activerecord', '>= 5.1', '< 7.2'
s.add_dependency 'activerecord', '>= 6', '< 8.1'

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

0 comments on commit 3be8277

Please sign in to comment.