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: 87a298f618f08949dbe1c165b17dfbfc940a6675b2f790e655c9a43568956c31
4
- data.tar.gz: ea5eaad001d24f89a698a4a944f2596da029c019a4bcc2f893c0881146dea058
3
+ metadata.gz: 7de031f9a61f686180773f3541fe1b46124cd62dbc04198ed401d251594df5c5
4
+ data.tar.gz: 7c237464b869b7bdbe9e567546852e3d84650d0b1d45c6d8c4b582598599f1eb
5
5
  SHA512:
6
- metadata.gz: bcaf6fc8e3e59cf1936c2a346d1a02c1269ab8e231b7820c273873ed81cf6f97501bf15ea44503f357008064f34eaec66bc9a81f2938fd3876078d707979daea
7
- data.tar.gz: 94a53d9576ea0df451d2ff0ff34528f8c035699e9d216e877ced2cdff156ae0a5d18bc106dc0b5fc487aebfd56807bd836d2cb9aa51ababfc232be5e3b94c2cf
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] == expected_enum_values
739
+ validator.options[:in] == expected_enum_value_names
740
740
  end
741
741
  end
742
742
 
@@ -1,6 +1,6 @@
1
1
  module Shoulda
2
2
  module Matchers
3
3
  # @private
4
- VERSION = '6.3.0'.freeze
4
+ VERSION = '6.3.1'.freeze
5
5
  end
6
6
  end
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.0
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-09 00:00:00.000000000 Z
17
+ date: 2024-08-13 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: activesupport