inspec 5.22.50 → 6.6.0

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: cd14b23a16599446de8bd98e75541a6da2b7c5488e13ef3a63dc2a7731665d02
4
- data.tar.gz: 1776b5fb94dffb87fd5c84f3d6490771dff8908cf24af4ad8347431f0a104498
3
+ metadata.gz: 7145e01e64e1c20915a545ba5582a59b8c19522f0eaddf66055fce1b1b1ce428
4
+ data.tar.gz: 62a67bff0e18b1c92567a67c4822f4e7c7fdd9ea2ee82e541e6c2e67ef4f8f16
5
5
  SHA512:
6
- metadata.gz: 2858b4b3fae43fd4d4e786c765483b3f5d1776eafbc348ba0aa9dd37d409339ed59cafd6633874c976442122ec1de717817471a58241e92919a496fd8464bee3
7
- data.tar.gz: 81573232ed3f399e02da110b5d702c731bd70851dfdd11b38795228025bf16df04aa860e148f8e7236c2c0fb0e6ce4ab0c66fd1e83d76ac6f679b04c1a6e525f
6
+ metadata.gz: 2fee45943fa837e958dc1a26b03492236469d21b52410f54457dc0ef06ef82749aad95ff981ccbeecd6ff02b1c422eab8819204ec089ffa8fc0d487f9f36bf8f
7
+ data.tar.gz: 9b75899257f59cc068b555bbe6bc65323ad94c64a440ce343537647af284f257f69902c8c85e1bb53c129ca94b2b34bd782e63efb6b4513ba79cfaf7c549f926
data/Gemfile CHANGED
@@ -1,3 +1,12 @@
1
+ # 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
9
+
1
10
  source "https://rubygems.org"
2
11
 
3
12
  gem "inspec", path: "."
@@ -11,10 +20,6 @@ gem "inspec-bin", path: "./inspec-bin"
11
20
 
12
21
  gem "ffi", ">= 1.9.14", "!= 1.13.0", "!= 1.14.2"
13
22
 
14
- # We have a build issue 2023-11-13 with unf_ext 0.0.9 so we are pinning to 0.0.8.2
15
- # See https://github.com/knu/ruby-unf_ext/issues/74 https://buildkite.com/chef/inspec-inspec-inspec-5-omnibus-release/builds/22
16
- gem "unf_ext", "= 0.0.8.2"
17
-
18
23
  # inspec tests depend text output that changed in the 3.10 release
19
24
  # but our runtime dep is still 3.9+
20
25
  gem "rspec", ">= 3.10"
@@ -27,20 +32,25 @@ group :omnibus do
27
32
  end
28
33
 
29
34
  group :test do
30
- gem "chefstyle"
31
- gem "concurrent-ruby"
32
- gem "json_schemer"
35
+ gem "chefstyle", "~> 2.2.2"
36
+ gem "concurrent-ruby", "~> 1.0"
37
+ gem "json_schemer", ">= 0.2.1", "< 2.0.1"
33
38
  gem "m"
34
39
  gem "minitest-sprint", "~> 1.0"
35
40
  gem "minitest", "5.15.0"
36
- gem "mocha"
37
- gem "nokogiri"
41
+ gem "mocha", "~> 1.1"
42
+ gem "nokogiri", "~> 1.9"
38
43
  gem "pry-byebug"
39
- gem "pry"
40
- gem "rake"
41
- gem "simplecov"
44
+ gem "pry", "~> 0.10"
45
+ gem "rake", ">= 10"
46
+ gem "simplecov", "~> 0.21"
42
47
  gem "simplecov_json_formatter"
43
- gem "webmock"
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
44
54
  end
45
55
 
46
56
  group :deploy do
data/inspec.gemspec CHANGED
@@ -8,9 +8,17 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Chef InSpec Team"]
9
9
  spec.email = ["inspec@chef.io"]
10
10
  spec.summary = "Infrastructure and compliance testing."
11
- spec.description = "InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification."
11
+ spec.description = <<-EOT
12
+ InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
13
+
14
+ Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
15
+
16
+ Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
17
+
18
+ EOT
19
+
12
20
  spec.homepage = "https://github.com/inspec/inspec"
13
- spec.license = "Apache-2.0"
21
+ spec.license = "LicenseRef-Chef-EULA"
14
22
  spec.require_paths = ["lib"]
15
23
 
16
24
  spec.required_ruby_version = ">= 2.7"
@@ -25,13 +33,17 @@ Gem::Specification.new do |spec|
25
33
  spec.add_dependency "inspec-core", "= #{Inspec::VERSION}"
