Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eagletmt/artificer
Simple fixture replacement
https://github.com/eagletmt/artificer
Last synced: 22 days ago
JSON representation
Simple fixture replacement
- Host: GitHub
- URL: https://github.com/eagletmt/artificer
- Owner: eagletmt
- License: mit
- Created: 2014-08-24T04:38:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-24T05:28:02.000Z (over 10 years ago)
- Last Synced: 2024-12-01T07:40:56.407Z (25 days ago)
- Language: Ruby
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Artificer
artificer is a simple fixture replacement.
Features and syntax are highly inspired by [machinist](https://github.com/notahat/machinist).## Features
- Creates a record from blueprint definition by `Model.make`
- Attributes can be overridden by `Model.make(name: 'foo')`.
- Loads blueprint definition lazily
- It's beneficial for applications which have so many models.## Installation
Add this line to your application's Gemfile:
gem 'artificer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install artificer
## Usage
TODO: Write usage instructions here
## Contributing
1. Fork it ( https://github.com/eagletmt/artificer/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request