paranoia_uniqueness_validator 3.5.0 → 3.7.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: 87c8aa774c4ab10d1a2366105991a9951dfa5ac3114e9ea6f710810ee40107b9
4
- data.tar.gz: 462fa5766b5bc5e7b9c10e4641e6dd323103a393d2b56ad28ebd2f0b5eb38b45
3
+ metadata.gz: 4ac792f866a89d3e4f230ac7e6de925b495f863b6527ed1e3d6a804bc33428e5
4
+ data.tar.gz: fe17a4afc461853b28564f48552f5ad95bd6b83d8830e34dab28dbb2531140b6
5
5
  SHA512:
6
- metadata.gz: 967a7a93f12255b86a2f6210bf07287b92d6237b0f73d282514b893f70d51f34b37d241b1e28a7b46478b837137e207099e7cdb0d109de574138b562d98b849f
7
- data.tar.gz: bb5e7c4ae01774c281ec4b9786b257622c2e3ad93a1132440e01763b60490844a9b22324d15d10e4671dd139a2b112546a8e7b1a7669d4d2a5e71017582a49c1
6
+ metadata.gz: 4f3746c365e217e52aa83bb2a22ea53e4b84b9afe6aad403445596d56d2933a9bfaf20320a7c536d2377f5e2d12b22b341a552438f303012e95660b088c184ea
7
+ data.tar.gz: b8b1b75997572bd0b766158bb9927cc1085330b76b6ab8c284d38a4a0281ee4880b24fb8aebe23b9a9ce9a5a84381537d4e327144b68ee8729611a0f08408acd
@@ -9,8 +9,18 @@ jobs:
9
9
 
10
10
  strategy:
11
11
  matrix:
12
- rails: ["6.1", "7.0", "7.1", "master"]
13
- ruby: ["3.0", "3.1", "3.2"]
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
@@ -12,3 +12,4 @@ coverage
12
12
  .ruby-version
13
13
  .gems/
14
14
  .DS_Store
15
+ *.gem
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ rails =
10
10
  when 'master'
11
11
  { github: 'rails/rails' }
12
12
  when 'default'
13
- '>= 7.1'
13
+ '>= 7.2'
14
14
  else
15
15
  "~> #{rails_version}"
16
16
  end
data/README.md CHANGED
@@ -13,15 +13,18 @@ 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 6.1
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
+ # Rails 8.0
26
+ gem 'paranoia_uniqueness_validator', '3.7.0'
27
+
25
28
  And then execute:
26
29
 
27
30
  $ bundle
@@ -1,3 +1,3 @@
1
1
  module ParanoiaUniquenessValidator
2
- VERSION = "3.5.0"
2
+ VERSION = "3.7.0"
3
3
  end
@@ -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', '>= 6.1', '< 7.2'
21
+ gem.add_dependency 'activerecord', '>= 7.0', '< 8.1'
21
22
 
22
23
  gem.add_development_dependency 'database_cleaner', '~> 2.0'
23
- gem.add_development_dependency 'paranoia', '~> 2.3'
24
- gem.add_development_dependency 'rspec-rails', '~> 6.1'
24
+ gem.add_development_dependency 'paranoia', '~> 3.0'
25
+ gem.add_development_dependency 'rspec-rails', '~> 7.0'
25
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.5.0
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: 2023-11-22 00:00:00.000000000 Z
11
+ date: 2024-11-18 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: '6.1'
19
+ version: '7.0'
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: '6.1'
29
+ version: '7.0'
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: database_cleaner
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -50,28 +50,28 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '2.3'
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: '2.3'
60
+ version: '3.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec-rails
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '6.1'
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: '6.1'
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
@@ -175,15 +175,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
- version: '0'
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.4.10
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.