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 +4 -4
- data/README.md +9 -0
- data/lib/sgviz/generator.rb +2 -2
- data/lib/sgviz/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1446b7969d95f10106bd1970223998c926ee6e7
|
|
4
|
+
data.tar.gz: 898c0d8d36903a167dd113e4f3a81ad5c1437cfe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
data/lib/sgviz/generator.rb
CHANGED
|
@@ -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",
|
data/lib/sgviz/version.rb
CHANGED
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.
|
|
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:
|
|
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.
|
|
184
|
+
rubygems_version: 2.5.1
|
|
185
185
|
signing_key:
|
|
186
186
|
specification_version: 4
|
|
187
187
|
summary: Visualize VPC Security Groups.
|