aws-spec-generator 0.1.15 → 0.1.16

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: 9aebe0160761d4a35d0e5199cc0f53269378c6d5
4
- data.tar.gz: 6d4a1559ba0e4ad6e8169d221309759c77784ded
3
+ metadata.gz: 6333215476436038325791bf3f806f471926d0a8
4
+ data.tar.gz: befcc1c329530b9e943a15aea8a85d0165ca4d39
5
5
  SHA512:
6
- metadata.gz: 120555b5f414a8b568127ba951b63acddcd654bd5104a01f66232fd49b750e512a487d717cc505a56b514eb25311b6801a9019866946921e020e68f53d9fb213
7
- data.tar.gz: b7230cd76e37b76252b92274d7d55c1f52465bba469cff24f12c272eeb42a92153305e0b4c4b9648d01eeb79fc05f9e092ecd353b394bd0751d64623235db4f5
6
+ metadata.gz: 1898cf96903576f75dcdcdb387a64c306025643938087ef3f0dc570493877d5e59f70f184839839b04c64d36e14e6e794be9bc9440cfa0feeddd3f19d5cd0dc2
7
+ data.tar.gz: df9a5bee8e6df46061de28497981b9e221bbbd0d74bce6ac90512062331cba3f97324af5bdc9d9a0502155c0e48c87a352b6fb9fd9bbc9c1151674f8f1f663a0
@@ -1,7 +1,7 @@
1
1
  module Aws
2
2
  module Spec
3
3
  module Generator
4
- VERSION = '0.1.15'.freeze
4
+ VERSION = '0.1.16'.freeze
5
5
  end
6
6
  end
7
7
  end
@@ -17,17 +17,16 @@ class AwsSpecGenerator
17
17
  )
18
18
  end
19
19
  FileUtils.mkdir_p @output_directory
20
+ clear_dir(@output_directory)
20
21
  @output_directory += File::SEPARATOR
21
- clear_output_dir(@output_directory)
22
22
  query_vpc_ids
23
23
  query_bucket_list
24
24
  end
25
25
 
26
26
  # Clear out the last run
27
- def clear_output_dir(dir)
28
- Dir.glob("#{dir}*spec.rb").each do |f|
29
- puts "FOUND FILES = #{f}"
30
- # File.delete(fn) unless !File.directory?(fn)
27
+ def clear_dir(dir)
28
+ Dir.glob("#{dir}*spec.rb").each do |fn|
29
+ File.delete(fn) unless !File.directory?(fn)
31
30
  end
32
31
  end
33
32
 
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.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bradley Atkins