inspec 4.37.20 → 4.37.23
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c7b7ca05613e276fff9bb13c14a98aa79930cc082426541f33d0505277a7835
|
4
|
+
data.tar.gz: 2bd297d4af75c978c71dfc3a516f2fbb7757dec96323a59f4869ca1c19ada716
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 693f5c2b12410258d36574364c003d320370729218b7083f0be53f9920a4fea80539d36ae5f2c42558cf1f7f48b01fd08b98a563064152e353dae328d75286d8
|
7
|
+
data.tar.gz: 599017125ae5e0e4f90223900de906ac6e82b8b83b08d58d121495dab27ab1d70d55aaea83a40bd362bb7b39af7703d376637ab202ab681603058e7d310d9131
|
@@ -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.23
|
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-05-
|
11
|
+
date: 2021-05-31 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.23
|
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.23
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: train
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|