paranoia 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +7 -11
- data/.gitignore +1 -0
- data/CHANGELOG.md +9 -0
- data/Gemfile +3 -2
- data/lib/paranoia/version.rb +1 -1
- data/paranoia.gemspec +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e1a8d696e990a14e93ae5f142ff9e8a20f66415029ca5266e9e7546caa9428b9
|
|
4
|
+
data.tar.gz: 5b4ca4bf2a76d9bd07248f4601e262137d1f93f1dbc9a05fc4813baf05e1f10a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10699f36d301e0d540423502f2eb816a76a90e70f6dba31a3440217dd16fde3b602804693f74e72e4a88772cf8ada3f91f54f3e7488cf3d387a431f0e187fe7e
|
|
7
|
+
data.tar.gz: aa99bf503ecb59638b8095709513f5411af9946df92b8814ce50e431cb9a216249c30e06b6306f9c387460f6db29173d5068c43e26135d7aa66438ca7064bfe2
|
data/.github/workflows/build.yml
CHANGED
|
@@ -11,21 +11,17 @@ on: [push, pull_request]
|
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
13
13
|
test:
|
|
14
|
-
runs-on: ubuntu-
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
15
|
strategy:
|
|
16
16
|
fail-fast: false
|
|
17
17
|
matrix:
|
|
18
|
-
rails: ["~>
|
|
19
|
-
ruby: ["3.3","3.2", "3.1"
|
|
18
|
+
rails: ["~> 8.1.0", "~> 8.0.0", "~> 7.2.0", "~> 7.1.0", "~> 7.0.0"]
|
|
19
|
+
ruby: ["3.3", "3.2", "3.1"]
|
|
20
20
|
exclude:
|
|
21
|
-
- rails: "~>
|
|
22
|
-
ruby: "3.
|
|
23
|
-
- rails: "~>
|
|
24
|
-
ruby: "
|
|
25
|
-
- rails: "edge"
|
|
26
|
-
ruby: "3.0"
|
|
27
|
-
- rails: "edge"
|
|
28
|
-
ruby: "2.7"
|
|
21
|
+
- rails: "~> 8.1.0"
|
|
22
|
+
ruby: "3.1"
|
|
23
|
+
- rails: "~> 8.0.0"
|
|
24
|
+
ruby: "3.1"
|
|
29
25
|
|
|
30
26
|
|
|
31
27
|
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# paranoia Changelog
|
|
2
2
|
|
|
3
|
+
## 3.1.0 - November 7, 2025
|
|
4
|
+
|
|
5
|
+
- [#580](https://github.com/rubysherpas/paranoia/issues/580) Support Rails 8.0 and 8.1
|
|
6
|
+
- Update activerecord dependency to `'>= 7', '< 8.2'`
|
|
7
|
+
- Update minimum Ruby version to 3.1
|
|
8
|
+
- Drop support for Rails 6.x
|
|
9
|
+
- Drop support for Ruby 2.7 and 3.0
|
|
10
|
+
- Add Rails 8.0 and 8.1 to CI test matrix
|
|
11
|
+
|
|
3
12
|
## 3.0.1 - January 19, 2025
|
|
4
13
|
|
|
5
14
|
- [#566](https://github.com/rubysherpas/paranoia/pull/566) Handle #delete_all
|
data/Gemfile
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
+
rails = ENV['RAILS'] || '~> 7.0.0'
|
|
3
4
|
sqlite = ENV['SQLITE_VERSION']
|
|
4
5
|
|
|
5
6
|
if sqlite
|
|
6
7
|
gem 'sqlite3', sqlite, platforms: [:ruby]
|
|
8
|
+
elsif rails.start_with?('~> 8')
|
|
9
|
+
gem 'sqlite3', '~> 2.1', platforms: [:ruby]
|
|
7
10
|
else
|
|
8
11
|
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
|
|
9
12
|
end
|
|
@@ -20,8 +23,6 @@ if RUBY_ENGINE == 'rbx'
|
|
|
20
23
|
end
|
|
21
24
|
end
|
|
22
25
|
|
|
23
|
-
rails = ENV['RAILS'] || '~> 6.0.4'
|
|
24
|
-
|
|
25
26
|
if rails == 'edge'
|
|
26
27
|
gem 'rails', github: 'rails/rails'
|
|
27
28
|
else
|
data/lib/paranoia/version.rb
CHANGED
data/paranoia.gemspec
CHANGED
|
@@ -22,9 +22,9 @@ Gem::Specification.new do |s|
|
|
|
22
22
|
|
|
23
23
|
s.required_rubygems_version = ">= 1.3.6"
|
|
24
24
|
|
|
25
|
-
s.required_ruby_version = '>=
|
|
25
|
+
s.required_ruby_version = '>= 3.1'
|
|
26
26
|
|
|
27
|
-
s.add_dependency 'activerecord', '>=
|
|
27
|
+
s.add_dependency 'activerecord', '>= 7', '< 8.2'
|
|
28
28
|
|
|
29
29
|
s.add_development_dependency "bundler", ">= 1.0.0"
|
|
30
30
|
s.add_development_dependency "rake"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paranoia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- radarlistener@gmail.com
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: activerecord
|
|
@@ -15,20 +15,20 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
18
|
+
version: '7'
|
|
19
19
|
- - "<"
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: '8.
|
|
21
|
+
version: '8.2'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - ">="
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: '
|
|
28
|
+
version: '7'
|
|
29
29
|
- - "<"
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: '8.
|
|
31
|
+
version: '8.2'
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: bundler
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -97,14 +97,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
97
97
|
requirements:
|
|
98
98
|
- - ">="
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
|
-
version: '
|
|
100
|
+
version: '3.1'
|
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
requirements:
|
|
103
103
|
- - ">="
|
|
104
104
|
- !ruby/object:Gem::Version
|
|
105
105
|
version: 1.3.6
|
|
106
106
|
requirements: []
|
|
107
|
-
rubygems_version: 3.
|
|
107
|
+
rubygems_version: 3.7.2
|
|
108
108
|
specification_version: 4
|
|
109
109
|
summary: Paranoia is a re-implementation of acts_as_paranoid for Rails 3, 4, and 5,
|
|
110
110
|
using much, much, much less code.
|