Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A administrate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • thoughtbot, inc.
  • administrate
  • Merge requests
  • !1866

Bump shoulda-matchers from 4.4.1 to 4.5.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/bundler/shoulda-matchers-4.5.0 into master Jan 12, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: dependabot-preview[bot]

Bumps shoulda-matchers from 4.4.1 to 4.5.0.

Release notes

Sourced from shoulda-matchers's releases.

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

Changelog

Sourced from shoulda-matchers's changelog.

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

Commits
  • 5d48d37 Release v4.5.0 (#1389)
  • 81c886e Update license year (#1390)
  • 2bb82c3 Bring CHANGELOG up to date (#1387)
  • 9b0b5c9 Fix RuboCop offenses
  • 63b6321 fix have_db_column.with_options misspelled options
  • e19ebf2 Fix validate_absence_of failing for array columns
  • 3adbbf1 Fix 'required_ruby_version: unbound variable' (#1373)
  • 64376a0 fix: with_foreign_key modifier fails with wrong error message (#1376)
  • 8772cd4 fix: has_many without validate option returns false instead of true (#1378)
  • bf41204 fix: Remove lint-action github action and add custom RuboCop action
  • Additional commits viewable in compare view

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 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:

  • 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)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/bundler/shoulda-matchers-4.5.0