Skip to content

Commit

Permalink
Bump version to 5.0.0.rc1 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
composerinteralia committed Jan 6, 2019
1 parent ab8ed30 commit 75806f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 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_rails (4.11.1)
factory_bot_rails (5.0.0.rc1)
factory_bot (~> 5.0.0.rc1)
railties (>= 4.2.0)

Expand Down
8 changes: 8 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
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.

5.0.0
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
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

4.11.1 (September 7, 2018)
Update generator to use dynamic attributes instead of deprecated static attributes

Expand Down
7 changes: 4 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Releasing

1. Update the version in the gemspec (and the factory_bot version, if necessary)
1. Update the version in the gemspec (and the factory\_bot version, if necessary)
and run `bundle install`
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`
1. Push changes: `git push && git push --tags`
1. Build and publish:
```bash
gem build factory_bot_rails.gemspec
Expand Down
2 changes: 1 addition & 1 deletion 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 = "4.11.1"
s.version = "5.0.0.rc1"
s.authors = ["Joe Ferris"]
s.email = "[email protected]"
s.homepage = "https://github.com/thoughtbot/factory_bot_rails"
Expand Down

0 comments on commit 75806f3

Please sign in to comment.