database_validations 0.9.1 → 0.9.2

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: 7611b039f9baa05f65bee0a18cbfc2cfe2c0ae5e7f69bc01d232b00de5306f92
4
- data.tar.gz: 9601fd3196555c0d861b5fb1a3809d25814453db9199fbcc0b115b7976a3012d
3
+ metadata.gz: fc082896680bee591fcbf04d9f9fb469c72c9c1e2c259f5093341e2c1448cd15
4
+ data.tar.gz: 474977490d71108f408c448bf9b18d404218b2b17f8f3cf7b48a2f945e4535d5
5
5
  SHA512:
6
- metadata.gz: 8a72b136bdd5528cf93dc019c80ecf88b09a9484a68d523e5574e28ee7ffb122122eda7cf3062655015f59637d4dd06de4c3c028c79067fea101b326f15a80e6
7
- data.tar.gz: bb9ee57860b06c58853db54583b08acd953f0cdf037d0e11a5faee3b72aa748b022051b3ee21a8fbe3d95f18f7c460c5a1d91e77cbbd2bdf5d4237802b9d8ad4
6
+ metadata.gz: eb8e2d716fa3bb7bcb0d04f9e9db16f00587d2a7a3742b3367a0b3bf9bee9c883d0ec4f7144f08f0f7045ebed8a7297f33ea77d4bd192102b56e4087f08cff15
7
+ data.tar.gz: 0da69998634da7b5b9250ce11e1fda4f6dd3809c57bdf5e302a85ad5c7c25d728a57c21a00d98d5e948bac206ae2d46dab52aa0d01714628826f8691ab8883a4
@@ -55,7 +55,7 @@ module DatabaseValidations
55
55
  options[:optional] = true
56
56
  end
57
57
 
58
- belongs_to(name, scope, options)
58
+ belongs_to(name, scope, **options)
59
59
 
60
60
  validates_with DatabaseValidations::DbPresenceValidator, _merge_attributes([name, message: DatabaseValidations::DbPresenceValidator::REFLECTION_MESSAGE]) # rubocop:disable Metrics/LineLength
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module DatabaseValidations
2
- VERSION = '0.9.1'.freeze
2
+ VERSION = '0.9.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: database_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Demin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-24 00:00:00.000000000 Z
11
+ date: 2020-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord