Skip to content

Commit

Permalink
Bump version to 5.0.0.rc1 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
composerinteralia committed Jan 6, 2019
1 parent 892c093 commit e3c65b1
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)

GEM
Expand Down
17 changes: 17 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 3 additions & 2 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/4.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/5.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/5.1.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/5.2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (4.11.1)
factory_bot (5.0.0.rc1)
activesupport (>= 4.2.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion lib/factory_bot/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module FactoryBot
VERSION = "4.11.1".freeze
VERSION = "5.0.0.rc1".freeze
end

0 comments on commit e3c65b1

Please sign in to comment.