aws-spec-generator 0.1.4 → 0.1.5.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/aws/spec/generator/version.rb +1 -1
- data/lib/aws_spec_generator.rb +5 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7ae2c18a387f404975481f44b6273cfe1bfeec2
|
4
|
+
data.tar.gz: d77a208b1a3cfc1738f8bd2758ba3024b1d323bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843d5c8bcbbce113718398d1e2561d327d720de3745b3ac33071aad4c7e9b63fd7f187bcb4c47edde241e66aff349aea3e26e919b50935b7a322554d008b71dd
|
7
|
+
data.tar.gz: f9711fdd7dbde94ddf87c30f1d6c4e5024637618222a5af61ec7b1b99b60d0156e61f174fa8f6935f14ca4e29cf1d4d819b63f5433a1daff18bb618392d142c6
|
data/CHANGELOG.md
CHANGED
@@ -21,3 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
21
21
|
## [0.1.4] - 25-02-2019
|
22
22
|
### Changed
|
23
23
|
- debugging and tweaking for running in the cloud under an instance profile
|
24
|
+
|
25
|
+
## [0.1.5] - 26-02-2019
|
26
|
+
### Changed
|
27
|
+
- Fix for stray system call failing in sg generate step
|
28
|
+
- Debug statements
|
data/lib/aws_spec_generator.rb
CHANGED
@@ -93,14 +93,14 @@ class AwsSpecGenerator
|
|
93
93
|
end
|
94
94
|
|
95
95
|
begin
|
96
|
-
stderr = Open3.capture3(
|
96
|
+
stdout, stderr, status = Open3.capture3(
|
97
97
|
"awspec generate security_group #{vpc} >> #{target_file}"
|
98
98
|
)
|
99
|
+
puts "CALLED SG GEN - (" + stdout + ') for VPC (' + vpc + ') Written to file (' + target_file + ')'
|
99
100
|
rescue StandardError
|
100
|
-
raise 'Failed to generate security_group tests (' + stderr + ')'
|
101
|
+
raise 'Error: (' + status + ') Failed to generate security_group tests (' + stderr + ')'
|
101
102
|
end
|
102
103
|
|
103
|
-
system("awspec generate security_group #{vpc} >> #{target_file}")
|
104
104
|
File.open(target_file, 'a+') { |f|f.write("end\n") }
|
105
105
|
end
|
106
106
|
end
|
@@ -120,11 +120,11 @@ class AwsSpecGenerator
|
|
120
120
|
end
|
121
121
|
|
122
122
|
begin
|
123
|
-
stderr = Open3.capture3(
|
123
|
+
stderr, status = Open3.capture3(
|
124
124
|
"awspec generate s3 #{bucket['Name']} >> #{target_file}"
|
125
125
|
)
|
126
126
|
rescue StandardError
|
127
|
-
raise 'Failed to generate bucket tests (' + stderr + ')'
|
127
|
+
raise 'Error: (' + status + ')Failed to generate bucket tests (' + stderr + ')'
|
128
128
|
end
|
129
129
|
|
130
130
|
File.open(target_file, 'a+') { |f|f.write("end\n") }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-spec-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bradley Atkins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws_su
|
@@ -134,9 +134,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- - "
|
137
|
+
- - ">"
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version:
|
139
|
+
version: 1.3.1
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
142
|
rubygems_version: 2.6.8
|