From 79d8ba079f96d3b0e33a07c2268e1d1da5cf4277 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Tue, 13 Aug 2024 12:45:05 +1000 Subject: [PATCH] Tweak support for Ruby 2.7 --- .github/workflows/build.yml | 4 ++-- CHANGELOG.md | 6 +++++- paranoia.gemspec | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0e1fd30..f0f862be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,8 +15,8 @@ jobs: strategy: fail-fast: false matrix: - rails: ["edge", "~> 7.2.0", "~> 7.1.0", "~> 7.0.0"] - ruby: ["3.3","3.2", "3.1"] + 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"] env: RAILS: ${{ matrix.rails }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e25af2f..071d160d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # paranoia Changelog +## 3.0.0 - August 13, 2024 + +- [#563](https://github.com/rubysherpas/paranoia/pull/563) Support Rails 7.2 & Rails 8.0 + ## 2.6.4 - July 20, 2024 * [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554) @@ -16,7 +20,7 @@ ## 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 diff --git a/paranoia.gemspec b/paranoia.gemspec index 4f02c02d..9baf38e6 100644 --- a/paranoia.gemspec +++ b/paranoia.gemspec @@ -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', '< 8.1' + s.add_dependency 'activerecord', '>= 6', '< 8.1' s.add_development_dependency "bundler", ">= 1.0.0" s.add_development_dependency "rake"