Skip to content

Bump factory_bot from 5.0.2 to 6.2.0 in /ruby - #130

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/ruby/factory_bot-6.2.0
Open

Bump factory_bot from 5.0.2 to 6.2.0 in /ruby#130
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/ruby/factory_bot-6.2.0

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented May 10, 2021

Copy link
Copy Markdown

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps factory_bot from 5.0.2 to 6.2.0.

Release notes

Sourced from factory_bot's releases.

v6.2.0

  • Added: support for Ruby 3.0
  • Changed: Include factory or trait name in error messages for missing traits. d05a9a3c
  • Changed: Switched from Travis CI to GitHub Actions
  • Fixed: More Ruby 2.7 kwarg deprecation warnings

v6.1.0

  • Added: public reader for the evaluation instance, helpful for building interrelated associations
  • Changed: raise a more helpful error when passing an invalid argument to an association
  • Fixed: Ruby 2.7 kwarg deprecation warnings

v6.0.2

Fixed: bug causing traits to consume more memory each time they were used

v6.0.1

Fixed: bug with constant resolution causing unexpected uninitialized constant errors

v6.0.0

  • Added: automatic definition of traits for Active Record enum attributes, enabled by default
  • Added: traits_for_enum method to define traits for non-Active Record enums
  • Added: build_stubbed_starting_id= option to define the starting id for build_stubbed
  • Removed: deprecated methods on the top-level FactoryBot module meant only for internal use
  • Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
  • Removed: support for "abstract" factories with no associated class; use traits instead.

v5.2.0

  • Added: Pass index to block for *_list methods
  • Deprecated: top-level methods meant only for internal use: callbacks, configuration, constructor, initialize_with, register_sequence, resent_configuration, skip_create, to_create

v5.1.2

  • Fixed: Ruby 2.7 keyword deprecation warning in FactoryBot.lint

v5.1.1

  • Improved: performance of traits
  • Fixed: registering strategies on JRuby

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.

6.2.0 (May 7, 2021)

  • Added: support for Ruby 3.0
  • Changed: Include factory or trait name in error messages for missing traits. d05a9a3c
  • Changed: Switched from Travis CI to GitHub Actions
  • Fixed: More Ruby 2.7 kwarg deprecation warnings

6.1.0 (July 8, 2020)

  • Added: public reader for the evaluation instance, helpful for building interrelated associations
  • Changed: raise a more helpful error when passing an invalid argument to an association
  • Fixed: Ruby 2.7 kwarg deprecation warnings

6.0.2 (June 19, 2020)

  • Fixed: bug causing traits to consume more memory each time they were used

6.0.1 (June 19, 2020)

  • Fixed: bug with constant resolution causing unexpected uninitialized constant errors

6.0.0 (June 18, 2020)

  • Added: automatic definition of traits for Active Record enum attributes, enabled by default (Note that this required changing where factory_bot constantizes the build class, which may affect applications that were using abstract factories for inheritance. See issue #1409.)
  • Added: traits_for_enum method to define traits for non-Active Record enums
  • Added: build_stubbed_starting_id= option to define the starting id for build_stubbed
  • Removed: deprecated methods on the top-level FactoryBot module meant only for internal use
  • Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
  • Removed: support for "abstract" factories with no associated class; use traits instead.

5.2.0 (April 24, 2020)

  • Added: Pass index to block for *_list methods
  • Deprecated: methods on the top-level FactoryBot module meant only for internal use: callbacks, configuration, constructor, initialize_with, register_sequence, resent_configuration, skip_create, to_create

5.1.2 (March 25, 2020)

  • Fixed: Ruby 2.7 keyword deprecation warning in FactoryBot.lint

5.1.1 (October 2, 2019)

  • Improved: performance of traits
  • Fixed: registering strategies on JRuby

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: methods on the top-level FactoryBot module 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
Commits
  • d07fa85 Bump version to 6.2.0 [ci skip]
  • 6f3fe87 Fix delegation
  • b6606ab Improve Github Actions labels
  • c5f9539 Fix ci badge and workflows query link (#1486)
  • 370d4e2 Replace Travis with GitHub Actions
  • 92114db Switch to more common trait examples
  • f54a653 Fix indentation in GETTING_STARTED.md
  • 131d779 Fix JRuby CI build (#1475)
  • 18bbc5b Avoid testing combinations that will always fail
  • 630aca4 Fix violations for latest version of standard
  • 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)

@dependabot-preview dependabot-preview Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 10, 2021
Bumps [factory_bot](https://github.com/thoughtbot/factory_bot) from 5.0.2 to 6.2.0.
- [Release notes](https://github.com/thoughtbot/factory_bot/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot/blob/master/NEWS.md)
- [Commits](thoughtbot/factory_bot@v5.0.2...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/ruby/factory_bot-6.2.0 branch from fc33170 to 28c2f88 Compare May 12, 2021 05:23
@tnir tnir self-assigned this May 12, 2021
@tnir
tnir self-requested a review May 12, 2021 05:24
@dependabot-preview

Copy link
Copy Markdown
Author

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@tnir

tnir commented Sep 12, 2021

Copy link
Copy Markdown
Owner

@dependabot rebase

@tnir tnir closed this Sep 12, 2021
@dependabot-preview

Copy link
Copy Markdown
Author

Dependabot Preview has shut down and can no longer make changes to your Repository.

You can continue to keep your dependencies updated with GitHub-native Dependabot.

@dependabot-preview

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@tnir tnir reopened this Sep 12, 2021
@tnir

tnir commented Sep 12, 2021

Copy link
Copy Markdown
Owner

@dependabot rebase

1 similar comment
@tnir

tnir commented Sep 19, 2021

Copy link
Copy Markdown
Owner

@dependabot rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant