shoulda-matchers 6.3.0 → 6.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7de031f9a61f686180773f3541fe1b46124cd62dbc04198ed401d251594df5c5
|
4
|
+
data.tar.gz: 7c237464b869b7bdbe9e567546852e3d84650d0b1d45c6d8c4b582598599f1eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d96634f823c0f5ca1dd6c934e1117dfc30e87074cae350b3aeebb634733147a6add1be704e710039054cbd8819f4bd2e9eff9eebdd6864e2aacb1e78ab905e1
|
7
|
+
data.tar.gz: 56e5672313e8c941ead528cf4c6f25884d29205624d9ee5fee2e562d97ffce52b5619fa5b8fb38ebc84c43b6068ee976084847ec2a9ec0804228e914940b258e
|
@@ -736,7 +736,7 @@ module Shoulda
|
|
736
736
|
record.class.validators.detect do |validator|
|
737
737
|
validator.kind == :inclusion &&
|
738
738
|
validator.attributes.include?(attribute_name.to_s) &&
|
739
|
-
validator.options[:in] ==
|
739
|
+
validator.options[:in] == expected_enum_value_names
|
740
740
|
end
|
741
741
|
end
|
742
742
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3.
|
4
|
+
version: 6.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tammer Saleh
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2024-08-
|
17
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activesupport
|