Skip to content

Bump shoulda-matchers from 4.1.1 to 4.5.1

NipaNipa requested to merge dependabot/bundler/shoulda-matchers-4.5.1 into master

Bumps shoulda-matchers from 4.1.1 to 4.5.1.

Release notes

Sourced from shoulda-matchers's releases.

v4.5.1

Bug fixes

  • Update belongs_to to work with composite primary keys. (#1396)

#1396: thoughtbot/shoulda-matchers#1396

v4.5.0

Features

  • Add support for has_secure_password custom attributes. (#1356)

#1356: thoughtbot/shoulda-matchers#1356

Bug fixes

  • Fix bundle exec yard doc replacing pygments.rb with rouge to keep the documentation up to date. (#1343)
  • Fix have_db_column.with_options not raising an error when the user adds an invalid value. (#1358)
  • Fix default value of assossiation_matcher.validate option. It was returning false instead of true. (#1378)
  • Fix validate_absence_of failing for array columns. (#1383)

#1340: thoughtbot/shoulda-matchers#1340 #1358: thoughtbot/shoulda-matchers#1358 #1378: thoughtbot/shoulda-matchers#1378 #1383: thoughtbot/shoulda-matchers#1383

Improvements

  • Replace all links with http to https. (#1340)
  • Update the links for have_and_belong_to_many, have_many and have_one in the README to redirect the user to where the matcher description starts. (#1348)
  • Drop git ls-files in gemspec to help downstreams maintenance, because they often need to build packages in an environment that does not have git. (#1354)
  • Add comment about no support of validate_uniqueness_of(:item).scoped_to(array). (#1355)
  • Improve error message for assossiation_matcher.with_foreign_key option. (#1376)

#1343: thoughtbot/shoulda-matchers#1343 #1348: thoughtbot/shoulda-matchers#1348 #1354: thoughtbot/shoulda-matchers#1354 #1355: thoughtbot/shoulda-matchers#1355 #1376: thoughtbot/shoulda-matchers#1376

v4.4.0

Features

  • Add an ignoring_check_for_db_index qualifier to the have_secure_token matcher, since has_secure_token encourages use of an index but does not enforce it. (#1278)

  • Add allow_blank to validate_length_of to match other validation matchers. (#725, #1318)

... (truncated)
Changelog

Sourced from shoulda-matchers's changelog.

4.5.1 - 2021-01-15

Bug fixes

  • Update belongs_to to work with composite primary keys. (#1396)

#1396: thoughtbot/shoulda-matchers#1396

4.5.0 - 2020-12-28

Bug fixes

  • Fix bundle exec yard doc replacing pygments.rb with rouge to keep the documentation up to date. (#1343)
  • Fix have_db_column.with_options not raising an error when the user adds an invalid value. (#1358)
  • Fix default value of assossiation_matcher.validate option. It was returning false instead of true. (#1378)
  • Fix validate_absence_of failing for array columns. (#1383)

#1340: thoughtbot/shoulda-matchers#1340 #1358: thoughtbot/shoulda-matchers#1358 #1378: thoughtbot/shoulda-matchers#1378 #1383: thoughtbot/shoulda-matchers#1383

Features

  • Add support for has_secure_password custom attributes. (#1356)

#1356: thoughtbot/shoulda-matchers#1356

Improvements

  • Replace all links with http to https. (#1340)
  • Update the links for have_and_belong_to_many, have_many and have_one in the README to redirect the user to where the matcher description starts. (#1348)
  • Drop git ls-files in gemspec to help downstreams maintenance, because they often need to build packages in an environment that does not have git. (#1354)
  • Add comment about no support of validate_uniqueness_of(:item).scoped_to(array). (#1355)
  • Improve error message for assossiation_matcher.with_foreign_key option. (#1376)

#1343: thoughtbot/shoulda-matchers#1343 #1348: thoughtbot/shoulda-matchers#1348 #1354: thoughtbot/shoulda-matchers#1354 #1355: thoughtbot/shoulda-matchers#1355 #1376: thoughtbot/shoulda-matchers#1376

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

... (truncated)
Commits

Merge request reports