aws-spec-generator 0.1.44 → 0.2.0

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: f05e2ad5a0a21483dd8d3faa7bd9e3dc3bbb6ce2
4
- data.tar.gz: f6d0214f62539a7e3bca0900be3fa0e109f1acc8
3
+ metadata.gz: ad63c9b253e4478e8aa382ec1535ccc8d1aaadf2
4
+ data.tar.gz: 60bce515513834f562190d8266e66b4de995442a
5
5
  SHA512:
6
- metadata.gz: 17732ee3351f68af605fb9b1af69e14a62e8abb89c44c4714b125378e6eda46df54618f4b5b4d0a99c5da0a48c1de2195627b433461bc75ee776d3f1a22e6e75
7
- data.tar.gz: 0c695dfabbdb16f433f4b72a8f43b9aac6a13743dd1778af63d3a98458a8913dabad05b20559f7d76e2059dae4addc05e0da6e1a6bba7d325ac764c51ee76bf2
6
+ metadata.gz: ab4d7bed40c9c536a10f4e28479484ab29d045311905f138346a1112d3ebf51c9da26469f590940adfdcff473a32ed61e6780d85aaec9905742231d7cae9a483
7
+ data.tar.gz: 86256ea74b56252c606c120deb54ee6e3f6a47ac15b9a99a1028d23295d0f7aaccf346144689d5764f5580d600b21c51822e92f8b363f8cccbd810794ab88d50
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Spec
3
3
  module Generator
4
- VERSION = '0.1.44'.freeze
4
+ VERSION = '0.2.0'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -18,7 +18,7 @@ class AwsSpecGenerator
18
18
  )
19
19
  end
20
20
  FileUtils.mkdir_p @output_directory
21
- # clear_dir(@output_directory)
21
+ clear_dir(@output_directory)
22
22
  @output_directory += File::SEPARATOR
23
23
  query_vpc_ids
24
24
  query_bucket_list
@@ -44,6 +44,7 @@ class AwsSpecGenerator
44
44
 
45
45
  # Generate the EC2 tests
46
46
  def generate_ec2_tests(account)
47
+ puts "Generating EC2 tests"
47
48
  @vpc_list.each do |vpc|
48
49
  target_file = File.absolute_path(
49
50
  @output_directory + "ec2_on_#{vpc}_tests_spec.rb"
@@ -61,6 +62,7 @@ class AwsSpecGenerator
61
62
 
62
63
  # Generate the ELB Tests
63
64
  def generate_elb_tests(account)
65
+ puts "Generating ELB tests"
64
66
  @vpc_list.each do |vpc|
65
67
  target_file = File.absolute_path(
66
68
  @output_directory + "elbs_on_#{vpc}_tests_spec.rb"
@@ -79,6 +81,7 @@ class AwsSpecGenerator
79
81
 
80
82
  # Generate the SG tests
81
83
  def generate_sg_tests(account)
84
+ puts "Generating SG tests"
82
85
  @vpc_list.each do |vpc|
83
86
  target_file = File.absolute_path(
84
87
  @output_directory + "security_groups_on_#{vpc}_tests_spec.rb"
@@ -97,7 +100,7 @@ class AwsSpecGenerator
97
100
 
98
101
  # Generate S3 Bucket tests
99
102
  def generate_s3_tests(account)
100
-
103
+ puts "Generating S3 tests"
101
104
  @bucket_list.each do |bucket|
102
105
  target_file = File.absolute_path(@output_directory +
103
106
  "s3_buckets_on_#{bucket['Name']}_tests_spec.rb")
@@ -123,6 +126,7 @@ class AwsSpecGenerator
123
126
 
124
127
  # Generate NACL tests
125
128
  def generate_nacl_tests(account)
129
+ puts "Generating NACL tests"
126
130
  @vpc_list.each do |vpc|
127
131
  target_file = File.absolute_path(
128
132
  @output_directory + "nacls_on_#{vpc}_tests_spec.rb"
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.44
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Atkins