percheron 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b678eef204ffac98f7d6acd4a3662d4a63cb84f1
4
- data.tar.gz: ba9c1ed0a6d2ac94227f68358fe375be5223e211
3
+ metadata.gz: 5db1637bb10e489db21618c3d4da9388fba7e3d1
4
+ data.tar.gz: a803511fcf59896f5bbd1259738719ef2fefbed9
5
5
  SHA512:
6
- metadata.gz: 688ffbead7b0363bf147ad733a8753f30208a317cb5c3fb64740edaeba024aa79ded4a29c7a02d962edae4c66530bca27a809b2df393e4ca740ab2e5418282a1
7
- data.tar.gz: 50b5c69bed848d0498f7630e6e220ce26ce8aabb078c9a1cde09eab41ec9518c91d11e85e305bb85429d9f107bc65ce8eec9e55ea55cc72102540a90a3b6fbbe
6
+ metadata.gz: 35e9ceba99e2d3efdc0a185d5b3b1f8b4db728c3b679e6e26ee8e6eecac851963f04d5015d20b5e9aecd7bf36559b3e68df2314a5c28272d00080de372581c96
7
+ data.tar.gz: da8ca876fca68c69fe0664676f079f13dcb8de3dcde61afaa957dffb7cabc8616a948b8689edd44b5644e11ff3d1f56beabe9cd11279ea15aaa04a52c453ff0e
data/README.md CHANGED
@@ -108,6 +108,12 @@ dig @boot2docker -p 8600 agent2.node.consul +short
108
108
 
109
109
  ## Dependancy graph
110
110
 
111
+ Note: Requires [Graphviz](http://graphviz.org/) installed.
112
+
113
+ ```bash
114
+ percheron graph consul-stack
115
+ ```
116
+
111
117
  ![consul-stack](https://raw.githubusercontent.com/ashmckenzie/percheron-consul/master/assets/stack.png)
112
118
 
113
119
  ## Demo
@@ -65,8 +65,8 @@ module Percheron
65
65
 
66
66
  def create_cluster(unit)
67
67
  return nil if graphs[unit.pseudo_name]
68
- opts = 'cluster%s' % graphs.keys.count, cluster_opts(unit)
69
- graphs[unit.pseudo_name] = graph.add_graph(opts)
68
+ name = 'cluster%s' % graphs.keys.count
69
+ graphs[unit.pseudo_name] = graph.add_graph(name, cluster_opts(unit))
70
70
  end
71
71
 
72
72
  def cluster_opts(unit)
@@ -1,3 +1,3 @@
1
1
  module Percheron
2
- VERSION = '0.7.9'
2
+ VERSION = '0.7.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percheron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ash McKenzie