Skip to content

Commit

Permalink
Bump v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
nepalez committed May 22, 2019
1 parent 20e8b05 commit b870c34
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.0.4] - [2018-05-22]

### Added

- The `:count` option for a number of objects to seed at once (nepalez)

```yaml
# Seed 3 customers
---
- type: user
count: 3
traits:
- customer
```
## [0.0.3] - [2018-05-04]
### Added
Expand Down Expand Up @@ -52,3 +67,4 @@ This is a first public release with features extracted from production app.
[0.0.1]: https://github.com/nepalez/fixturama/releases/tag/v0.0.1
[0.0.2]: https://github.com/nepalez/fixturama/compare/v0.0.1...v0.0.2
[0.0.3]: https://github.com/nepalez/fixturama/compare/v0.0.2...v0.0.3
[0.0.4]: https://github.com/nepalez/fixturama/compare/v0.0.3...v0.0.4
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ The seed (`seed_fixture`) file should be a YAML/JSON with opinionated parameters
# ./database.yml
#
# This is the same as
# `create :profile, :active, id: profile_id`
# `create_list :profile, 1, :active, id: profile_id`
---
- type: profile
traits:
Expand All @@ -88,6 +88,8 @@ The seed (`seed_fixture`) file should be a YAML/JSON with opinionated parameters
id: <%= profile_id %>
```
Use the `count: 2` key to create more objects at once.

Another opinionated format we use for stubs (`stub_fixture`):

- `class` for stubbed class
Expand Down
2 changes: 1 addition & 1 deletion fixturama.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |gem|
gem.name = "fixturama"
gem.version = "0.0.3"
gem.version = "0.0.4"
gem.author = "Andrew Kozin (nepalez)"
gem.email = "[email protected]"
gem.homepage = "https://github.com/nepalez/fixturama"
Expand Down

0 comments on commit b870c34

Please sign in to comment.