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 bfee5d8 commit 8f17a63
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
factory_bot_rails (5.1.1)
factory_bot (~> 5.1.0)
factory_bot_rails (6.0.0)
factory_bot (~> 6.0.0)
railties (>= 5.0.0)

GEM
Expand Down Expand Up @@ -52,8 +52,8 @@ GEM
multi_test (>= 0.1.2)
diff-lcs (1.3)
erubi (1.9.0)
factory_bot (5.1.2)
activesupport (>= 4.2.0)
factory_bot (6.0.0)
activesupport (>= 5.0.0)
ffi (1.12.2)
ffi (1.12.2-java)
gherkin (2.12.2)
Expand Down
27 changes: 25 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,37 @@
factory_bot_rails versioning is synced with factory_bot releases. For this reason
factory\_bot\_rails versioning is synced with factory\_bot releases. For this reason
there might not be any notable changes in new versions of this project.

# NEWS

## 6.0.0 (June 18, 2020)

* Fixed: generate a plural factory name when the --force-plural flag is provided
* Changed: factory\_bot dependency to ~> 6.0.0
* Removed: `"factory_bot.register_reloader"` initializer, now registering the
reloader after application initialization
* Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)

## 5.1.1 (September 24, 2019)

* Fixed: Ensure definitions do not load before I18n is initialized

## 5.1.0 (September 24, 2019)
* Changed: factory_bot dependency to ~> 5.1.0

* Changed: factory\_bot dependency to ~> 5.1.0

## 5.0.2 (April 14, 2019)

* Bugfix: Reload factory\_bot whenever the application changes to avoid holding
onto stale object references
* Bugfix: Avoid watching project root when no factory definitions exist

## 5.0.1 (February 9, 2019)

* Bugfix: Avoid watching files and directories that don't exist (to avoid a
file watching bug in Rails https://github.com/rails/rails/issues/32700)

## 5.0.0 (February 1, 2019)

* Added: calling reload! in the Rails console will reload any factory definition files that have changed
* Added: support for custom generator templates
* Added: `definition_file_paths` configuration option, making it easier to place factories in custom locations
Expand All @@ -27,35 +40,45 @@ there might not be any notable changes in new versions of this project.
* Removed: support for EOL version of Ruby and Rails

## 4.11.1 (September 7, 2018)

* Update generator to use dynamic attributes instead of deprecated static attributes

## 4.11.0 (August 16, 2018)

* No notable changes

## 4.10.0 (May 25, 2018)

* No notable changes

## 4.8.2 (October 20, 2017)

* Rename factory\_girl\_rails to factory\_bot\_rails

## 4.7.0 (April 1, 2016)

* No notable changes

## 4.6.0 (February 1, 2016)

* No notable changes

## 4.5.0 (October 17, 2014)

* Improved README

## 4.4.1 (February 26, 2014)

* Support Spring

## 4.2.1 (February 8, 2013)

* Fix bug when configuring FG and RSpec fixture directory
* Remove debugging
* Require factory\_girl\_rails explicitly in generator

## 4.2.0 (January 25, 2013)

* Add appraisal and get test suite working reliably with turn gem
* Support MiniTest
* Allow a custom directory for factories to be specified
4 changes: 2 additions & 2 deletions factory_bot_rails.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = "factory_bot_rails"
s.version = "5.1.1"
s.version = "6.0.0"
s.authors = ["Joe Ferris"]
s.email = "jferris@thoughtbot.com"
s.homepage = "https://github.com/thoughtbot/factory_bot_rails"
Expand All @@ -14,6 +14,6 @@ Gem::Specification.new do |s|
s.executables = []
s.license = "MIT"

s.add_runtime_dependency("factory_bot", "~> 5.1.0")
s.add_runtime_dependency("factory_bot", "~> 6.0.0")
s.add_runtime_dependency("railties", ">= 5.0.0")
end

0 comments on commit 8f17a63

Please sign in to comment.