aws-spec-generator 0.1.23 → 0.1.24

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: db6876fe02f9011ac0212fa95a61df3416cb153c
4
- data.tar.gz: 1be38bb309aaf6fb4668ad20bbc167831b3be125
3
+ metadata.gz: 0f863504555111d0bd441d4a01a4bd82b10dd125
4
+ data.tar.gz: 1de285947a33a30c22702efeac02ce16846d144a
5
5
  SHA512:
6
- metadata.gz: c41b6da1c8d46775437c580bdaabb1b049c04ea0d519e09b9359c2714149448406b5987ea035557de425638217b542fd51cf07bbaa9a3c7c28b23f755df9fdea
7
- data.tar.gz: '08b9faaa003de0667c4f4cc6eff59440fe64bec6e24cc1ea71a1d0cb7d38697ef51440be5cd8fe421d3a3427aafa00eff100ffd003f76977a65e2e4d18769639'
6
+ metadata.gz: '0365347813906a85249bec423cfb0470af251a869a5f2418e60ff93c4914ca79a86138fa2b12bfcb4ab09ef0dafcaff59870849de269bf4232decc71fc10ab1f'
7
+ data.tar.gz: 6e8042e2e0d922a44d1b869a6b8d5846ba904a9ea9a8ff1bfe3d8a48217528adae7a7b198d23976da512d039968e318308ec6eee645922dd4fd14a984ebba2ac
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Spec
3
3
  module Generator
4
- VERSION = '0.1.23'.freeze
4
+ VERSION = '0.1.24'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -163,9 +163,11 @@ class AwsSpecGenerator
163
163
  # retrieve the VPC names for this account
164
164
  def query_vpc_ids
165
165
  begin
166
- stdout, stderr, status = Open3.capture3('aws ec2 describe-vpcs')
167
- rescue StandardError, TypeError
168
- raise('Error: ' + status + 'Failed to recover vpc list')
166
+ stdout, stderr = Open3.capture3('aws ec2 describe-vpcs')
167
+ rescue StandardError
168
+ raise('Error: Failed to recover vpc list')
169
+ rescue TypeError
170
+ raise('Error: Failed to recover vpc list: (' + stderr + ')')
169
171
  end
170
172
 
171
173
  JSON.parse(stdout)['Vpcs'].each do |vpc|
@@ -179,7 +181,7 @@ class AwsSpecGenerator
179
181
  begin
180
182
  stdout, stderr, status = Open3.capture3('aws s3api list-buckets')
181
183
  rescue StandardError
182
- raise('Error: ' + status + 'Failed to recover vpc list: (' + stderr + ')')
184
+ raise('Error: ' + status + 'Failed to recover buckets list: (' + stderr + ')')
183
185
  end
184
186
 
185
187
  JSON.parse(stdout)['Buckets'].each do |bucket|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-spec-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Atkins