inspec 6.6.0 → 6.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +22 -22
  3. data/inspec.gemspec +1 -5
  4. metadata +6 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7145e01e64e1c20915a545ba5582a59b8c19522f0eaddf66055fce1b1b1ce428
4
- data.tar.gz: 62a67bff0e18b1c92567a67c4822f4e7c7fdd9ea2ee82e541e6c2e67ef4f8f16
3
+ metadata.gz: b6b99d5ef7985f1fdc7315b1eaeb7f8ac1daa5f37720264a41072c6c93bfd6d5
4
+ data.tar.gz: e4d8316ba9bce858167356a2fc99b445c78b1293292e326d4e190ea549b51127
5
5
  SHA512:
6
- metadata.gz: 2fee45943fa837e958dc1a26b03492236469d21b52410f54457dc0ef06ef82749aad95ff981ccbeecd6ff02b1c422eab8819204ec089ffa8fc0d487f9f36bf8f
7
- data.tar.gz: 9b75899257f59cc068b555bbe6bc65323ad94c64a440ce343537647af284f257f69902c8c85e1bb53c129ca94b2b34bd782e63efb6b4513ba79cfaf7c549f926
6
+ metadata.gz: 86a3fe036510babf1542548106ea7923d3837f555dd72619a8c5bf75c0e3d0742f4cf04c9d9c184afcf78b40e009b20b47da45c76bf6f9891c43515592c669d0
7
+ data.tar.gz: 7fd2228f96ea3992ac8caac76c1e664225637ccdb7b323bc58a97f3b0845ef2dabd1b247a157f89a646b23733e427937cb5f8324a1cc5b5cc4befbb397bab281
data/Gemfile CHANGED
@@ -1,11 +1,13 @@
1
+ # TODO: Commentine artifactory source block temporarily
2
+ # to addres JIRA #9390 (Chef InSpec Verify pipeline is failing due to checksum mismatch of mixlib-shellout gem)
1
3
  # For Chef internal builds, allows preview versions of gems if available.
2
- if ENV["ARTIFACTORY_BASE_URL"]
3
- source ENV["ARTIFACTORY_BASE_URL"] + "/artifactory/api/gems/omnibus-gems-local/" do
4
- # TODO: either fully populate this list, or revert back to non-block format
5
- # to sweep all Chef gems from Artifactory.
6
- gem "chef-licensing"
7
- end
8
- end
4
+ # if ENV["ARTIFACTORY_BASE_URL"]
5
+ # source ENV["ARTIFACTORY_BASE_URL"] + "/artifactory/api/gems/omnibus-gems-local/" do
6
+ # # TODO: either fully populate this list, or revert back to non-block format
7
+ # # to sweep all Chef gems from Artifactory.
8
+ # gem "chef-licensing"
9
+ # end
10
+ # end
9
11
 
10
12
  source "https://rubygems.org"
11
13
 
@@ -18,7 +20,10 @@ gem "inspec", path: "."
18
20
  # in it in order to package the executable. Hence the odd backwards dependency.
19
21
  gem "inspec-bin", path: "./inspec-bin"
20
22
 
21
- gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
23
+ # ffi version v1.17.0 is breaking verify pipeline as it requires
24
+ # rubygems version to be upgraded to >= 3.3.22 Ref:https://buildkite.com/chef/inspec-inspec-main-verify-private/builds/812#018fe177-2ccb-45ed-a25e-213c8a6453df/698-707
25
+
26
+ gem "ffi", ">= 1.15.5", "< 1.17.0"
22
27
 
23
28
  # inspec tests depend text output that changed in the 3.10 release
24
29
  # but our runtime dep is still 3.9+
@@ -32,25 +37,20 @@ group :omnibus do
32
37
  end
33
38
 
34
39
  group :test do
35
- gem "chefstyle", "~> 2.2.2"
36
- gem "concurrent-ruby", "~> 1.0"
37
- gem "json_schemer", ">= 0.2.1", "< 2.0.1"
40
+ gem "chefstyle"
41
+ gem "concurrent-ruby"
42
+ gem "json_schemer"
38
43
  gem "m"
39
44
  gem "minitest-sprint", "~> 1.0"
40
45
  gem "minitest", "5.15.0"
41
- gem "mocha", "~> 1.1"
42
- gem "nokogiri", "~> 1.9"
46
+ gem "mocha"
47
+ gem "nokogiri"
43
48
  gem "pry-byebug"
44
- gem "pry", "~> 0.10"
45
- gem "rake", ">= 10"
46
- gem "simplecov", "~> 0.21"
49
+ gem "pry"
50
+ gem "rake"
51
+ gem "simplecov"
47
52
  gem "simplecov_json_formatter"
48
- gem "webmock", "~> 3.0"
49
-
50
- if Gem.ruby_version >= Gem::Version.new("3.0.0")
51
- # html-proofer has a dep on io-event, which is ruby-3 only
52
- gem "html-proofer", "~> 3.19.4", platforms: :ruby # do not attempt to run proofer on windows. Pinned to 3.19.4 as test is breaking in updated versions.
53
- end
53
+ gem "webmock"
54
54
  end
55
55
 
56
56
  group :deploy do
data/inspec.gemspec CHANGED
@@ -21,7 +21,7 @@ Source code obtained from the Chef GitHub repository is made available under Apa
21
21
  spec.license = "LicenseRef-Chef-EULA"
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.required_ruby_version = ">= 2.7"
24
+ spec.required_ruby_version = ">= 3.1.0"
25
25
 
26
26
  # ONLY the aws/azure/gcp files. The rest will come in from inspec-core
27
27
  # the gemspec is necessary for appbundler so don't remove it
@@ -33,10 +33,6 @@ Source code obtained from the Chef GitHub repository is made available under Apa
33
33
  spec.add_dependency "inspec-core", "= #{Inspec::VERSION}"
34
34
 
35
35
  spec.add_dependency "train", "~> 3.10"
36
-
37
- # cookstyle support for inspec check
38
- # Added here not because they are compiled, but to keep chef-client lightweight
39
- spec.add_dependency "cookstyle"
40
36
  spec.add_dependency "rake"
41
37
 
42
38
  # progress bar streaming reporter plugin support
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: 6.6.0
4
+ version: 6.8.1
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: 2023-11-09 00:00:00.000000000 Z
11
+ date: 2024-07-25 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: 6.6.0
19
+ version: 6.8.1
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: 6.6.0
26
+ version: 6.8.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.10'
41
- - !ruby/object:Gem::Dependency
42
- name: cookstyle
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -221,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
221
207
  requirements:
222
208
  - - ">="
223
209
  - !ruby/object:Gem::Version
224
- version: '2.7'
210
+ version: 3.1.0
225
211
  required_rubygems_version: !ruby/object:Gem::Requirement
226
212
  requirements:
227
213
  - - ">="
228
214
  - !ruby/object:Gem::Version
229
215
  version: '0'
230
216
  requirements: []
231
- rubygems_version: 3.1.4
217
+ rubygems_version: 3.2.3
232
218
  signing_key:
233
219
  specification_version: 4
234
220
  summary: Infrastructure and compliance testing.