inspec 4.21.1 → 4.22.22

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
  SHA256:
3
- metadata.gz: 728dd14d84d8030e2d37c5afffd19b62d4edbb99dd14c2ecac3a6103c17af8fa
4
- data.tar.gz: 436a9cc4aeb771d06bacc2b06c800f506a6f3c30bd04085d8ed61ace8d35c301
3
+ metadata.gz: e9377de564c82eff698b4d966abc190048d4e3abd4a73b7738f0e4141ca06e45
4
+ data.tar.gz: 0e4ad19b61071ca91c84276abccc1f2a35b9de66a8f392487e99c66038b8168e
5
5
  SHA512:
6
- metadata.gz: 7ae08d083bb10d25b0dcad0e931f7c0408458791c66aabca661cf5b7e30a3e5b8b6bf070033cff8b61cbb5d46998570c81a6c18bba52426364470ffd703846b7
7
- data.tar.gz: 2fabf9746839ae841209592fde38585538cd1976dc03a00b2e828f5110d36a48c8410ba1b449be197dd837ca299a79a9a5a4112ba30bb39198be001f84017533
6
+ metadata.gz: 51dd67111692c9a63cf211d201909c9b81f782ffb125e6706ede1d484c789e6e0fe5e1d11489d4ba639c1ef01be5c403bf2aa98cac4a9d443f1b1a4a3d3c96db
7
+ data.tar.gz: 4fe012c525994d21739a1c010e564ab3221da5db39d26e1cc8ea58eb8bd895b4b94aa04682f9b7e820819b82db80f81d2b576f508fea3fb97ce5941793c777e6
data/Gemfile CHANGED
@@ -19,7 +19,7 @@ group :omnibus do
19
19
  end
20
20
 
21
21
  group :test do
22
- gem "chefstyle", "~> 0.13.0"
22
+ gem "chefstyle", "~> 1.2.1"
23
23
  gem "minitest", "~> 5.5"
24
24
  gem "minitest-sprint", "~> 1.0"
25
25
  gem "rake", ">= 10"
@@ -98,7 +98,7 @@ class AwsIamPolicy < Inspec.resource(1)
98
98
  else
99
99
  # But if there is one statement, it is permissable to degenerate the array,
100
100
  # and place the statement as a hash directly under the 'Statement' key
101
- return 1
101
+ 1
102
102
  end
103
103
  end
104
104
 
@@ -292,7 +292,7 @@ class AwsSecurityGroup < Inspec.resource(1)
292
292
 
293
293
  @exists = true
294
294
  @description = dsg_response.security_groups[0].description
295
- @group_id = dsg_response.security_groups[0].group_id
295
+ @group_id = dsg_response.security_groups[0].group_id
296
296
  @group_name = dsg_response.security_groups[0].group_name
297
297
  @vpc_id = dsg_response.security_groups[0].vpc_id
298
298
  @inbound_rules = dsg_response.security_groups[0].ip_permissions.map(&:to_h)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.21.1
4
+ version: 4.22.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef InSpec Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-25 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inspec-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.21.1
19
+ version: 4.22.22
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.21.1
26
+ version: 4.22.22
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement