aws-inventory 0.4.0 → 0.4.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: 499ffb69b91d22febfa998f60dbcae85addfb9f8
4
- data.tar.gz: 2a834b23c194b0dddbaa45c7192aea4e5d3fb014
3
+ metadata.gz: ddf2d81ae755cef42708352f2ff90d1aa939313c
4
+ data.tar.gz: a55cb8f7ae1aeaddd46b94569a9b0c3a8e054ffc
5
5
  SHA512:
6
- metadata.gz: 53a9f593124dc37d879df905fbca16c3cffcf73e5fe1d26dd757bb48b92e65523b6213711d7017b36bcfe2f3f4dbf92fa6266db7fb280fa1e5c3d84c95d9630b
7
- data.tar.gz: f100bc493a36ece7b2ba49039fcd2313de01616f028d71778028187b19472208e734f470df6e720facdea743b6da36c25f4d1fa027ae66dfcf0cbe25181c31ed
6
+ metadata.gz: 72aaff05c6cf39d6abc233757338c0311e234d696a2e413c152c930d78201ba3acdd298c8bda86b54c482e1f29375f102c4921f5c50c64bd75481b35baec116b
7
+ data.tar.gz: 1b317e030f213585ef8ca8093fe843a2f1754fc9b99eacf122c70248061cd64088552000fa44266b9812acfddc0cff18049ee6d27666128b6fd3360b5eb36406
@@ -3,6 +3,12 @@
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.4.2]
7
+ * sg unused report prints out group_id instead of vpc_id
8
+
9
+ ## [0.4.1]
10
+ * rename: require "aws-inventory"
11
+
6
12
  ## [0.4.0]
7
13
  * rename Inventory module to AwsInventory
8
14
  * add --no-header support
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aws-inventory (0.3.2)
4
+ aws-inventory (0.4.0)
5
5
  actionview
6
6
  activesupport
7
7
  aws-sdk
@@ -324,7 +324,7 @@ GEM
324
324
  aws-sdk-pricing (1.0.0)
325
325
  aws-sdk-core (~> 3)
326
326
  aws-sigv4 (~> 1.0)
327
- aws-sdk-rds (1.8.0)
327
+ aws-sdk-rds (1.9.0)
328
328
  aws-sdk-core (~> 3)
329
329
  aws-sigv4 (~> 1.0)
330
330
  aws-sdk-redshift (1.1.0)
@@ -600,7 +600,7 @@ GEM
600
600
  lumberjack (1.0.12)
601
601
  method_source (0.9.0)
602
602
  mini_portile2 (2.3.0)
603
- minitest (5.11.0)
603
+ minitest (5.11.1)
604
604
  nenv (0.3.0)
605
605
  nokogiri (1.8.1)
606
606
  mini_portile2 (~> 2.3.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # AWS AwsInventory
1
+ # AWS Inventory
2
2
 
3
- AWS AwsInventory tool. Useful to get summarized information on AWS account. The tool by default produces a report that can easily be read from a terminal, but it can also be used produce a tab separated output report that can be pasted into a spreadsheet and then copied to a report. This is controlled via a `AWS_INVENTORY_FORMAT` env variable and covered in the Format Options section.
3
+ AWS Inventory tool. Useful to get summarized information on AWS account. The tool by default produces a report that can easily be read from a terminal, but it can also be used produce a tab separated output report that can be pasted into a spreadsheet and then copied to a report. This is controlled via a `AWS_INVENTORY_FORMAT` env variable and covered in the Format Options section.
4
4
 
5
5
  ## Usage
6
6
  ```sh
@@ -8,7 +8,7 @@ Signal.trap("INT") {
8
8
  }
9
9
 
10
10
  $:.unshift(File.expand_path("../../lib", __FILE__))
11
- require "aws_inventory"
11
+ require "aws-inventory"
12
12
  require "aws_inventory/cli"
13
13
 
14
14
  AwsInventory::CLI.start(ARGV)
@@ -3,14 +3,14 @@ class AwsInventory::SecurityGroup
3
3
  include Shared
4
4
 
5
5
  def header
6
- ["Security Group Name", "VPC Id"]
6
+ ["Security Group Name", "Security Group Id"]
7
7
  end
8
8
 
9
9
  def data
10
10
  unused_security_groups.map do |sg|
11
11
  [
12
12
  sg.group_name,
13
- sg.vpc_id
13
+ sg.group_id
14
14
  ]
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module AwsInventory
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -1,10 +1,5 @@
1
1
  require "spec_helper"
2
2
 
3
- # to run specs with what"s remembered from vcr
4
- # $ rake
5
- #
6
- # to run specs with new fresh data from aws api calls
7
- # $ rake clean:vcr ; time rake
8
3
  describe AwsInventory::CLI do
9
4
  before(:all) do
10
5
  @args = ""
@@ -8,7 +8,7 @@ ENV['HOME'] = "spec/fixtures/home"
8
8
  require "pp"
9
9
 
10
10
  root = File.expand_path("../../", __FILE__)
11
- require "#{root}/lib/aws_inventory"
11
+ require "#{root}/lib/aws-inventory"
12
12
 
13
13
  module Helpers
14
14
  def execute(cmd)
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.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
@@ -237,9 +237,9 @@ files:
237
237
  - LICENSE.txt
238
238
  - README.md
239
239
  - Rakefile
240
- - aws_inventory.gemspec
240
+ - aws-inventory.gemspec
241
241
  - exe/aws-inventory
242
- - lib/aws_inventory.rb
242
+ - lib/aws-inventory.rb
243
243
  - lib/aws_inventory/acm.rb
244
244
  - lib/aws_inventory/aws_services.rb
245
245
  - lib/aws_inventory/base.rb