Skip to content

Commit

Permalink
Bump version to v6.0.0 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
composerinteralia committed Jun 19, 2020
1 parent 69ec70b commit aecc8a8
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 7 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 (5.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.0)

GEM
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# News

## 6.0.0 (June 18, 2020)
* Added: automatic definition of traits for Active Record enum attributes, enabled by default
* Added: `traits_for_enum` method to define traits for non-Active Record enums
* Added: `build_stubbed_starting_id=` option to define the starting id for `build_stubbed`
* Removed: deprecated methods on the top-level `FactoryBot` module meant only for internal use
* Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)

## 5.2.0 (April 24, 2020)
* Added: Pass index to block for `*_list` methods
* Deprecated: methods on the top-level `FactoryBot` module meant only for internal use: `callbacks`, `configuration`, `constructor`, `initialize_with`, `register_sequence`, `resent_configuration`, `skip_create`, `to_create`
Expand Down
3 changes: 2 additions & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Releasing

1. Update version file accordingly and run `bundle install` to update the
Gemfile.lock.
Gemfile.lock and `bundle exec appraisal install` to update the Appraisal
gemfile.lock files.
1. Update `NEWS.md` to reflect the changes since last release.
1. Commit changes.
There shouldn't be code changes,
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 (5.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.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 (5.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.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 (5.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.0)

GEM
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/6.0.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
factory_bot (5.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.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 = "5.2.0".freeze
VERSION = "6.0.0".freeze
end

0 comments on commit aecc8a8

Please sign in to comment.