From e3c65b197c197ed6d39ba9dbddd6de5237cb1d9e Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Sat, 5 Jan 2019 22:00:45 -0500 Subject: [PATCH] Bump version to 5.0.0.rc1 [skip ci] --- Gemfile.lock | 2 +- NEWS | 17 +++++++++++++++++ RELEASING.md | 5 +++-- gemfiles/4.2.gemfile.lock | 2 +- gemfiles/5.0.gemfile.lock | 2 +- gemfiles/5.1.gemfile.lock | 2 +- gemfiles/5.2.gemfile.lock | 2 +- lib/factory_bot/version.rb | 2 +- 8 files changed, 26 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0e09efb..aab97a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - factory_bot (4.11.1) + factory_bot (5.0.0.rc1) activesupport (>= 4.2.0) GEM diff --git a/NEWS b/NEWS index 892e344..e8bdafc 100644 --- a/NEWS +++ b/NEWS @@ -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 diff --git a/RELEASING.md b/RELEASING.md index fb86103..71105e5 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -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` diff --git a/gemfiles/4.2.gemfile.lock b/gemfiles/4.2.gemfile.lock index e29d28d..dd9cd05 100644 --- a/gemfiles/4.2.gemfile.lock +++ b/gemfiles/4.2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (4.11.1) + factory_bot (5.0.0.rc1) activesupport (>= 4.2.0) GEM diff --git a/gemfiles/5.0.gemfile.lock b/gemfiles/5.0.gemfile.lock index cc8b7da..981e308 100644 --- a/gemfiles/5.0.gemfile.lock +++ b/gemfiles/5.0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (4.11.1) + factory_bot (5.0.0.rc1) activesupport (>= 4.2.0) GEM diff --git a/gemfiles/5.1.gemfile.lock b/gemfiles/5.1.gemfile.lock index 81f7e7d..8f09a38 100644 --- a/gemfiles/5.1.gemfile.lock +++ b/gemfiles/5.1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (4.11.1) + factory_bot (5.0.0.rc1) activesupport (>= 4.2.0) GEM diff --git a/gemfiles/5.2.gemfile.lock b/gemfiles/5.2.gemfile.lock index 3ffb5d1..d4f0f80 100644 --- a/gemfiles/5.2.gemfile.lock +++ b/gemfiles/5.2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - factory_bot (4.11.1) + factory_bot (5.0.0.rc1) activesupport (>= 4.2.0) GEM diff --git a/lib/factory_bot/version.rb b/lib/factory_bot/version.rb index 90077a8..7f36c35 100644 --- a/lib/factory_bot/version.rb +++ b/lib/factory_bot/version.rb @@ -1,3 +1,3 @@ module FactoryBot - VERSION = "4.11.1".freeze + VERSION = "5.0.0.rc1".freeze end