Skip to content

Commit 8f17a63

Browse files
Bump version to v6.0.0 [ci skip]
1 parent bfee5d8 commit 8f17a63

3 files changed

Lines changed: 31 additions & 8 deletions

File tree

Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PATH
22
remote: .
33
specs:
4-
factory_bot_rails (5.1.1)
5-
factory_bot (~> 5.1.0)
4+
factory_bot_rails (6.0.0)
5+
factory_bot (~> 6.0.0)
66
railties (>= 5.0.0)
77

88
GEM
@@ -52,8 +52,8 @@ GEM
5252
multi_test (>= 0.1.2)
5353
diff-lcs (1.3)
5454
erubi (1.9.0)
55-
factory_bot (5.1.2)
56-
activesupport (>= 4.2.0)
55+
factory_bot (6.0.0)
56+
activesupport (>= 5.0.0)
5757
ffi (1.12.2)
5858
ffi (1.12.2-java)
5959
gherkin (2.12.2)

NEWS.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,37 @@
1-
factory_bot_rails versioning is synced with factory_bot releases. For this reason
1+
factory\_bot\_rails versioning is synced with factory\_bot releases. For this reason
22
there might not be any notable changes in new versions of this project.
33

44
# NEWS
55

6+
## 6.0.0 (June 18, 2020)
7+
8+
* Fixed: generate a plural factory name when the --force-plural flag is provided
9+
* Changed: factory\_bot dependency to ~> 6.0.0
10+
* Removed: `"factory_bot.register_reloader"` initializer, now registering the
11+
reloader after application initialization
12+
* Removed: support for EOL versions of Ruby (2.3, 2.4) and Rails (4.2)
13+
614
## 5.1.1 (September 24, 2019)
15+
716
* Fixed: Ensure definitions do not load before I18n is initialized
817

918
## 5.1.0 (September 24, 2019)
10-
* Changed: factory_bot dependency to ~> 5.1.0
19+
20+
* Changed: factory\_bot dependency to ~> 5.1.0
1121

1222
## 5.0.2 (April 14, 2019)
23+
1324
* Bugfix: Reload factory\_bot whenever the application changes to avoid holding
1425
onto stale object references
1526
* Bugfix: Avoid watching project root when no factory definitions exist
1627

1728
## 5.0.1 (February 9, 2019)
29+
1830
* Bugfix: Avoid watching files and directories that don't exist (to avoid a
1931
file watching bug in Rails https://github.com/rails/rails/issues/32700)
2032

2133
## 5.0.0 (February 1, 2019)
34+
2235
* Added: calling reload! in the Rails console will reload any factory definition files that have changed
2336
* Added: support for custom generator templates
2437
* Added: `definition_file_paths` configuration option, making it easier to place factories in custom locations
@@ -27,35 +40,45 @@ there might not be any notable changes in new versions of this project.
2740
* Removed: support for EOL version of Ruby and Rails
2841

2942
## 4.11.1 (September 7, 2018)
43+
3044
* Update generator to use dynamic attributes instead of deprecated static attributes
3145

3246
## 4.11.0 (August 16, 2018)
47+
3348
* No notable changes
3449

3550
## 4.10.0 (May 25, 2018)
51+
3652
* No notable changes
3753

3854
## 4.8.2 (October 20, 2017)
55+
3956
* Rename factory\_girl\_rails to factory\_bot\_rails
4057

4158
## 4.7.0 (April 1, 2016)
59+
4260
* No notable changes
4361

4462
## 4.6.0 (February 1, 2016)
63+
4564
* No notable changes
4665

4766
## 4.5.0 (October 17, 2014)
67+
4868
* Improved README
4969

5070
## 4.4.1 (February 26, 2014)
71+
5172
* Support Spring
5273

5374
## 4.2.1 (February 8, 2013)
75+
5476
* Fix bug when configuring FG and RSpec fixture directory
5577
* Remove debugging
5678
* Require factory\_girl\_rails explicitly in generator
5779

5880
## 4.2.0 (January 25, 2013)
81+
5982
* Add appraisal and get test suite working reliably with turn gem
6083
* Support MiniTest
6184
* Allow a custom directory for factories to be specified

factory_bot_rails.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = "factory_bot_rails"
3-
s.version = "5.1.1"
3+
s.version = "6.0.0"
44
s.authors = ["Joe Ferris"]
55
s.email = "jferris@thoughtbot.com"
66
s.homepage = "https://github.com/thoughtbot/factory_bot_rails"
@@ -14,6 +14,6 @@ Gem::Specification.new do |s|
1414
s.executables = []
1515
s.license = "MIT"
1616

17-
s.add_runtime_dependency("factory_bot", "~> 5.1.0")
17+
s.add_runtime_dependency("factory_bot", "~> 6.0.0")
1818
s.add_runtime_dependency("railties", ">= 5.0.0")
1919
end

0 commit comments

Comments
 (0)