paranoia_uniqueness_validator 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +13 -0
- data/.github/workflows/ci.yml +9 -1
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/lib/paranoia_uniqueness_validator/version.rb +1 -1
- data/paranoia_uniqueness_validator.gemspec +2 -2
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29fc508132d418f52aea5d237bcccce95c994e3fb4d16b759542aa77fffec04
|
4
|
+
data.tar.gz: ae973b381406fdf16690ea60c0dd6744ed31091f1a0a3293d15e28ffe2157b8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9ab8068e76c5903abc9dedce9c9d217471da093e4c5fb477c5c29ae17b9e4634519068467070a98b5c351ccd09a1f62d795bafe8545e6b410a52dae2ce127c8
|
7
|
+
data.tar.gz: fd54fb5b3e9cd372ee51ebca5fd096e766ba1b97f8342e22a7eb81000dbff6d84a4c39ae5a845251d5a54585b155526f78a2e1b6ae8f7a61f41a38539ea36b87
|
data/.github/workflows/ci.yml
CHANGED
@@ -6,7 +6,8 @@ jobs:
|
|
6
6
|
test:
|
7
7
|
strategy:
|
8
8
|
matrix:
|
9
|
-
rails: ['6.
|
9
|
+
rails: ['6.1', '5.2']
|
10
|
+
|
10
11
|
ruby: ['2.5', '2.6', '2.7']
|
11
12
|
|
12
13
|
runs-on: ubuntu-latest
|
@@ -15,24 +16,31 @@ jobs:
|
|
15
16
|
- uses: actions/checkout@v2
|
16
17
|
|
17
18
|
- uses: actions/setup-ruby@v1
|
19
|
+
|
18
20
|
with:
|
19
21
|
ruby-version: ${{ matrix.ruby }}
|
20
22
|
|
21
23
|
- name: Install native toolchain
|
24
|
+
|
22
25
|
run: |
|
23
26
|
sudo apt-get update
|
24
27
|
|
25
28
|
sudo apt-get install build-essential libsqlite3-dev
|
26
29
|
|
27
30
|
- name: Run gem install bundler
|
31
|
+
|
28
32
|
run: gem install bundler
|
29
33
|
|
30
34
|
- name: Run bundle install
|
35
|
+
|
31
36
|
env:
|
32
37
|
RAILS_VERSION: ${{ matrix.rails }}
|
38
|
+
|
33
39
|
run: bundle install
|
34
40
|
|
35
41
|
- name: Run bundle exec rspec
|
42
|
+
|
36
43
|
env:
|
37
44
|
RAILS_VERSION: ${{ matrix.rails }}
|
45
|
+
|
38
46
|
run: bundle exec rspec
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -18,9 +18,9 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency "activerecord", ">= 5.1.0", "< 6.
|
21
|
+
gem.add_dependency "activerecord", ">= 5.1.0", "< 6.2"
|
22
22
|
|
23
23
|
gem.add_development_dependency "paranoia", "~> 2.3"
|
24
24
|
gem.add_development_dependency "database_cleaner", "~> 1.6"
|
25
|
-
gem.add_development_dependency "rspec-rails", "~>
|
25
|
+
gem.add_development_dependency "rspec-rails", "~> 4.0"
|
26
26
|
end
|
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.3.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:
|
11
|
+
date: 2021-01-22 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: 5.1.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '6.
|
22
|
+
version: '6.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 5.1.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '6.
|
32
|
+
version: '6.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: paranoia
|
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: '4.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: '4.0'
|
75
75
|
description: Adds the validates_uniqueness_without_deleted validator to ignore deleted
|
76
76
|
fields when validating for uniqueness.
|
77
77
|
email:
|
@@ -80,6 +80,7 @@ executables: []
|
|
80
80
|
extensions: []
|
81
81
|
extra_rdoc_files: []
|
82
82
|
files:
|
83
|
+
- ".github/dependabot.yml"
|
83
84
|
- ".github/workflows/ci.yml"
|
84
85
|
- ".gitignore"
|
85
86
|
- Gemfile
|
@@ -166,7 +167,7 @@ homepage: https://github.com/anthonator/paranoia_uniqueness_validator
|
|
166
167
|
licenses:
|
167
168
|
- MIT
|
168
169
|
metadata: {}
|
169
|
-
post_install_message:
|
170
|
+
post_install_message:
|
170
171
|
rdoc_options: []
|
171
172
|
require_paths:
|
172
173
|
- lib
|
@@ -181,8 +182,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
182
|
- !ruby/object:Gem::Version
|
182
183
|
version: '0'
|
183
184
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
185
|
-
signing_key:
|
185
|
+
rubygems_version: 3.1.2
|
186
|
+
signing_key:
|
186
187
|
specification_version: 4
|
187
188
|
summary: Validate unique fields without letting those pesky deleted records get in
|
188
189
|
the way. Great for use with Paranoia.
|