Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump shoulda-matchers from 5.3.0 to 6.0.0 #1996

Merged
merged 1 commit into from
Dec 27, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps shoulda-matchers from 5.3.0 to 6.0.0.

Release notes

Sourced from shoulda-matchers's releases.

v6.0.0

Backward-incompatible changes

#1521: thoughtbot/shoulda-matchers#1521 #1522: thoughtbot/shoulda-matchers#1522 #1547: thoughtbot/shoulda-matchers#1547 #1548: thoughtbot/shoulda-matchers#1548

Bug fixes

  • Fix validate_uniqueness_of matcher not supporting column of the type timestampz by @​callahat. (#1544)
  • Ensure that validation specs work for ActiveModel without ActiveRecord by @​stonefield. (#1580)

#1544: thoughtbot/shoulda-matchers#1544 #1580: thoughtbot/shoulda-matchers#1580

Features

#1536: thoughtbot/shoulda-matchers#1536 #1542: thoughtbot/shoulda-matchers#1542 #1552: thoughtbot/shoulda-matchers#1552 #1555: thoughtbot/shoulda-matchers#1555 #1558: thoughtbot/shoulda-matchers#1558 #1560: thoughtbot/shoulda-matchers#1560 #1569: thoughtbot/shoulda-matchers#1569 #1573: thoughtbot/shoulda-matchers#1573 #1578: thoughtbot/shoulda-matchers#1578 #1588: thoughtbot/shoulda-matchers#1588

Improvements

  • When an unrelated error is seen with negated allow_value, give a hint by @​matsales28. (#1570)

#1570: thoughtbot/shoulda-matchers#1570

Thanks everyone for the contributions!

Changelog

Sourced from shoulda-matchers's changelog.

6.0.0 - 2023-12-22

Backward-incompatible changes

#1521: thoughtbot/shoulda-matchers#1521 #1522: thoughtbot/shoulda-matchers#1522 #1547: thoughtbot/shoulda-matchers#1547 #1548: thoughtbot/shoulda-matchers#1548

Bug fixes

  • Fix validate_uniqueness_of matcher not supporting column of the type timestampz by @​callahat. (#1544)
  • Ensure that validation specs work for ActiveModel without ActiveRecord by @​stonefield. (#1580)

#1544: thoughtbot/shoulda-matchers#1544 #1580: thoughtbot/shoulda-matchers#1580

Features

#1536: thoughtbot/shoulda-matchers#1536 #1542: thoughtbot/shoulda-matchers#1542 #1552: thoughtbot/shoulda-matchers#1552 #1555: thoughtbot/shoulda-matchers#1555 #1558: thoughtbot/shoulda-matchers#1558 #1560: thoughtbot/shoulda-matchers#1560 #1569: thoughtbot/shoulda-matchers#1569 #1573: thoughtbot/shoulda-matchers#1573 #1578: thoughtbot/shoulda-matchers#1578 #1588: thoughtbot/shoulda-matchers#1588

Improvements

  • When an unrelated error is seen with negated allow_value, give a hint by @​matsales28. (#1570)

#1570: thoughtbot/shoulda-matchers#1570

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.


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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [shoulda-matchers](https://github.com/thoughtbot/shoulda-matchers) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/thoughtbot/shoulda-matchers/releases)
- [Changelog](https://github.com/thoughtbot/shoulda-matchers/blob/main/CHANGELOG.md)
- [Commits](thoughtbot/shoulda-matchers@v5.3.0...v6.0.0)

---
updated-dependencies:
- dependency-name: shoulda-matchers
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Dec 25, 2023
Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger.

Copy link
Contributor

@ChrisBAshton ChrisBAshton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger.

@ChrisBAshton ChrisBAshton merged commit fe41880 into main Dec 27, 2023
7 checks passed
@ChrisBAshton ChrisBAshton deleted the dependabot/bundler/shoulda-matchers-6.0.0 branch December 27, 2023 12:44
ChrisBAshton added a commit to alphagov/govuk-dependabot-merger that referenced this pull request Jan 2, 2024
A recent PR was auto-merged when it should not have been:
alphagov/content-data-api#1996

This is because the name of the dependency was not being matched
by the regex (`\w` does not support hyphenated names). It therefore
looked as though _NO_ dependencies were being updated, and it
seemed therefore that there were no top-level dependencies being
updated that weren't on the allowlist. govuk-dependabot-merger
therefore gave the green light to auto-merge.

Have now tweaked the regex to catch any kind of dependency name.
This did break the `multiple_dependencies_commit` spec, because
each of its dependencies is wrapped in backticks (as opposed to
the single-dependency commits, which had no backticks), so the
names weren't matching. I've now added an inline `gsub` to remove
the backticks from the names, since they're never actually part
of the dependency names.
ChrisBAshton added a commit to alphagov/govuk-dependabot-merger that referenced this pull request Jan 2, 2024
A recent PR was auto-merged when it should not have been:
alphagov/content-data-api#1996

This is because the name of the dependency was not being matched
by the regex (`\w` does not support hyphenated names). It therefore
looked as though _NO_ dependencies were being updated, and it
seemed therefore that there were no top-level dependencies being
updated that weren't on the allowlist. govuk-dependabot-merger
therefore gave the green light to auto-merge.

Have now tweaked the regex to catch any kind of dependency name.
This did break the `multiple_dependencies_commit` spec, because
each of its dependencies is wrapped in backticks (as opposed to
the single-dependency commits, which had no backticks), so the
names weren't matching. I've now added an inline `gsub` to remove
the backticks from the names, since they're never actually part
of the dependency names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant