Skip to content

Commit

Permalink
See what happens on Rails edge (#564)
Browse files Browse the repository at this point in the history
* See what happens on Rails edge

* Tweak support for Ruby 2.7

* Add Ruby exclusions

* Correct exclusion syntax
  • Loading branch information
radar authored Aug 13, 2024
1 parent 9790ee1 commit 4d7b87d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 34 deletions.
43 changes: 12 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,19 @@ jobs:
strategy:
fail-fast: false
matrix:
rails: ["~> 7.2.0", "~> 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'
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 requires Ruby 3.1.0 or later
- ruby: "3.0.6"
rails: "~> 7.2.0"
- ruby: "2.7.8"
rails: "~> 7.2.0"
#os: ubuntu-latest
#arch: x64
- 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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down
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', '< 8.0'
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 4d7b87d

Please sign in to comment.