26
34
 
27
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"
28
40
  spec.add_dependency "rake"
29
41
 
30
42
  # progress bar streaming reporter plugin support
31
43
  spec.add_dependency "progress_bar", "~> 1.3.3"
32
44
 
33
45
  # Used for Azure profile until integrated into train
34
- spec.add_dependency "faraday_middleware", ">= 0.12.2", "< 1.3"
46
+ spec.add_dependency "faraday_middleware", ">= 0.12.2", "< 1.1"
35
47
 
36
48
  # Train plugins we ship with InSpec
37
49
  spec.add_dependency "train-habitat", "~> 0.1"
@@ -0,0 +1,6 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "inspec-license"
3
+ spec.summary = "Plugin to list user licenses."
4
+ spec.description = ""
5
+ spec.license = "Apache-2.0"
6
+ end
@@ -0,0 +1,6 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "inspec-parallel"
3
+ spec.summary = "Plugin to handle parallel InSpec scan operations over multiple targets"
4
+ spec.description = ""
5
+ spec.license = "Apache-2.0"
6
+ end
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: 5.22.50
4
+ version: 6.6.0
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: 2024-05-21 00:00:00.000000000 Z
11
+ date: 2023-11-09 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: 5.22.50
19
+ version: 6.6.0
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: 5.22.50
26
+ version: 6.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ 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'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -75,7 +89,7 @@ dependencies:
75
89
  version: 0.12.2
76
90
  - - "<"
77
91
  - !ruby/object:Gem::Version
78
- version: '1.3'
92
+ version: '1.1'
79
93
  type: :runtime
80
94
  prerelease: false
81
95
  version_requirements: !ruby/object:Gem::Requirement
@@ -85,7 +99,7 @@ dependencies:
85
99
  version: 0.12.2
86
100
  - - "<"
87
101
  - !ruby/object:Gem::Version
88
- version: '1.3'
102
+ version: '1.1'
89
103
  - !ruby/object:Gem::Dependency
90
104
  name: train-habitat
91
105
  requirement: !ruby/object:Gem::Requirement
@@ -156,10 +170,13 @@ dependencies:
156
170
  - - '='
157
171
  - !ruby/object:Gem::Version
158
172
  version: 2.13.2
159
- description: InSpec provides a framework for creating end-to-end infrastructure tests.
160
- You can use it for integration or even compliance testing. Create fully portable
161
- test profiles and use them in your workflow to ensure stability and security. Integrate
162
- InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
173
+ description: |+
174
+ InSpec provides a framework for creating end-to-end infrastructure tests. You can use it for integration or even compliance testing. Create fully portable test profiles and use them in your workflow to ensure stability and security. Integrate InSpec in your change lifecycle for local testing, CI/CD, and deployment verification.
175
+
176
+ Packaged distributions of Progress® Chef® products obtained from RubyGems are made available pursuant to the Progress Chef EULA at https://www.chef.io/end-user-license-agreement, unless there is an executed agreement in effect between you and Progress that covers the Progress Chef products ("Master Agreement"), in which case the Master Agreement shall govern.
177
+
178
+ Source code obtained from the Chef GitHub repository is made available under Apache-2.0, a copy of which is included.
179
+
163
180
  email:
164
181
  - inspec@chef.io
165
182
  executables: []
@@ -184,6 +201,8 @@ files:
184
201
  - lib/plugins/inspec-init/templates/profiles/gcp/controls/example.rb
185
202
  - lib/plugins/inspec-init/templates/profiles/gcp/inputs.yml
186
203
  - lib/plugins/inspec-init/templates/profiles/gcp/inspec.yml
204
+ - lib/plugins/inspec-license/inspec-license.gemspec
205
+ - lib/plugins/inspec-parallel/inspec-parallel.gemspec
187
206
  - lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec
188
207
  - lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec
189
208
  - lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec
@@ -192,7 +211,7 @@ files:
192
211
  - lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec
193
212
  homepage: https://github.com/inspec/inspec
194
213
  licenses:
195
- - Apache-2.0
214
+ - LicenseRef-Chef-EULA
196
215
  metadata: {}
197
216
  post_install_message:
198
217
  rdoc_options: []
@@ -209,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
228
  - !ruby/object:Gem::Version
210
229
  version: '0'
211
230
  requirements: []
212
- rubygems_version: 3.2.3
231
+ rubygems_version: 3.1.4
213
232
  signing_key:
214
233
  specification_version: 4
215
234
  summary: Infrastructure and compliance testing.