DefactoSoftware / Hours

Time registration that doesn't suck
https://happyhours.io
MIT License
1.04k stars 269 forks source link

Bump shoulda-matchers from 2.7.0 to 4.2.0 #536

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps shoulda-matchers from 2.7.0 to 4.2.0.

Release notes

Sourced from shoulda-matchers's releases.

v4.2.0

Features

  • Add support for optional: false in belongs_to associations. (#1237)
  • Add support for associations with inverse_of: false and non-standard foreign key (#1106)

Bug fixes

  • Fix typos in documentation of allow_values (#1241)
  • Fix appraisal command in CONTRIBUTING.md file (#1253)

Improvements

  • Remove minitest-reporters dependency (#1251)
  • Development dependency updates

#1106: thoughtbot/shoulda-matchers#1106 #1237: thoughtbot/shoulda-matchers#1237 #1241: thoughtbot/shoulda-matchers#1241 #1253: thoughtbot/shoulda-matchers#1253

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: thoughtbot/shoulda-matchers#1222 #1224: thoughtbot/shoulda-matchers#1224 #1231: thoughtbot/shoulda-matchers#1231

v4.1.0

Bug fixes

  • Fix validate_uniqueness_of so that it works when a scope is defined as a string instead of a symbol on the model. (#1176)
  • Fix have_db_index so that it can be used against multiple models that are connected to different databases. (#1200)

#1176: thoughtbot/shoulda-matchers#1176 #1200: thoughtbot/shoulda-matchers#1200

Features

  • Add support for Rails 6. No new Rails 6 features are supported, but only
... (truncated)
Changelog

Sourced from shoulda-matchers's changelog.

4.2.0

Features

  • Add support for optional: false in belongs_to associations. (#1237)
  • Add support for associations with inverse_of: false and non-standard foreign key (#1106)

Bug fixes

  • Fix typos in documentation of allow_values (#1241)
  • Fix appraisal command in CONTRIBUTING.md file (#1253)

Improvements

  • Remove minitest-reporters dependency (#1251)
  • Development dependency updates

#1106: thoughtbot/shoulda-matchers#1106 #1237: thoughtbot/shoulda-matchers#1237 #1241: thoughtbot/shoulda-matchers#1241 #1253: thoughtbot/shoulda-matchers#1253

4.1.2

Bug fixes

  • Fix another regression with validate_presence_of so that it works against an attribute that has been decorated with serialize using a custom serializer class. (#1236)

#1236: thoughtbot/shoulda-matchers#1236

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: thoughtbot/shoulda-matchers#1222 #1224: thoughtbot/shoulda-matchers#1224 #1231: thoughtbot/shoulda-matchers#1231

4.1.0

... (truncated)
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #551.