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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4a28f0b052d8e703eccfa0f22c60566647878dda250aa6d0c56aedd7b610e2a9
4
- data.tar.gz: 0c63b2985d1300bace4dffbfcc7c04b6146e0b22186a81e4739e4f019f35ad1a
3
+ metadata.gz: d29fc508132d418f52aea5d237bcccce95c994e3fb4d16b759542aa77fffec04
4
+ data.tar.gz: ae973b381406fdf16690ea60c0dd6744ed31091f1a0a3293d15e28ffe2157b8d
5
5
  SHA512:
6
- metadata.gz: 71a7443ae53ff9c3c0861945048fb9a23200b3764be3a9f8eac17cc5d40c0660191078d9fb76e3184aef017439f7da95f575d82dab4656725df7e725e2572214
7
- data.tar.gz: 46071a5e3a2e41cdaded67c1765203549e5d712b98ae2383cf8b767a676e5959fbce6247c1edb023032c3a1b932635312a6ac7391e4ef7c4a6ef7c51709d2eb3
6
+ metadata.gz: d9ab8068e76c5903abc9dedce9c9d217471da093e4c5fb477c5c29ae17b9e4634519068467070a98b5c351ccd09a1f62d795bafe8545e6b410a52dae2ce127c8
7
+ data.tar.gz: fd54fb5b3e9cd372ee51ebca5fd096e766ba1b97f8342e22a7eb81000dbff6d84a4c39ae5a845251d5a54585b155526f78a2e1b6ae8f7a61f41a38539ea36b87
@@ -0,0 +1,13 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: bundler
5
+
6
+ directory: "/"
7
+
8
+ schedule:
9
+ interval: daily
10
+
11
+ open-pull-requests-limit: 10
12
+
13
+ target-branch: develop
@@ -6,7 +6,8 @@ jobs:
6
6
  test:
7
7
  strategy:
8
8
  matrix:
9
- rails: ['6.0', '5.2']
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
@@ -10,7 +10,7 @@ rails =
10
10
  when 'master'
11
11
  { github: 'rails/rails' }
12
12
  when 'default'
13
- '>= 5.2.0'
13
+ '>= 6.1.0'
14
14
  else
15
15
  "~> #{rails_version}"
16
16
  end
data/README.md CHANGED
@@ -26,7 +26,7 @@ Add this line to your application's Gemfile:
26
26
  gem 'paranoia_uniqueness_validator', '3.1.0'
27
27
 
28
28
  # Rails 6
29
- gem 'paranoia_uniqueness_validator', '3.2.0'
29
+ gem 'paranoia_uniqueness_validator', '3.3.0'
30
30
 
31
31
  And then execute:
32
32
 
@@ -1,3 +1,3 @@
1
1
  module ParanoiaUniquenessValidator
2
- VERSION = "3.2.0"
2
+ VERSION = "3.3.0"
3
3
  end
@@ -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.1"
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", "~> 3.6"
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.2.0
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: 2020-02-08 00:00:00.000000000 Z
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.1'
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.1'
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: '3.6'
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: '3.6'
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.0.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.