paranoia_uniqueness_validator 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +2 -2
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/lib/paranoia_uniqueness_validator/version.rb +1 -1
- data/paranoia_uniqueness_validator.gemspec +3 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5958d55a9782eec01caa1f1650911a8a46c2ec87517f86d57ca8038549b6456
|
4
|
+
data.tar.gz: e4a8acfb14a6a4c3e46ca9123d8dc4d45e14886fe862e3dde4859e8c77c2cd87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cccc4f11469bcbd19d6be168c24c2039afa4a1bf33614a497ec457be560d66e74e3da0ee5bcb6413ceaeded81cec71af6f9ea19e748415c22405919ae55cf57
|
7
|
+
data.tar.gz: b7ec5dbd637a2af2684f0914d98c52e4349b168cec415daaeafbe4018cd1b656c3fa5d61ca4e8ab4014da41900c04a15128b05ab50e9ffb34250fb6fa8ad1fa8
|
data/.github/workflows/ci.yaml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -13,15 +13,15 @@ gem that uses the `deleted_at` field for marking records as deleted.
|
|
13
13
|
|
14
14
|
Add this line to your application's Gemfile:
|
15
15
|
|
16
|
-
# Rails
|
17
|
-
gem 'paranoia_uniqueness_validator', '3.3.0'
|
18
|
-
|
19
|
-
# Rails 7
|
16
|
+
# Rails 7.0
|
20
17
|
gem 'paranoia_uniqueness_validator', '3.4.0'
|
21
18
|
|
22
19
|
# Rails 7.1
|
23
20
|
gem 'paranoia_uniqueness_validator', '3.5.0'
|
24
21
|
|
22
|
+
# Rails 7.2
|
23
|
+
gem 'paranoia_uniqueness_validator', '3.6.0'
|
24
|
+
|
25
25
|
And then execute:
|
26
26
|
|
27
27
|
$ bundle
|
@@ -16,10 +16,11 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
|
+
gem.required_ruby_version = '>= 3.1'
|
19
20
|
|
20
|
-
gem.add_dependency 'activerecord', '>=
|
21
|
+
gem.add_dependency 'activerecord', '>= 7.0', '< 7.3'
|
21
22
|
|
22
23
|
gem.add_development_dependency 'database_cleaner', '~> 2.0'
|
23
|
-
gem.add_development_dependency 'paranoia', '~>
|
24
|
+
gem.add_development_dependency 'paranoia', '~> 3.0'
|
24
25
|
gem.add_development_dependency 'rspec-rails', '~> 6.1'
|
25
26
|
end
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paranoia_uniqueness_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-24 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: '
|
19
|
+
version: '7.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.3'
|
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: '
|
29
|
+
version: '7.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.3'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: database_cleaner
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '3.0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '3.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: rspec-rails
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,14 +175,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
requirements:
|
176
176
|
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
178
|
+
version: '3.1'
|
179
179
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - ">="
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
|
-
rubygems_version: 3.
|
185
|
+
rubygems_version: 3.5.17
|
186
186
|
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: Validate unique fields without letting those pesky deleted records get in
|