Bump version to 5.0.0.rc1 [skip ci]

This commit is contained in:
Daniel Colson 2019-01-05 22:00:45 -05:00
parent 892c09375d
commit e3c65b197c
No known key found for this signature in database
GPG Key ID: 88A364BBE77B1353
8 changed files with 26 additions and 8 deletions

View File

@ -1,7 +1,7 @@
PATH
remote: .
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)
GEM

17
NEWS
View File

@ -1,3 +1,20 @@
5.0.0
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

View File

@ -1,11 +1,12 @@
# Releasing
1. Update version file accordingly.
1. Update version file accordingly and run `bundle install` to update the
Gemfile.lock.
1. Update `NEWS.md` to reflect the changes since last release.
1. Commit changes.
There shouldn't be code changes,
and thus CI doesn't need to run,
you can then add "[ci skip]" to the commit message.
so you can add "[ci skip]" to the commit message.
1. Tag the release: `git tag -s vVERSION`
- We recommend the [_quick guide on how to sign a release_] from git ready.
1. Push changes: `git push --tags`

View File

@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)
GEM

View File

@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)
GEM

View File

@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)
GEM

View File

@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)
GEM

View File

@ -1,3 +1,3 @@
module FactoryBot
VERSION = "4.11.1".freeze
VERSION = "5.0.0.rc1".freeze
end