Bump shoulda-matchers from 4.1.1 to 4.4.1
Bumps shoulda-matchers from 4.1.1 to 4.4.1.
Release notes
Sourced from shoulda-matchers's releases.
v4.4.0
Features
Add an
ignoring_check_for_db_index
qualifier to thehave_secure_token
matcher, sincehas_secure_token
encourages use of an index but does not enforce it. (#1278)Add
allow_blank
tovalidate_length_of
to match other validation matchers. (#725, #1318)Add new matcher
have_implicit_order_column
which can be used to test theimplicit_order_column
setting for ActiveRecord models under Rails 6+. (#1243)Add a new
is_other_than
qualifier tovalidate_numericality_of
to be able to test the numericality validation's:other_than
option. (#1282)Add a new
have_one_attached
andhave_many_attached
matchers for testing the new model-level ActiveStorage macros in Rails 6. (#1102)#1278: thoughtbot/shoulda-matchers#1278 #725: thoughtbot/shoulda-matchers#725 #1318: thoughtbot/shoulda-matchers#1318 #1243: thoughtbot/shoulda-matchers#1243 #1282: thoughtbot/shoulda-matchers#1282 #1102: thoughtbot/shoulda-matchers#1102
Bug fixes
Fix performance of
allow_value
so that it doesn't hang if the given value is really long. (#1290)Fix
have_many
so that it is possible to test an association that has a scope that takes an argument. (#952, #992)Update
validate_uniqueness_of
to use the publicvalidators_on
instead of the private_validators
when reading validations off of a model. This enables shoulda-matchers to be used with the [schema_validations] gem. (#995)Update
validate_uniqueness_of
to work with scopes that aretime
columns. (#1190)Fix
have_and_belong_to_many
so that when using thejoin_table
qualifier you can pass a symbol rather than a string. (#1323)#1290: thoughtbot/shoulda-matchers#952 #952: thoughtbot/shoulda-matchers#952 #992: thoughtbot/shoulda-matchers#992 [schema_validations]: https://github.com/SchemaPlus/schema_validations
... (truncated)
Changelog
Sourced from shoulda-matchers's changelog.
4.4.1 - 2020-08-26
Bug fixes
- Revert reorganization around autoloading introduced in 4.4.0 which prevented matchers from being loaded. (#1334)
#1334: thoughtbot/shoulda-matchers#1334
4.4.0 - 2020-08-25
Bug fixes
Fix performance of
allow_value
so that it doesn't hang if the given value is really long. (#1290)Fix
have_many
so that it is possible to test an association that has a scope that takes an argument. (#952, #992)Update
validate_uniqueness_of
to use the publicvalidators_on
instead of the private_validators
when reading validations off of a model. This enables shoulda-matchers to be used with the [schema_validations] gem. (#995)Update
validate_uniqueness_of
to work with scopes that aretime
columns. (#1190)Fix
have_and_belong_to_many
so that when using thejoin_table
qualifier you can pass a symbol rather than a string. (#1323)#1290: thoughtbot/shoulda-matchers#952 #952: thoughtbot/shoulda-matchers#952 #992: thoughtbot/shoulda-matchers#992 [schema_validations]: https://github.com/SchemaPlus/schema_validations #995: thoughtbot/shoulda-matchers#995 #1190: thoughtbot/shoulda-matchers#1190 #1323: thoughtbot/shoulda-matchers#1323
Features
... (truncated)
Add an
ignoring_check_for_db_index
qualifier to thehave_secure_token
matcher, sincehas_secure_token
encourages use of an index but does not enforce it. (#1278)Add
allow_blank
tovalidate_length_of
to match other validation matchers. (#725, #1318)Add new matcher
have_implicit_order_column
which can be used to test theimplicit_order_column
setting for ActiveRecord models under Rails 6+. (#1243)
Commits
-
4e84191
Release v4.4.1 -
7d098c9
Revert "Use autoloading instead of requiring all files up front" -
c8cd836
Release v4.4.0 -
e7dde36
Add have_attached_matcher to the Readme -
781bfca
Update CHANGELOG -
ce78101
Use autoloading instead of requiring all files up front -
bd13bec
Be consistent with order of headers in changelog -
d1be1f7
Update CHANGELOG -
6a0e436
Remove warnings that fail the build -
412ea1f
Use warnings_logger instead of warnings_spy - Additional commits viewable in compare view