akabiru / todos-api

🍻 🍾 @scotch-io tutorial "Build a RESTful JSON API with Rails 5" codebase.
https://scotch.io/tutorials/build-a-restful-json-api-with-rails-5-part-one
MIT License
188 stars 101 forks source link

Bump shoulda-matchers from 3.1.2 to 4.1.0 #43

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps shoulda-matchers from 3.1.2 to 4.1.0.

Release notes *Sourced from [shoulda-matchers's releases](https://github.com/thoughtbot/shoulda-matchers/releases).* > ## v4.0.1 > Fix gemspec so that `setup` script isn't installed globally when gem is installed. > > ## v4.0.0 (yanked) > - 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](https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md).* > # 4.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](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1176)) > * Fix `have_db_index` so that it can be used against multiple models that are > connected to different databases. ([#1200](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1200)) > > [#1176](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1176): [#1176](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1176) > [#1200](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1200): [#1200](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1200) > > ### Features > > * Add support for Rails 6. No new Rails 6 features are supported, but only > existing features that broke with the upgrade. ([#1193](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1193)) > * Add support for expression indexes (Rails 5, Postgres only) to > `have_db_index`. ([#1211](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1211)) > * Add `allow_nil` to the `validate_presence_of` matcher. ([834d8d0], [#1100](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1100)) > > [#1193](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1193): [#1193](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1193) > [#1211](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1211): [#1211](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1211) > [834d8d0]: https://github.com/thoughtbot/shoulda-matchers/commit/834d8d0356573b9f47e63a1b910cfa8f3d815e51 > [#1100](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1100): [#1100](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1100) > > ### Improvements > > * Update `validate_presence_of` so that if it is being used against an > association which is `required: true` or `optional: false`, or it is not > configured as such but ActiveRecord defaults `belong_to` associations to > `optional: false`, and the matcher fails, the developer is reminded in the > failure message that the `belong_to` matcher can be used instead. ([#1214](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1214), > [8697b01]) > * Update `define_enum_for` so that it produces a more helpful message on > failure. ([#1216](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1216)) > > [#1214](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1214): [#1214](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1214) > [8697b01]: https://github.com/thoughtbot/shoulda-matchers/commit/8697b015ed88fdbbbcf5d31bf98670f17c3df9e1 > [#1216](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1216): [#1216](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1216) > > # 4.0.1 > > ### Bug fixes > > * Fix gemspec so that `setup` script isn't installed globally when gem is > installed. ([#1180](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1180)) > > [#1180](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/issues/1180): [#1180](https://github-redirect.dependabot.com/thoughtbot/shoulda-matchers/pull/1180) > > # 4.0.0 (yanked) > ... (truncated)
Commits - [`71deebd`](https://github.com/thoughtbot/shoulda-matchers/commit/71deebdeff2c5760a510cd7331bf1e6ee1cd1d6a) Bump version to 4.1.0 - [`3cecf76`](https://github.com/thoughtbot/shoulda-matchers/commit/3cecf76d701a11e884ab2ad394396a5ee5bb45c8) Fix gemspec - [`d77cba3`](https://github.com/thoughtbot/shoulda-matchers/commit/d77cba3521ce77ccf8afb064bfa375a6b6177cb5) Update Rubocop across Appraisals - [`88ebbff`](https://github.com/thoughtbot/shoulda-matchers/commit/88ebbff296630f192cede2a8dad893a4fd7a5887) Update gemspec - [`da45b3d`](https://github.com/thoughtbot/shoulda-matchers/commit/da45b3d38a8f5eea3cf2b269345490f483c0546e) Update README - [`3402e23`](https://github.com/thoughtbot/shoulda-matchers/commit/3402e230fd6e0982f68f019ceda0cfa4c767d964) Update README - [`a3c5238`](https://github.com/thoughtbot/shoulda-matchers/commit/a3c5238a1f83700d91d098a6be68fa38e173aad8) Update NEWS - [`47f47d0`](https://github.com/thoughtbot/shoulda-matchers/commit/47f47d0d7a9444e990ade859acf91dc2eaa993c7) Improve failure message for enum matcher - [`47e2195`](https://github.com/thoughtbot/shoulda-matchers/commit/47e21951b6f251a4375c12a9b2592bd54811b7a4) Make match_against matcher more accurate - [`5829f88`](https://github.com/thoughtbot/shoulda-matchers/commit/5829f883fba7e138f8ad7c2cf40dd9cebc794797) Tweak Rubocop configuration - Additional commits viewable in [compare view](https://github.com/thoughtbot/shoulda-matchers/compare/v3.1.2...v4.1.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 and block automerging - `@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 #45.