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 +4 -4
- data/lib/aws/spec/generator/version.rb +1 -1
- data/lib/aws_spec_generator.rb +4 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6333215476436038325791bf3f806f471926d0a8
|
4
|
+
data.tar.gz: befcc1c329530b9e943a15aea8a85d0165ca4d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1898cf96903576f75dcdcdb387a64c306025643938087ef3f0dc570493877d5e59f70f184839839b04c64d36e14e6e794be9bc9440cfa0feeddd3f19d5cd0dc2
|
7
|
+
data.tar.gz: df9a5bee8e6df46061de28497981b9e221bbbd0d74bce6ac90512062331cba3f97324af5bdc9d9a0502155c0e48c87a352b6fb9fd9bbc9c1151674f8f1f663a0
|
data/lib/aws_spec_generator.rb
CHANGED
@@ -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
|
28
|
-
Dir.glob("#{dir}*spec.rb").each do |
|
29
|
-
|
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
|
|