shoulda-matchers v4.5.0 Release Notes

Release Date: 2020-12-28 // 11 months ago
  • ๐Ÿ› 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)

    ๐Ÿ”‹ Features

    • Add support for has_secure_password custom attributes. (#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)