Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump factory_bot and factory_bot_rails #1696

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 5, 2024

Bumps factory_bot and factory_bot_rails. These dependencies needed to be updated together.
Updates factory_bot from 6.2.1 to 6.4.6

Release notes

Sourced from factory_bot's releases.

6.4.6

  • Fix: Bump minimum required Ruby in gemspec (Earlopain).
  • Fix: Broken link in FactoryBot.modify docs (Matt Brictson).
  • Fix: Broken link in FactoryBot.lint docs (Anton Dieterle).

6.4.5

  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns).

6.4.4

  • Internal: Remove observer dependency (Earlopain).

6.4.3

  • Fix: Support models without ID setters in build_stubbed (Olivier Bellone).
  • Fix: Explicit observer dependency (Oleg Antonyan).
  • Internal: Add Rails 7.1 to CI (Olivier Bellone).
  • Internal: Bump github actions/checkout to v4 (Lorenzo Zabot)
  • Internal: Stop passing disable-error_highlight in CI (Mike Burns).
  • Internal: Relax the exception message check (Mike Burns).

6.4.2

  • Fix: top-level traits pass their class to ActiveSupport::Notifications (makicamel).

6.4.1

  • Fix: factories with traits pass their class to ActiveSupport::Notifications (makicamel).

Version 6.4.0

  • Added: if build_stubbed detects a UUID primary key, generate the correct type (Peter Boling, Alexandre Ruban).
  • Docs: show examples of Ruby 3 syntactic sugars (Sean Doyle).
  • Internal: resolve test warning messages (Mike Burns).

v6.3.0

  • Fix: link to changelog for RubyGems (Berkan Ünal).
  • Fix: integrate with Ruby 3.2's did_you_mean library (Daniel Colson).
  • Changed: explicitly define #destroyed? within the Stub strategy to return false to be consistent with ActiveRecord (Benjamin Fleischer).
  • Added: announce factory_bot.compile_factory notification (Sean Doyle).
  • Docs: clarify that custom strategies need to define #to_sym (Edmund Korley, Jonas S).
  • Docs: fix CI link in README (Mark Huk).
  • Docs: fix GitHub links (Robert Fletcher).
  • Docs: install this library with bundle add (Glauco Custódio).
  • Docs: re-write into mdBook (Mike Burns, Sara Jackson, Stefanni Brasil)
  • Docs: clarify that automatic trait definitions could introduce new linting errors (Lawrence Chou).
  • Internal: skip TruffleRuby on Rails 5.0, 5.1, 5.2 (Andrii Konchyn).
  • Internal: fix typoes throughout codebase (Yudai Takada).
  • Internal: run CI on actions/checkout v3 (Yudai Takada).
  • Internal: follow standardrb code style (Yudai Takada).
  • Internal: stop using Hound (Daniel Nolan).
  • Internal: only run simplecov on C Ruby (Daniel Colson).
  • Internal: quieter Cucumber (Daniel Colson).

... (truncated)

Changelog

Sourced from factory_bot's changelog.

6.4.6 (January 30, 2023)

  • Fix: Bump minimum required Ruby in gemspec (Earlopain).
  • Fix: Broken link in FactoryBot.modify docs (Matt Brictson).
  • Fix: Broken link in FactoryBot.lint docs (Anton Dieterle).

6.4.5 (December 29, 2023)

  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns).

6.4.4 (December 27, 2023)

  • Internal: Remove observer dependency (Earlopain).

6.4.3 (December 26, 2023)

  • Fix: Support models without ID setters in build_stubbed (Olivier Bellone).
  • Fix: Explicit observer dependency (Oleg Antonyan).
  • Internal: Add Rails 7.1 to CI (Olivier Bellone).
  • Internal: Bump github actions/checkout to v4 (Lorenzo Zabot)
  • Internal: Stop passing disable-error_highlight in CI (Mike Burns).
  • Internal: Relax the exception message check (Mike Burns).

6.4.2 (November 22, 2023)

  • Fix: top-level traits pass their class to ActiveSupport::Notifications (makicamel).

