inspec 4.37.8 → 4.37.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8111ebc34a934ea311092125b48cd46047c31a7b8c13ba00d65be14ff9c10d3b
|
|
4
|
+
data.tar.gz: 000f0eef35c028468496a9511ae7c876773d716c76092d5515fcda8dff09f9b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35a840e69af1ddd95d56938f93f4b6e76ad63fef52aade848bc79d1f76c8f8fb48ba71a560d465e09a8ade6932915a1c22208172a51a7d0d582d4ae68d1c8437
|
|
7
|
+
data.tar.gz: 6b00d38a8b3f23f7853fa03425adaf7e836e70ea6acac92b1d3344ea1ef5116aa1bfaaa4bd954eb7adbbf3cdf1d73080164c582bacd1d1de2aac09a1d40375df
|
data/Gemfile
CHANGED
|
@@ -20,11 +20,22 @@ end
|
|
|
20
20
|
# but our runtime dep is still 3.9+
|
|
21
21
|
gem "rspec", ">= 3.10"
|
|
22
22
|
|
|
23
|
+
def probably_x86?
|
|
24
|
+
# We don't currently build on ARM windows, so assume x86 there
|
|
25
|
+
return true if RUBY_PLATFORM =~ /windows|mswin|msys|mingw|cygwin/
|
|
26
|
+
|
|
27
|
+
# Otherwise rely on uname -m
|
|
28
|
+
`uname -m`.match?(/^(x86_64|i\d86)/)
|
|
29
|
+
end
|
|
30
|
+
|
|
23
31
|
group :omnibus do
|
|
24
32
|
gem "rb-readline"
|
|
25
33
|
gem "appbundler"
|
|
26
34
|
gem "ed25519" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
|
27
35
|
gem "bcrypt_pbkdf" # ed25519 ssh key support done here as its a native gem we can't put in the gemspec
|
|
36
|
+
if probably_x86?
|
|
37
|
+
gem "x25519" # ed25519 KEX module, not supported on ARM
|
|
38
|
+
end
|
|
28
39
|
end
|
|
29
40
|
|
|
30
41
|
group :test do
|
|
@@ -55,6 +66,7 @@ end
|
|
|
55
66
|
if Gem.ruby_version >= Gem::Version.new("2.7.0")
|
|
56
67
|
group :kitchen do
|
|
57
68
|
gem "berkshelf"
|
|
69
|
+
gem "chef", ">= 16.0" # Required to allow net-ssh > 6
|
|
58
70
|
gem "test-kitchen", ">= 2.8"
|
|
59
71
|
gem "kitchen-inspec", ">= 2.0"
|
|
60
72
|
gem "kitchen-dokken", ">= 2.11"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
source
|
|
1
|
+
source "https://rubygems.org"
|
|
2
2
|
|
|
3
3
|
gemspec
|
|
4
4
|
|
|
5
5
|
group :development do
|
|
6
|
-
gem
|
|
7
|
-
gem
|
|
8
|
-
gem
|
|
9
|
-
gem
|
|
10
|
-
gem
|
|
6
|
+
gem "bundler"
|
|
7
|
+
gem "byebug"
|
|
8
|
+
gem "minitest"
|
|
9
|
+
gem "rake"
|
|
10
|
+
gem "rubocop", "= 0.49.1" # Need to keep in sync with main InSpec project, so config files will work
|
|
11
11
|
end
|
data/lib/plugins/inspec-init/templates/plugins/inspec-plugin-template/inspec-plugin-template.gemspec
CHANGED
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
# It is traditional in a gemspec to dynamically load the current version
|
|
6
6
|
# from a file in the source tree. The next three lines make that happen.
|
|
7
|
-
lib = File.expand_path(
|
|
7
|
+
lib = File.expand_path("../lib", __FILE__)
|
|
8
8
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
9
|
-
require
|
|
9
|
+
require "<%= plugin_name %>/version"
|
|
10
10
|
|
|
11
11
|
Gem::Specification.new do |spec|
|
|
12
12
|
# Importantly, all InSpec plugins must be prefixed with `inspec-` (most
|
|
13
13
|
# plugins) or `train-` (plugins which add new connectivity features).
|
|
14
|
-
spec.name =
|
|
14
|
+
spec.name = "<%= plugin_name %>"
|
|
15
15
|
|
|
16
16
|
# It is polite to namespace your plugin under InspecPlugins::YourPluginInCamelCase
|
|
17
17
|
spec.version = InspecPlugins::<%= module_name %>::VERSION
|
|
18
|
-
spec.authors = [
|
|
19
|
-
spec.email = [
|
|
20
|
-
spec.summary =
|
|
21
|
-
spec.description =
|
|
22
|
-
spec.homepage =
|
|
23
|
-
spec.license =
|
|
18
|
+
spec.authors = ["<%= author_name %>"]
|
|
19
|
+
spec.email = ["<%= author_email %>"]
|
|
20
|
+
spec.summary = "<%= summary %>"
|
|
21
|
+
spec.description = "<%= description.is_a?(Array) ? description.join(" "): description %>"
|
|
22
|
+
spec.homepage = "<%= homepage %>"
|
|
23
|
+
spec.license = "<%= license_name %>"
|
|
24
24
|
|
|
25
25
|
# Though complicated-looking, this is pretty standard for a gemspec.
|
|
26
26
|
# It just filters what will actually be packaged in the gem (leaving
|
|
@@ -28,9 +28,9 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.files = %w{
|
|
29
29
|
README.md <%= snake_case %>.gemspec Gemfile
|
|
30
30
|
} + Dir.glob(
|
|
31
|
-
|
|
31
|
+
"lib/**/*", File::FNM_DOTMATCH
|
|
32
32
|
).reject { |f| File.directory?(f) }
|
|
33
|
-
spec.require_paths = [
|
|
33
|
+
spec.require_paths = ["lib"]
|
|
34
34
|
|
|
35
35
|
# If you rely on any other gems, list them here with any constraints.
|
|
36
36
|
# This is how `inspec plugin install` is able to manage your dependencies.
|
|
@@ -39,5 +39,5 @@ Gem::Specification.new do |spec|
|
|
|
39
39
|
|
|
40
40
|
# All plugins should mention inspec, > 2.2.78
|
|
41
41
|
# 2.2.78 included the v2 Plugin API
|
|
42
|
-
spec.add_dependency
|
|
42
|
+
spec.add_dependency "inspec", ">= 2.2.78", "< 4.0.0"
|
|
43
43
|
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: 4.37.
|
|
4
|
+
version: 4.37.30
|
|
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: 2021-
|
|
11
|
+
date: 2021-06-16 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.37.
|
|
19
|
+
version: 4.37.30
|
|
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.37.
|
|
26
|
+
version: 4.37.30
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: train
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|