Skip to content

Commit

Permalink
Bump version to 5.0.2 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
composerinteralia committed Apr 14, 2019
1 parent c1d0a78 commit 584a96f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PATH
remote: .
specs:
factory_bot_rails (5.0.1)
factory_bot (~> 5.0.0)
factory_bot_rails (5.0.2)
factory_bot (~> 5.0.2)
railties (>= 4.2.0)

GEM
Expand Down Expand Up @@ -72,7 +72,7 @@ GEM
diff-lcs (1.3)
erubi (1.7.1)
execjs (2.7.0)
factory_bot (5.0.0)
factory_bot (5.0.2)
activesupport (>= 4.2.0)
ffi (1.9.25)
ffi (1.9.25-java)
Expand Down
11 changes: 8 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ there might not be any notable changes in new versions of this project.

# NEWS

## 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
* Added: `definition_file_paths` configuration option, making it easier to place factories in custom locations
* Changed: namespaced models are now generated inside a directory matching the namespace
* Changed: added newline between factories generated into the same file
* Removed: support for EOL version of Ruby and Rails
Expand All @@ -25,7 +30,7 @@ there might not be any notable changes in new versions of this project.
* No notable changes

## 4.8.2 (October 20, 2017)
* Rename factory_girl_rails to factory_bot_rails
* Rename factory\_girl\_rails to factory\_bot\_rails

## 4.7.0 (April 1, 2016)
* No notable changes
Expand All @@ -42,7 +47,7 @@ there might not be any notable changes in new versions of this project.
## 4.2.1 (February 8, 2013)
* Fix bug when configuring FG and RSpec fixture directory
* Remove debugging
* Require factory_girl_rails explicitly in generator
* Require factory\_girl\_rails explicitly in generator

## 4.2.0 (January 25, 2013)
* Add appraisal and get test suite working reliably with turn gem
Expand Down
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.0.1"
s.version = "5.0.2"
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.0.0")
s.add_runtime_dependency("factory_bot", "~> 5.0.2")
s.add_runtime_dependency("railties", ">= 4.2.0")
end

0 comments on commit 584a96f

Please sign in to comment.