Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jstriebel/wercker-step-rails-mongoid-yml
This wercker step generates a config/mongoid.yml for mongoid.
https://github.com/jstriebel/wercker-step-rails-mongoid-yml
Last synced: about 1 month ago
JSON representation
This wercker step generates a config/mongoid.yml for mongoid.
- Host: GitHub
- URL: https://github.com/jstriebel/wercker-step-rails-mongoid-yml
- Owner: jstriebel
- License: mit
- Created: 2015-06-26T15:39:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-03T07:48:51.000Z (over 9 years ago)
- Last Synced: 2023-03-01T04:47:09.450Z (over 1 year ago)
- Language: Shell
- Homepage: https://app.wercker.com/#applications/558d76b94fea05eb7a022ade
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Rails mongoid.yml
This [wercker step](http://devcenter.wercker.com/docs/steps) generates a `config/mongoid.yml` for [mongoid](http://mongoid.org).
[![wercker status](https://app.wercker.com/status/0f970597f3b22cab6008a3ab598114e3/s/master "wercker status")](https://app.wercker.com/project/bykey/0f970597f3b22cab6008a3ab598114e3)
## Example
```yml
box: ruby
services:
- mongo
build:
steps:
- rails-mongoid-yml:
db_name: my_app_test
```## Options
- `db_name`
(optinal, default: `mongoid`)
This option is not required. If set, it will name the database accordingly.## Details
You should use this along with the mongo service.
Have a look at the [services documentation](http://devcenter.wercker.com/docs/services) for more information.## License
MIT License (MIT)