Update factory_bot: 5.0.2 → 5.1.0 (minor) #100
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ factory_bot (5.0.2 → 5.1.0) · Repo · Changelog
Release Notes
5.1.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
Bump version to 5.1.0 [ci skip]
Fix self referencing trait error (#1294)
Test against Rails 6.0.0
Use temporary assignment helper to silence deprecations in specs
Adjust use_parent_strategy safely in specs
Appraise ActiveRecord 6.0.0.rc2
Avoid time travel in tests
Switch from TimeCop to ActiveSupport::Testing::TimeHelpers
Use sqlite in-memory DB in specs
Fix Markdown Syntax in GETTING STARTED.md
Avoid stubbing id for records without primary key
Refactor define constant macros
Update yard from 0.9.19 to 0.9.20
Bump all dev and test dependencies
Add basic AR setup to reproduction script
Add issue template [ci skip]
Mark as code for association strategy
Deprecate/Move strategies and callback methods
Deprecate and move to Internal factories methods
Deprecate and move to Internal sequence methods
Add useful tools section to README
Move and deprecate trait methods from FactoryBot
Name first arg of DefinitionProxy#method_missing
Improve error for static attribute attempts
Offer advice for association typo
Test against latest versions of Rails
Use GH URLs in the README
Use GH to show the GETTING_STARTED
Don't rely on DatabaseCleaner for the rake task (#1283)
adjust style
Stackoverflow redirect to the new tag name
Add setup comment (#1277)
Only undefine methods that were previously defined
fix missing curly braces in GETTING_STARTED.md
Code style consistency for Polymorphic association (#1273)
Fix Markdown formatting
Release Notes
2.1.10 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
version 2.1.10
Merge branch 'Shopify-handle-invalid-constant-names'
explicit begin/rescue & tweaks
Better error for invalid constant names
do not mention preloads in the README
fixes signature of real_mod_name
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands