aws-inventory 0.3.1 → 0.3.2

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: e6ff7b0b1ed3072711ce24784770a6f105f33107
4
- data.tar.gz: b36139703667195d8b14c0fa2fc786e6006ec53b
3
+ metadata.gz: 56114355825607b44e16c18622cc14ebd3299125
4
+ data.tar.gz: ca791b7049a3730a48a78c564f81e6c504a98478
5
5
  SHA512:
6
- metadata.gz: dcf16a41f945d6d3f11932ca9c2acd9584bb1ede6527e277728537f72923f7b1f410fa0828140741f5ef33ea47aae281a2b5d77600a200c8c0654d8655dbe3d8
7
- data.tar.gz: eea11e513d1f9b8155d542d2da738de54f9a32e4498a60022d01b8d7a6777ce3ed2698cbd6b2272f61dc70a906b8011b3312c0d71794a26aa509d7971a18d0f2
6
+ metadata.gz: 6e6937bb56c6932800a12e0743b8e754ebfdbcf56244555a609c8927c18afb8ff42cfdca1ff68147ba7c1aa7035a2e55a47671ab3302839e56c6d52babfe2f24
7
+ data.tar.gz: 876c43d029a48afef75847e3306a987a0fd7c01f6c8bdc1384b1b39f761cb771cc24380c78aa6f0e2da337d1540f10b0c1c10fbff1b3c1d4aa2a7a635379615f
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [0.3.2]
7
+ * fix unused security group report
8
+
6
9
  ## [0.3.1]
7
10
  * add json presenter
8
11
  * add unused security group report
@@ -3,12 +3,15 @@ class Inventory::SecurityGroup
3
3
  include Shared
4
4
 
5
5
  def header
6
- ["Security Group Name"]
6
+ ["Security Group Name", "VPC Id"]
7
7
  end
8
8
 
9
9
  def data
10
- used_security_groups.map do |sg|
11
- sg.group_name
10
+ unused_security_groups.map do |sg|
11
+ [
12
+ sg.group_name,
13
+ sg.vpc_id
14
+ ]
12
15
  end
13
16
  end
14
17
  end
@@ -1,3 +1,3 @@
1
1
  module Inventory
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-inventory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen