paranoia_uniqueness_validator 3.6.0 → 3.7.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 +12 -2
- data/.gitignore +1 -0
- data/README.md +3 -0
- data/lib/paranoia_uniqueness_validator/version.rb +1 -1
- data/paranoia_uniqueness_validator.gemspec +2 -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: 4ac792f866a89d3e4f230ac7e6de925b495f863b6527ed1e3d6a804bc33428e5
|
4
|
+
data.tar.gz: fe17a4afc461853b28564f48552f5ad95bd6b83d8830e34dab28dbb2531140b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f3746c365e217e52aa83bb2a22ea53e4b84b9afe6aad403445596d56d2933a9bfaf20320a7c536d2377f5e2d12b22b341a552438f303012e95660b088c184ea
|
7
|
+
data.tar.gz: b8b1b75997572bd0b766158bb9927cc1085330b76b6ab8c284d38a4a0281ee4880b24fb8aebe23b9a9ce9a5a84381537d4e327144b68ee8729611a0f08408acd
|
data/.github/workflows/ci.yaml
CHANGED
@@ -9,8 +9,18 @@ jobs:
|
|
9
9
|
|
10
10
|
strategy:
|
11
11
|
matrix:
|
12
|
-
rails:
|
13
|
-
|
12
|
+
rails:
|
13
|
+
- "7.0"
|
14
|
+
- "7.1"
|
15
|
+
- "7.2"
|
16
|
+
- "8.0"
|
17
|
+
ruby:
|
18
|
+
- "3.1"
|
19
|
+
- "3.2"
|
20
|
+
- "3.3"
|
21
|
+
exclude:
|
22
|
+
- rails: "8.0"
|
23
|
+
ruby: "3.1"
|
14
24
|
|
15
25
|
runs-on: ubuntu-latest
|
16
26
|
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
gem.required_ruby_version = '>= 3.1'
|
20
20
|
|
21
|
-
gem.add_dependency 'activerecord', '>= 7.0', '<
|
21
|
+
gem.add_dependency 'activerecord', '>= 7.0', '< 8.1'
|
22
22
|
|
23
23
|
gem.add_development_dependency 'database_cleaner', '~> 2.0'
|
24
24
|
gem.add_development_dependency 'paranoia', '~> 3.0'
|
25
|
-
gem.add_development_dependency 'rspec-rails', '~>
|
25
|
+
gem.add_development_dependency 'rspec-rails', '~> 7.0'
|
26
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Smith
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '7.0'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '7.0'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: database_cleaner
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '
|
67
|
+
version: '7.0'
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
74
|
+
version: '7.0'
|
75
75
|
description: Adds the validates_uniqueness_without_deleted validator to ignore deleted
|
76
76
|
fields when validating for uniqueness.
|
77
77
|
email:
|
@@ -167,7 +167,7 @@ homepage: https://github.com/anthonator/paranoia_uniqueness_validator
|
|
167
167
|
licenses:
|
168
168
|
- MIT
|
169
169
|
metadata: {}
|
170
|
-
post_install_message:
|
170
|
+
post_install_message:
|
171
171
|
rdoc_options: []
|
172
172
|
require_paths:
|
173
173
|
- lib
|
@@ -182,8 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
182
|
- !ruby/object:Gem::Version
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
|
-
rubygems_version: 3.
|
186
|
-
signing_key:
|
185
|
+
rubygems_version: 3.0.3.1
|
186
|
+
signing_key:
|
187
187
|
specification_version: 4
|
188
188
|
summary: Validate unique fields without letting those pesky deleted records get in
|
189
189
|
the way. Great for use with Paranoia.
|