activemodel-validators 3.0.0 → 3.0.1

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: 85caf1370d34f8f6127f4db4a492bc80aa812cbfd43eaa673e9a3cb95c951879
4
- data.tar.gz: ad88d1e99e6408dc6310a3fc35134dff396b801b1b785c92de572a3210006cbb
3
+ metadata.gz: 961ba5817f1275b85ef77cd36078274940be5a204d283215f22c282873b6fc25
4
+ data.tar.gz: a4ba63270f369593bb3bf295b2a1db59ee5073b62d20d6ab4baa22a9787ca17e
5
5
  SHA512:
6
- metadata.gz: 769995d1111d858955bbf8e174c13c5bf31fa9582036952e98b84daac57177275c9eab83220d2321127c3f587759c594034eef629cf8273172977884142ba759
7
- data.tar.gz: d35dc900da9033663ed785a33049fddce55ec446492b18c6f8fd110543f4b7460fa5929b365d96a26131d796740593e4a550a5238930ecd5373c346f532db958
6
+ metadata.gz: ecf522be4a8849c91c4f99010452884ff966e7e459fe286d3f40103159a26e2d8de1c7c7af138fcba502c49fa55665d37a0a47f20136c04e6077bd7863adf35a
7
+ data.tar.gz: c9e13fba3fce4ce0bed10092d60add8dba4fa2dcd3deb83f0e0aaeb2ecf6e2bc164ff498b87ca2f5b267c75138bc7b5f8495f81bb6daded210e31e812241a583
@@ -73,7 +73,7 @@ module ActiveModel
73
73
  return if value.blank? or other_value.blank?
74
74
  unless value.send(operator, other_value)
75
75
  record.errors.add(attribute, message_key,
76
- options.merge(
76
+ **options.merge(
77
77
  value: value,
78
78
  operator: operator,
79
79
  operator_text: operator_text,
@@ -1,5 +1,5 @@
1
1
  module Activemodel
2
2
  module Validators
3
- Version = "3.0.0"
3
+ Version = "3.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel-validators
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Rick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-03 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  requirements: []
116
- rubygems_version: 3.0.3
116
+ rubygems_version: 3.2.22
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Some reusable ActiveModel validations