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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b39b8f2921accd19eb170e079a3b85bfb72611d618d5bc0b0c705eb08000323
4
- data.tar.gz: 2c6a90407e96b9038044f03884bc0b2c842f06ef410139f929d6149717a49ea4
3
+ metadata.gz: 699f8109813626e556c8f56fe2324ac80e444b62265808cbe37619d3ae5a46b2
4
+ data.tar.gz: 45f7ade4fe0020e8bec0f7f21bd9819807df1ed48666e65e7ab994e24fe97cb5
5
5
  SHA512:
6
- metadata.gz: da18afb78ba9601984a36e2f8557cde0c0c316083e99e6f3b86162c8130970cba53f0b04c896bb3b87d29ad6fe76a85fea46339ee4799d4c827eda587b880a35
7
- data.tar.gz: 71473c95ca6a3b4c36e71edab3663157aa4590ac41dcf26148d6baad03655287ae689ae525fcaa0b56e55d5041b69a0deeeb7207ee7454554e205c30c7476dfe
6
+ metadata.gz: b85550dd9d166506cbcda16e776db29edff56cf2f174c91dee528498d6224232dcd8c5d8b11ec8a56252cf40c03ed43205de56d802ea36f6ad8a03740c368826
7
+ data.tar.gz: a5b46d86ecf6762dd6f2643e67a0dc3274a36c71da4acd81950211ba19ac5f388f7eff2c7b860b65f168299df96d76727a083a0e8d9c50fa1184fb39a221c0a3
@@ -43,3 +43,4 @@ end
43
43
  require "inspec/fetcher/local"
44
44
  require "inspec/fetcher/url"
45
45
  require "inspec/fetcher/git"
46
+ require "plugins/inspec-compliance/lib/inspec-compliance/api"
@@ -19,23 +19,23 @@ module Inspec::Resources
19
19
  end
20
20
 
21
21
  def family
22
- @platform.family
22
+ @platform[:family]
23
23
  end
24
24
 
25
25
  def release
26
- @platform.release
26
+ @platform[:release]
27
27
  end
28
28
 
29
29
  def arch
30
- @platform.arch if @platform.respond_to?(:arch)
30
+ @platform[:arch]
31
31
  end
32
32
 
33
33
  def families
34
- @platform.family_hierarchy
34
+ @platform[:family_hierarchy]
35
35
  end
36
36
 
37
37
  def name
38
- @platform.name
38
+ @platform[:name]
39
39
  end
40
40
 
41
41
  def [](key)
@@ -1,3 +1,3 @@
1
1
  module Inspec
2
- VERSION = "4.18.97".freeze
2
+ VERSION = "4.18.100".freeze
3
3
  end
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.97
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-02-24 00:00:00.000000000 Z
11
+ date: 2020-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-telemetry