inspec-core 4.18.97 → 4.18.100
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inspec/fetcher.rb +1 -0
- data/lib/inspec/resources/platform.rb +5 -5
- data/lib/inspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 699f8109813626e556c8f56fe2324ac80e444b62265808cbe37619d3ae5a46b2
|
4
|
+
data.tar.gz: 45f7ade4fe0020e8bec0f7f21bd9819807df1ed48666e65e7ab994e24fe97cb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b85550dd9d166506cbcda16e776db29edff56cf2f174c91dee528498d6224232dcd8c5d8b11ec8a56252cf40c03ed43205de56d802ea36f6ad8a03740c368826
|
7
|
+
data.tar.gz: a5b46d86ecf6762dd6f2643e67a0dc3274a36c71da4acd81950211ba19ac5f388f7eff2c7b860b65f168299df96d76727a083a0e8d9c50fa1184fb39a221c0a3
|
data/lib/inspec/fetcher.rb
CHANGED
@@ -19,23 +19,23 @@ module Inspec::Resources
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def family
|
22
|
-
@platform
|
22
|
+
@platform[:family]
|
23
23
|
end
|
24
24
|
|
25
25
|
def release
|
26
|
-
@platform
|
26
|
+
@platform[:release]
|
27
27
|
end
|
28
28
|
|
29
29
|
def arch
|
30
|
-
@platform
|
30
|
+
@platform[:arch]
|
31
31
|
end
|
32
32
|
|
33
33
|
def families
|
34
|
-
@platform
|
34
|
+
@platform[:family_hierarchy]
|
35
35
|
end
|
36
36
|
|
37
37
|
def name
|
38
|
-
@platform
|
38
|
+
@platform[:name]
|
39
39
|
end
|
40
40
|
|
41
41
|
def [](key)
|
data/lib/inspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspec-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.18.
|
4
|
+
version: 4.18.100
|
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-
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-telemetry
|