6.4.1 (November 20, 2023)

  • Fix: factories with traits pass their class to ActiveSupport::Notifications (makicamel).

6.4.0 (November 17, 2023)

  • Added: if build_stubbed detects a UUID primary key, generate the correct type (Peter Boling, Alexandre Ruban).
  • Docs: show examples of Ruby 3 syntactic sugars (Sean Doyle).
  • Internal: resolve test warning messages (Mike Burns).

6.3.0 (September 1, 2023)

  • Fix: link to changelog for RubyGems (Berkan Ünal).
  • Fix: integrate with Ruby 3.2's did_you_mean library (Daniel Colson).
  • Changed: explicitly define #destroyed? within the Stub strategy to return false to be consistent with ActiveRecord (Benjamin Fleischer).
  • Added: announce factory_bot.compile_factory notification (Sean Doyle).
  • Docs: clarify that custom strategies need to define #to_sym (Edmund Korley, Jonas S).
  • Docs: fix CI link in README (Mark Huk).

... (truncated)

Commits
  • 377d699 Bump to 6.4.6 [ci skip]
  • 6ed466f Bump minimum required ruby version to 3.0
  • 2f2bfc9 Fix linting-factories link in ref/lint.md
  • 0521d91 Fix broken link on ref/modify.html page in docs
  • 087eff1 Bump to 6.4.5 [ci skip]
  • 36bd065 Clean up conditionals based on prior Ruby versions
  • 211c088 Drop EOL Ruby and Rails versions
  • 3289647 Re-add Rails 7.1 support
  • 9f8bc0b Back down to Bundler 2.3
  • d2ecad6 Bump to 6.4.4
  • Additional commits viewable in compare view

Updates factory_bot_rails from 6.2.0 to 6.4.3

Release notes

Sourced from factory_bot_rails's releases.

6.4.3

  • Changed: allow sequence definitions for ActiveRecord primary keys (Mike Burns).
  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns)
  • Documentation improvements (obregonia1).
  • Internal: GitHub Actions improvements (Lorenzo Zabot, ydah).
  • Internal: RubyGems points to changelog (Tilo Sloboda).
  • Internal: Bump standard, rake, activerecord, appraisal, rspec-rails (Mike Burns).

v6.4.2

  • Fixed: Fix Rails 7.1.2 + monkey-patched ActiveRecord compatibility (Adif Sgaid, Benoit Tigeot)
  • Internal: Test against Rails 7.1 (y-yagi)
  • Internal: Fix links to old files after renaming the main branch to main (y-yagi)

6.4.0

No release notes provided.

6.3.0

  • Changed: reject sequence definitions for ActiveRecord primary keys (Sean Doyle).
  • Changed: factory_bot dependency to ~> 6.4 (Mike Burns).
  • Changed: upgrade dependencies (Daniel Colson).
  • Add: projections.json for Rails.vim (Caleb Hearth).
  • Docs: fix broken link (Edu Depetris).
  • Docs: mention Rails generator in docs (Edu Depetris).
  • Docs: fix typo (Yudai Takada).
  • Internal: skip Spring version 2.1.1 due to a bug in that release (Christina Entcheva, Daniel Colson).
  • Internal: test against Rails 6.1 (Antonis Berkakis).
  • Internal: test against Ruby 3 (Daniel Colson).
  • Internal: fewer warnings in Cucumber tests (Daniel Colson).
  • Internal: use GitHub Actions for CI (Mathieu Jobin).
  • Internal: a whole bunch of cleanup (Daniel Colson).
  • Internal: fix CI due to a Bundler output change (Mike Burns).
Changelog

Sourced from factory_bot_rails's changelog.

6.4.3 (December 29, 2023)

  • Changed: allow sequence definitions for ActiveRecord primary keys (Mike Burns).
  • Changed: Support Ruby 3.0+, Rails 6.1+ (Mike Burns)
  • Documentation improvements (obregonia1).
  • Internal: GitHub Actions improvements (Lorenzo Zabot, ydah).
  • Internal: RubyGems points to changelog (Tilo Sloboda).
  • Internal: Bump standard, rake, activerecord, appraisal, rspec-rails (Mike Burns).

