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.0.0 #473

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps shoulda-matchers from 2.7.0 to 4.0.0.

Release notes *Sourced from [shoulda-matchers's releases](https://github.com/thoughtbot/shoulda-matchers/releases).* > ## 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. > > ## v3.1.2 > ### Deprecations > > * This is the **last version** that supports Rails 4.0 and 4.1 and Ruby 2.0 and 2.1. > > ### Bug fixes > > * When the `permit` matcher was used without `#on`, the controller did not use > `params#require`, the params object was duplicated, and the matcher did not > recognize the `#permit` call inside the controller. This behavior happened > because the matcher overwrote double registries with the same parameter hash > whenever ActionController::Parameters was instantiated. > > * *Commit: [44c019]* > * *Issue: [#899]* > * *Pull request: [#902]*
Changelog *Sourced from [shoulda-matchers's changelog](https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md).* > # 4.0.0 > > 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]* > * *Original issue: [#933]* > > * Fix the `serialize` matcher so that it works with Rails 5.x. > > * *Commit: [df04f87]* > * *PR: [#965]* > * *Original issue: [#913]* > > * Fix our custom mocking library Doublespeak, which is used by > `delegate_method`, so that it does not produce a warning under Ruby 2.4. > > * *Commit: [8d7dcb8]* > * *PR: [#1038]* > * *Original issue: [#1006]* > > ... (truncated)
Commits - [`9400e89`](https://github.com/thoughtbot/shoulda-matchers/commit/9400e892a01e686fd337521edd8b6ab5c4777058) Bump version to 4.0.0 - [`00a84c0`](https://github.com/thoughtbot/shoulda-matchers/commit/00a84c0bfe2ec26bbd9e6657be31aaf16ca54ed3) Update documentation - [`1cf402d`](https://github.com/thoughtbot/shoulda-matchers/commit/1cf402dd1d13c749136627d5a5daef079b66877b) Update README - [`ed7f6ec`](https://github.com/thoughtbot/shoulda-matchers/commit/ed7f6ec9b2662d4f6711cda76cc42c5876c79368) Update Rails 4.2.x, 5.0.x, and 5.2.x - [`707d87d`](https://github.com/thoughtbot/shoulda-matchers/commit/707d87dbd60d2b1781f4ea2e9dab73e207d65173) Add without_presence_validation q to belong_to - [`ca6a1ff`](https://github.com/thoughtbot/shoulda-matchers/commit/ca6a1ff9eed7c62b6631f98d75768dedb22b7c0b) Improve messaging of .required and .optional - [`0e7e250`](https://github.com/thoughtbot/shoulda-matchers/commit/0e7e250fb3c66124c535e16b4e495fe0c8e0306d) Attempt to address test failures on CI - [`c58e3ba`](https://github.com/thoughtbot/shoulda-matchers/commit/c58e3ba7f2803a9fe9c4d5ce1d9e44e439d8bf82) Ensure allow_nil on inclusion returns self - [`b4d8d35`](https://github.com/thoughtbot/shoulda-matchers/commit/b4d8d3566a55f2594d9d7dae476ecf29d2386e74) ValidateInclusionOfMatcher#allow_nil should return `self` - [`0cbd2b5`](https://github.com/thoughtbot/shoulda-matchers/commit/0cbd2b533deaf455e8a1a1189d07a286e4393a39) Update copyright notice to 2019 ([#1174](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1174)) - Additional commits viewable in [compare view](https://github.com/thoughtbot/shoulda-matchers/compare/v2.7.0...v4.0.0)


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 - `@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](https://app.dependabot.com): - 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.
dependabot-preview[bot] commented 5 years ago

Superseded by #480.