paranoia 2.6.4 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c181b837c0b9148cea47aaac1d370b142037943ee9e115ca14c2c1ae794c384
4
- data.tar.gz: 9bbd8a2b61fe1a68871f11af0673ddb9ae83ae3bb51ff887354f758d300cac11
3
+ metadata.gz: 86ea97ca665a462c533110c63c1b277d440292839725fbe8b2e3bc8f295d8850
4
+ data.tar.gz: 403501a4e47840a726eee8eaeef9e38a4c44c041c6baee5b3cba20df368558d9
5
5
  SHA512:
6
- metadata.gz: f8824844107b4cd59840c174b99a2ce7f92ed03762ec5fffcf912f26be59a5fe52480a93b66515631b608ee6c575e664444b8b48414e3efef757ef42250adf32
7
- data.tar.gz: cf0fc54e5a6b8906ad3cbf864c3a40250b6e7f9a2775f911e33e4ae420a5354c0ddde54936e033b9fc15be0e0dabc58b5db3a70a9b0f17b2ba610d1dfb628e5e
6
+ metadata.gz: 6690c30c44ed3713090776c3236d4e502cc8369d9556765c689dea4e6ac6c92400cabb95e31afcc37fb7479bdb543125288b5512dca7dc964f33a023b46d1171
7
+ data.tar.gz: 5cacc8c926267c5de867b33ea74bde450b353618af43144a73da1aeb8878526510c71587c2720f88e96ad3eb97b90dd9489711b2200fa14faaa628bed7101b77
@@ -15,32 +15,19 @@ jobs:
15
15
  strategy:
16
16
  fail-fast: false
17
17
  matrix:
18
- rails: ["~> 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'
42
- #os: ubuntu-latest
43
- #arch: x64
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"]
20
+ exclude:
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
+
44
31
 
45
32
  env:
46
33
  RAILS: ${{ matrix.rails }}
data/CHANGELOG.md CHANGED
@@ -1,8 +1,13 @@
1
1
  # paranoia Changelog
2
2
 
3
- ## 2.6.4 - July 20, 2024
3
+ ## 3.0.0 - August 13, 2024
4
+
5
+ _Tagged as 3.0 as Ruby + Rails version constraints have been modernised._
4
6
 
5
- Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
7
+ - [#564](https://github.com/rubysherpas/paranoia/pull/564) Support Rails edge
8
+ - [#563](https://github.com/rubysherpas/paranoia/pull/563) Support Rails 7.2
9
+
10
+ ## 2.6.4 - July 20, 2024
6
11
 
7
12
  * [#554](https://github.com/rubysherpas/paranoia/pull/554) Support prebuilt counter cache association list (#554)
8
13
  [Joé Dupuis](https://github.com/JoeDupuis)
@@ -18,7 +23,7 @@ Add support for [Rails 7.2](https://github.com/rails/rails/releases/tag/v7.2.0)
18
23
 
19
24
  ## 2.6.2 - Jun 6, 2023
20
25
 
21
- * [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
26
+ * [#441](https://github.com/rubysherpas/paranoia/pull/441) Recursive restore with has_many/one through assocs (#441)
22
27
  [Emil Ong](https://github.com/emilong)
23
28
 
24
29
  ## 2.6.1 - Nov 16, 2022
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ sqlite = ENV['SQLITE_VERSION']
5
5
  if sqlite
6
6
  gem 'sqlite3', sqlite, platforms: [:ruby]
7
7
  else
8
- gem 'sqlite3', platforms: [:ruby]
8
+ gem 'sqlite3', '~> 1.4', platforms: [:ruby]
9
9
  end
10
10
 
11
11
  platforms :jruby do
@@ -1,3 +1,3 @@
1
1
  module Paranoia
2
- VERSION = '2.6.4'.freeze
2
+ VERSION = '3.0.0'.freeze
3
3
  end
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 = '>= 2.5'
25
+ s.required_ruby_version = '>= 2.7'
26
26
 
27
- s.add_dependency 'activerecord', '>= 5.1', '< 7.2'
27
+ s.add_dependency 'activerecord', '>= 6', '< 8.1'
28
28
 
29
29
  s.add_development_dependency "bundler", ">= 1.0.0"
30
30
  s.add_development_dependency "rake"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paranoia
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.4
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - radarlistener@gmail.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-20 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.1'
19
+ version: '6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.2'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '5.1'
29
+ version: '6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -99,14 +99,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: '2.5'
102
+ version: '2.7'
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
107
  version: 1.3.6
108
108
  requirements: []
109
- rubygems_version: 3.5.11
109
+ rubygems_version: 3.4.10
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Paranoia is a re-implementation of acts_as_paranoid for Rails 3, 4, and 5,