6.4.2 (November 23, 2023)

  • Fixed: Fix Rails 7.1.2 + monkey-patched ActiveRecord compatibility (Adif Sgaid, Benoit Tigeot)
  • Internal: Test against Rails 7.1 (y-yagi)
  • Internal: Fix links to old files after renaming the main branch to main (y-yagi)

6.4.0 (November 17, 2023)

  • Releasing this for consistency with the factory_bot dependency.

6.3.0 (November 17, 2023)

  • Changed: reject sequence definitions for ActiveRecord primary keys (Sean Doyle).
  • Changed: factory_bot dependency to ~> 6.4 (Mike Burns).
  • Changed: upgrade dependencies (Daniel Colson).
  • Add: projections.json for Rails.vim (Caleb Hearth).
  • Docs: fix broken link (Edu Depetris).
  • Docs: mention Rails generator in docs (Edu Depetris).
  • Docs: fix typo (Yudai Takada).
  • Internal: skip Spring version 2.1.1 due to a bug in that release (Christina Entcheva, Daniel Colson).
  • Internal: test against Rails 6.1 (Antonis Berkakis).
  • Internal: test against Ruby 3 (Daniel Colson).
  • Internal: fewer warnings in Cucumber tests (Daniel Colson).
  • Internal: use GitHub Actions for CI (Mathieu Jobin).
  • Internal: a whole bunch of cleanup (Daniel Colson).
  • Internal: fix CI due to a Bundler output change (Mike Burns).
Commits
  • 6b350d1 Bump to 6.4.3 [ci skip]
  • d7d5ae8 Bump rspec-rails from 6.0.1 to 6.1.0
  • 4f13aa8 Bump appraisal from 2.4.1 to 2.5.0
  • ea1ff34 Bump activerecord from 7.0.4.3 to 7.1.2
  • 64a2188 Bump rake from 13.0.6 to 13.1.0
  • 43bba38 Bump standard from 1.27.0 to 1.32.1
  • 7be631f Allow primary key attributes
  • c4638f6 Remove code path for Rails 5.2 support
  • 499635f Be clear about supported Rails and Ruby versions
  • db1aae5 Added dependabot for GitHub Actions and bundler
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Feb 5, 2024
Bumps [factory_bot](https://github.com/thoughtbot/factory_bot) and [factory_bot_rails](https://github.com/thoughtbot/factory_bot_rails). These dependencies needed to be updated together.

Updates `factory_bot` from 6.2.1 to 6.4.6
- [Release notes](https://github.com/thoughtbot/factory_bot/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot/blob/main/NEWS.md)
- [Commits](thoughtbot/factory_bot@v6.2.1...v6.4.6)

Updates `factory_bot_rails` from 6.2.0 to 6.4.3
- [Release notes](https://github.com/thoughtbot/factory_bot_rails/releases)
- [Changelog](https://github.com/thoughtbot/factory_bot_rails/blob/main/NEWS.md)
- [Commits](thoughtbot/factory_bot_rails@v6.2.0...v6.4.3)

---
updated-dependencies:
- dependency-name: factory_bot
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: factory_bot_rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/factory_bot-and-factory_bot_rails-6.4.6 branch from 7a91080 to b9a1870 Compare February 5, 2024 16:54
@wwahammy
Copy link
Member

@dependabot rebase

@wwahammy wwahammy enabled auto-merge March 24, 2024 18:13
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 24, 2024

Dependabot can't resolve your Ruby dependency files. Because of this, Dependabot cannot update this pull request.

@wwahammy wwahammy disabled auto-merge March 24, 2024 19:11
@wwahammy
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 24, 2024

Dependabot can't resolve your Ruby dependency files. Because of this, Dependabot cannot update this pull request.

@wwahammy
Copy link
Member

@dependabot recreate

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 22, 2024

Dependabot can't resolve your Ruby dependency files. Because of this, Dependabot cannot update this pull request.

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.

None yet

1 participant