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
  • !1294

Bump shoulda-matchers from 3.1.2 to 4.0.1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge dependabot/bundler/shoulda-matchers-4.0.1 into master Feb 26, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: dependabot-preview[bot]

Bumps shoulda-matchers from 3.1.2 to 4.0.1.

Release notes

Sourced from shoulda-matchers's releases.

v4.0.1

Fix gemspec so that setup script isn't installed globally when gem is installed.

v4.0.0

  • Rails 5.x support
  • Ruby 2.4+ support
  • Improve negative versions of validation matchers
  • Drop support for Ruby 2.0 and 2.1
  • Drop support Rails 4.0 and 4.1

v4.0.0.rc1

Adds support for Ruby 2.4 and 2.5 and Rails 5.x. Drops support for Ruby 2.0 and 2.1 as well as Rails 4.0 and 4.1.

Changelog

Sourced from shoulda-matchers's changelog.

4.0.1

Bug fixes

  • Fix gemspec so that setup script isn't installed globally when gem is installed. (#1180)

4.0.0 (yanked)

This release mainly brings the gem up to date with modern versions of Ruby and Rails and drops support for older, unsupported versions. The compatibility list is now:

  • Ruby: 2.6.0, 2.5.1, 2.4.4, 2.3.7
  • Rails: 5.2.2, 5.1.6.1, 5.0.7, 4.2.10

Backward-incompatible changes

  • Drop support for Rails 4.0 and 4.1 as well as Ruby 2.0, 2.1, and 2.2, since they've been end-of-lifed. The gem now supports Ruby 2.3+ and Rails 4.2+.

  • use_before_filter, use_after_filter, and use_around_filter are no longer usable when using shoulda-matchers under Rails 5.x, as the corresponding controller callbacks don't exist there.

    • PR: [#1054]

Deprecations

  • define_enum_for: with is deprecated in favor of with_values. This is to prevent confusion with with_prefix and with_suffix, which are new.

    • PR: [#1077]

Bug fixes

  • Fix association matchers when used under Rails 5.x so that they make use of ActiveRecord::Base.connection.data_sources instead of ActiveRecord::Base.connection.tables, which was deprecated.

    • Commit: [61c3654]
    • PR: [#943 (closed)]
    • Original issue: [#933]
  • Fix the serialize matcher so that it works with Rails 5.x.

    • Commit: [df04f87]
    • PR: [#965 (closed)]
... (truncated)
Commits
  • 5ce00eb Bump version to 4.0.1
  • 8f7eccd Update NEWS
  • 525772f Don't include setup script in global executables
  • 33ad91d Fix without_validating_presence documentation (#1177)
  • dfbcdc7 Update MAINTAINING
  • 33317ba Update MAINTAINING
  • 147ec58 Update CONTRIBUTING and MAINTAINING
  • 9400e89 Bump version to 4.0.0
  • 00a84c0 Update documentation
  • 1cf402d Update README
  • 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
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/bundler/shoulda-matchers-4.0.1