Updates the requirements on factory_bot to permit the latest version.
Release notes
*Sourced from [factory_bot's releases](https://github.com/thoughtbot/factory_bot/releases).*
> ## v5.1.0
> * Added: "Did you mean?" style error message to help with typos in association declarations
> * Changed: `NoMethodError` for static attributes now offers a "Did you mean?" style message
> * Fixed: avoid undefining inherited evaluator methods
> * Fixed: avoid stubbing id for records without a primary key
> * Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError`
> * Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`
Changelog
*Sourced from [factory_bot's changelog](https://github.com/thoughtbot/factory_bot/blob/master/NEWS.md).*
> ## 5.1.0 (September 21, 2019)
> * Added: "Did you mean?" style error message to help with typos in association declarations
> * Changed: `NoMethodError` for static attributes now offers a "Did you mean?" style message
> * Fixed: avoid undefining inherited evaluator methods
> * Fixed: avoid stubbing id for records without a primary key
> * Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError`
> * Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`
>
> ## 5.0.2 (February 22, 2019)
> * Bugfix: raise "Trait not registered" error when passing invalid trait arguments
>
> ## 5.0.1 (February 15, 2019)
> * Bugfix: Do not raise error when two sequences have the same name
> in two traits that have the same name
>
> ## 5.0.0 (February 1, 2019)
> * Added: Verbose option to include full backtraces in the linting output
> * Changed: use_parent_strategy now defaults to true, so by default the
> build strategy will build, rather than create associations
> * Changed: Passing a block when defining associations now raises an error
> * Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload
> * Bugfix: rewind_sequences will now rewind local sequences along with the global ones
> * Bugfix: the build_stubbed strategy now sets timestamps without changing the
> the original behavior of the timestamp methods
> * Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with
> * Removed: support for EOL versions of Ruby and Rails
> * Removed: static attributes (use dynamic attributes with a block instead)
> * Removed: looking up factories by class
> * Removed: ignore method (use transient instead)
> * Removed: duplicate_attribute_assignment_from_initialize_with configuration option
> * Deprecated: allow_class_lookup configuration option
>
> ## 4.11.1 (September 7, 2018)
> * Documentation: Include .yardopts in the gem to fix broken RubyDoc links
>
> ## 4.11.0 (August, 15, 2018)
> * Bugfix: Do not raise error for valid build_stubbed methods: decrement, increment, and toggle
> * Bugfix: Do not add timestamps with build_stubbed for objects that shouldn't have timestamps
> * Deprecate static attributes
>
> ## 4.10.0 (May 25, 2018)
> * Allow sequences to be rewound
>
> ## 4.9.0 (skipped - FactoryGirl only release)
>
> ## 4.8.2 (October 20, 2017)
> * Rename factory_girl to factory_bot
>
> ## 4.8.1 (September 28, 2017)
> * Explicitly define `#destroyed?` within the `Stub` strategy to return `nil` instead of raising
> ... (truncated)
Commits
- [`ad7a58d`](https://github.com/thoughtbot/factory_bot/commit/ad7a58d304243bc2aa5f505be3d75a2effe18195) Bump version to 5.1.0 [ci skip]
- [`5ccc564`](https://github.com/thoughtbot/factory_bot/commit/5ccc564923d19695a7dca859e11cc461a8f57758) Fix self referencing trait error ([#1294](https://github-redirect.dependabot.com/thoughtbot/factory_bot/issues/1294))
- [`831dcef`](https://github.com/thoughtbot/factory_bot/commit/831dcef717c2c384cafc6a6c28ea5be28cb3f25f) Test against Rails 6.0.0
- [`ecb5656`](https://github.com/thoughtbot/factory_bot/commit/ecb56565a162d106dbc9722270b6f346ef3b69a7) Use temporary assignment helper to silence deprecations in specs
- [`7722017`](https://github.com/thoughtbot/factory_bot/commit/7722017bc7c06464407d1c56dec34951154cfc7d) Adjust use_parent_strategy safely in specs
- [`9e104a6`](https://github.com/thoughtbot/factory_bot/commit/9e104a6d359be2d20e9a4c4c6ed043d4e5c40a1b) Appraise ActiveRecord 6.0.0.rc2
- [`eb6bccb`](https://github.com/thoughtbot/factory_bot/commit/eb6bccb3e3cdeef6948cfb7b187e084982318075) Avoid time travel in tests
- [`eabb1a3`](https://github.com/thoughtbot/factory_bot/commit/eabb1a35eea9633baf643797c7134a099d97e2af) Switch from TimeCop to ActiveSupport::Testing::TimeHelpers
- [`05bf5a3`](https://github.com/thoughtbot/factory_bot/commit/05bf5a3713ffacffa09b78d67a4900c54a626b7e) Use sqlite in-memory DB in specs
- [`ca81076`](https://github.com/thoughtbot/factory_bot/commit/ca810767e70ccd85c7cb63f775bc16f653a97dc8) Fix Markdown Syntax in GETTING STARTED.md
- Additional commits viewable in [compare view](https://github.com/thoughtbot/factory_bot/compare/v4.10.0...v5.1.0)
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 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](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- 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.
Updates the requirements on factory_bot to permit the latest version.
Release notes
*Sourced from [factory_bot's releases](https://github.com/thoughtbot/factory_bot/releases).* > ## v5.1.0 > * Added: "Did you mean?" style error message to help with typos in association declarations > * Changed: `NoMethodError` for static attributes now offers a "Did you mean?" style message > * Fixed: avoid undefining inherited evaluator methods > * Fixed: avoid stubbing id for records without a primary key > * Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError` > * Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies`Changelog
*Sourced from [factory_bot's changelog](https://github.com/thoughtbot/factory_bot/blob/master/NEWS.md).* > ## 5.1.0 (September 21, 2019) > * Added: "Did you mean?" style error message to help with typos in association declarations > * Changed: `NoMethodError` for static attributes now offers a "Did you mean?" style message > * Fixed: avoid undefining inherited evaluator methods > * Fixed: avoid stubbing id for records without a primary key > * Fixed: raise a helpful error for self-referencing traits to avoid a `SystemStackError` > * Deprecated: top-level methods meant only for internal use: `allow_class_lookup`, `allow_class_lookup`=, `register_trait`, `trait_by_name`, `traits`, `sequence_by_name`, `sequences`, `factory_by_name`, `register_factory`, `callback_names`, `register_callback`, `register_default_callbacks`, `register_default_strategies`, `strategies` > > ## 5.0.2 (February 22, 2019) > * Bugfix: raise "Trait not registered" error when passing invalid trait arguments > > ## 5.0.1 (February 15, 2019) > * Bugfix: Do not raise error when two sequences have the same name > in two traits that have the same name > > ## 5.0.0 (February 1, 2019) > * Added: Verbose option to include full backtraces in the linting output > * Changed: use_parent_strategy now defaults to true, so by default the > build strategy will build, rather than create associations > * Changed: Passing a block when defining associations now raises an error > * Bugfix: use_parent_strategy is no longer reset by FactoryBot.reload > * Bugfix: rewind_sequences will now rewind local sequences along with the global ones > * Bugfix: the build_stubbed strategy now sets timestamps without changing the > the original behavior of the timestamp methods > * Bugfix: avoid a stack error when referring to an "attributes" attribute in initialize_with > * Removed: support for EOL versions of Ruby and Rails > * Removed: static attributes (use dynamic attributes with a block instead) > * Removed: looking up factories by class > * Removed: ignore method (use transient instead) > * Removed: duplicate_attribute_assignment_from_initialize_with configuration option > * Deprecated: allow_class_lookup configuration option > > ## 4.11.1 (September 7, 2018) > * Documentation: Include .yardopts in the gem to fix broken RubyDoc links > > ## 4.11.0 (August, 15, 2018) > * Bugfix: Do not raise error for valid build_stubbed methods: decrement, increment, and toggle > * Bugfix: Do not add timestamps with build_stubbed for objects that shouldn't have timestamps > * Deprecate static attributes > > ## 4.10.0 (May 25, 2018) > * Allow sequences to be rewound > > ## 4.9.0 (skipped - FactoryGirl only release) > > ## 4.8.2 (October 20, 2017) > * Rename factory_girl to factory_bot > > ## 4.8.1 (September 28, 2017) > * Explicitly define `#destroyed?` within the `Stub` strategy to return `nil` instead of raising > ... (truncated)Commits
- [`ad7a58d`](https://github.com/thoughtbot/factory_bot/commit/ad7a58d304243bc2aa5f505be3d75a2effe18195) Bump version to 5.1.0 [ci skip] - [`5ccc564`](https://github.com/thoughtbot/factory_bot/commit/5ccc564923d19695a7dca859e11cc461a8f57758) Fix self referencing trait error ([#1294](https://github-redirect.dependabot.com/thoughtbot/factory_bot/issues/1294)) - [`831dcef`](https://github.com/thoughtbot/factory_bot/commit/831dcef717c2c384cafc6a6c28ea5be28cb3f25f) Test against Rails 6.0.0 - [`ecb5656`](https://github.com/thoughtbot/factory_bot/commit/ecb56565a162d106dbc9722270b6f346ef3b69a7) Use temporary assignment helper to silence deprecations in specs - [`7722017`](https://github.com/thoughtbot/factory_bot/commit/7722017bc7c06464407d1c56dec34951154cfc7d) Adjust use_parent_strategy safely in specs - [`9e104a6`](https://github.com/thoughtbot/factory_bot/commit/9e104a6d359be2d20e9a4c4c6ed043d4e5c40a1b) Appraise ActiveRecord 6.0.0.rc2 - [`eb6bccb`](https://github.com/thoughtbot/factory_bot/commit/eb6bccb3e3cdeef6948cfb7b187e084982318075) Avoid time travel in tests - [`eabb1a3`](https://github.com/thoughtbot/factory_bot/commit/eabb1a35eea9633baf643797c7134a099d97e2af) Switch from TimeCop to ActiveSupport::Testing::TimeHelpers - [`05bf5a3`](https://github.com/thoughtbot/factory_bot/commit/05bf5a3713ffacffa09b78d67a4900c54a626b7e) Use sqlite in-memory DB in specs - [`ca81076`](https://github.com/thoughtbot/factory_bot/commit/ca810767e70ccd85c7cb63f775bc16f653a97dc8) Fix Markdown Syntax in GETTING STARTED.md - Additional commits viewable in [compare view](https://github.com/thoughtbot/factory_bot/compare/v4.10.0...v5.1.0)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 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](https://app.dependabot.com): - Update frequency (including time of day and day of week) - 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.