Skip to content

Bump shoulda-matchers from 4.1.0 to 4.1.1

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

Bumps shoulda-matchers from 4.1.0 to 4.1.1.

Release notes

Sourced from shoulda-matchers's releases.

v4.1.1

Bug fixes

  • Patch some backward-incompatible changes to validate_presence_of that were made in the last version. As of 4.1.0 the presence matcher now checks to ensure that empty string will cause the record to be invalid (in addition to nil, which it was already checking against). However, this check was being performed even if the attribute or column the presence matcher is being run against didn't support being set to an empty string. This releases fixes this. (#1222, #1224, #1231)

#1222: #1222 #1224: #1224 #1231: #1231

Changelog

Sourced from shoulda-matchers's changelog.

4.1.1

Bug fixes

  • Patch some backward-incompatible changes to validate_presence_of that were made in the last version. As of 4.1.0 the presence matcher now checks to ensure that empty string will cause the record to be invalid (in addition to nil, which it was already checking against). However, this check was being performed even if the attribute or column the presence matcher is being run against didn't support being set to an empty string. This releases fixes this. (#1222, #1224, #1231)

#1222: #1222 #1224: #1224 #1231: #1231

Commits
  • e193d1b Bump version to 4.1.1
  • 89dc52c Update maintaining
  • fb6ea7a Fix tests for array columns
  • b202f2c Update NEWS
  • b3025dc Fix presence matcher against an AM record
  • 6ff9f17 Slightly refactor presence matcher
  • ba9dbff Fix negative version of presence matcher
  • 34020fb Turn off more Rubocop checks
  • a2231f8 validate_presence_of(:active_storage_field) throws exception (#1224)
  • e8ba529 Bump yard from 0.9.12 to 0.9.20
  • Additional commits viewable in compare view

Merge request reports