Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 .simplecov
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Guardfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 diaspora-cluster-creator.gemspec
README.md

Diaspora::Cluster::Creator

Build Status

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

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
Something went wrong with that request. Please try again.