Created by: dependabot-preview[bot]
Bumps factory_bot_rails from 4.11.1 to 5.0.2.
Release notes
Sourced from factory_bot_rails's releases.
v5.0.2
- Bugfix: Reload factory_bot whenever the application changes to avoid holding onto stale object references
- Bugfix: Avoid watching project root when no factory definitions exist
v5.0.1
Bugfix: Avoid watching files and directories that don't exist (to avoid a file watching bug in Rails https://github-redirect.dependabot.com/rails/rails/issues/32700). Thanks to @y-yagi for this fix!
v5.0.0
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added: definition_file_paths configuration option, making it easier to place factories in custom locations
- Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
v5.0.0.rc2
No release notes provided.
v5.0.0.rc1
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added: definition_file_paths configuration option, making it easier to place factories in custom locations
- Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
Changelog
Sourced from factory_bot_rails's changelog.
5.0.2 (April 14, 2019)
- Bugfix: Reload factory_bot whenever the application changes to avoid holding onto stale object references
- Bugfix: Avoid watching project root when no factory definitions exist
5.0.1 (February 9, 2019)
- Bugfix: Avoid watching files and directories that don't exist (to avoid a file watching bug in Rails https://github-redirect.dependabot.com/rails/rails/issues/32700)
5.0.0 (February 1, 2019)
- Added: calling reload! in the Rails console will reload any factory definition files that have changed
- Added: support for custom generator templates
- Added:
definition_file_pathsconfiguration option, making it easier to place factories in custom locations- Changed: namespaced models are now generated inside a directory matching the namespace
- Changed: added newline between factories generated into the same file
- Removed: support for EOL version of Ruby and Rails
Commits
-
329d9a1Fix filename in gemspec -
584a96fBump version to 5.0.2 [ci skip] -
c1d0a78Add back loading definitions in after_initialize -
9b83f48Do not register a reloader when file paths not exist -
2b7bca0Test more realistic scenario for 3rd-party engine -
dcfc9f6Always execute a reload when Rails triggers one (instead of just on update) t... -
0b24977Write a failing test for reloading with Spring (#330) -
8c09393Test against rails 6.0 -
81cd146Use lists for changes -
2b4d475chore: update readme misspelling - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot ignore this [patch|minor|major] versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill 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)
- 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.