sgviz 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5fb5e9336b59957898dee4d98ae5e9f25a04b49
4
- data.tar.gz: 38da4f2f906e141d05e4e99f01dfb11de18f1605
3
+ metadata.gz: b1446b7969d95f10106bd1970223998c926ee6e7
4
+ data.tar.gz: 898c0d8d36903a167dd113e4f3a81ad5c1437cfe
5
5
  SHA512:
6
- metadata.gz: 908045418f324d4094d2b69c681cf189235a8d3d9f5daf2fe9ed75291e12f16524cde17b78ccd0666778c8b2049e1ee47518ddead734975847e9127934b49461
7
- data.tar.gz: 2ebcda6849078ddca64d553a8467a06f7da75d53148a764fea7d23288d8bfa00b6ff3a55220d6ba92563404ac7147e35bbad7ab8dfc870ac94a7f9721b2e2af2
6
+ metadata.gz: 975a5b7ba5234ac1af2aa46c3630e27aeca777056461d1371ded6642092811c4daee978a08cb1a2d805a5ad157a6f626e93053e7e6eb6d93275d34ab3cf65d15
7
+ data.tar.gz: 6d6d71a4df26278658de09cb05a7abed411a81f4227d479e2b55e05588ed763eb27e00e36681e57a1d8ca466c1114529417173a49a40d070b273fb7302f44c34
data/README.md CHANGED
@@ -22,6 +22,12 @@ Or install it yourself as:
22
22
  $ gem install sgviz
23
23
  ```
24
24
 
25
+ Graphviz is required to generate graphs.
26
+
27
+ ```bash
28
+ $ brew install graphviz
29
+ ```
30
+
25
31
  ## Usage
26
32
 
27
33
  ```bash
@@ -50,8 +56,11 @@ Or use [Kumogata](https://github.com/winebarrel/kumogata), powerful Ruby-CFn int
50
56
  $ kumogata create docs/cfn/example.rb example
51
57
  ```
52
58
 
59
+ Or use [cloudformation-ruby-dsl](https://github.com/bazaarvoice/cloudformation-ruby-dsl), another powerful CloudFormation templating tool.
60
+
53
61
  ## TODO, Known Bugs
54
62
 
63
+ * **Rebuild**
55
64
  * Bug: Problem with outbound edges (duplicate with inbound?).
56
65
  * TODO: Internal IP address nodes.
57
66
  * TODO: VPC Peerings.
@@ -53,9 +53,9 @@ class Sgviz::Generator < Gviz
53
53
  shape: "circle",
54
54
  width: 1.5
55
55
 
56
- subgraph :"cluster#{vpc_id[4..-1]}" do
56
+ subgraph :"cluster#{vpc_id ? vpc_id[4..-1] : 'ec2_classic'}" do
57
57
  global(
58
- label: vpc_id,
58
+ label: vpc_id ? vpc_id : 'EC2-Classic',
59
59
  labelloc: "b",
60
60
  style: "rounded",
61
61
  color: "#999999",
@@ -1,3 +1,3 @@
1
1
  module Sgviz
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sgviz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - y13i
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-02 00:00:00.000000000 Z
11
+ date: 2016-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  version: '0'
182
182
  requirements: []
183
183
  rubyforge_project:
184
- rubygems_version: 2.4.5
184
+ rubygems_version: 2.5.1
185
185
  signing_key:
186
186
  specification_version: 4
187
187
  summary: Visualize VPC Security Groups.