Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremyf/diaspora-cluster-creator
https://github.com/jeremyf/diaspora-cluster-creator
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeremyf/diaspora-cluster-creator
- Owner: jeremyf
- License: mit
- Created: 2012-04-10T21:46:52.000Z (over 12 years ago)
- Default Branch: trunk
- Last Pushed: 2020-06-13T18:11:08.000Z (over 4 years ago)
- Last Synced: 2024-10-14T19:43:07.340Z (3 months ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diaspora::Cluster::Creator
[![Build Status](https://secure.travis-ci.org/jeremyf/diaspora-cluster-creator.png)](http://travis-ci.org/jeremyf/diaspora-cluster-creator)
Thus far, this is an over-engineered solution that does very little.
I'm using it as a means of pushing out my understanding of cucumber and
fast unit tests.## Installation
You will need to install [Graphviz](http://graphviz.org)
Add this line to your application's Gemfile:
gem 'diaspora-cluster-creator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install diaspora-cluster-creator
## Usage
Once installed you can ask diaspora-cluster for help
$ diaspora-cluster -h
Or request the defaults
$ diaspora-cluster
Or you can specify names
$ diaspora-cluster names="Sparta [T2 E1 R3], Athens [T-2], Corinth [R3 T2 E1], Ephesus, Rhodes [T4]"
Or perhaps you prefer a PNG
$ diaspora-cluster filename=output.png names="Sparta [T2 E1 R3], Athens [T-2], Corinth [R3 T2 E1], Ephesus, Rhodes [T4]"
Take a look at /features/command_line.feature for better definitions.## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request