inspec-test-fixture 0.2.0 → 0.3.0
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 +5 -5
- data/inspec-test-fixture.gemspec +8 -8
- data/inspec.yml +10 -0
- data/lib/inspec-test-fixture/mock_plugin.rb +3 -3
- data/lib/inspec-test-fixture/plugin.rb +2 -2
- data/lib/inspec-test-fixture/version.rb +1 -1
- data/lib/inspec-test-fixture.rb +5 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 45cb880e8b33aa0bfaeb971d75b4da4a99aba0ed0b0118c5c4641fc4c7ac63d4
|
4
|
+
data.tar.gz: f9247aae1f526a097479863b30f11e6ac5119cdec7f0ab39de0bee850cffa486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbbbc48b99bc811119380c901343507e2dcd991350992ae0a2366dce94c902f995e308dfc00624bfb0e3985f765783fd2ff03366f89b806eddbff09ae9f87f43
|
7
|
+
data.tar.gz: 644ea34009e24e90ac62fedba4b2afc75e8c5a49b9a97b5e124015edead4baea827414ac86c71792bac8dddcc2389542cb46ac4765fe94993d13cd7f619362e2
|
data/inspec-test-fixture.gemspec
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "inspec-test-fixture/version"
|
5
4
|
|
@@ -14,17 +13,18 @@ Gem::Specification.new do |spec|
|
|
14
13
|
spec.homepage = "https://github.com/inspec/inspec"
|
15
14
|
|
16
15
|
spec.files = [
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
16
|
+
"inspec-test-fixture.gemspec",
|
17
|
+
"inspec.yml",
|
18
|
+
"lib/inspec-test-fixture.rb",
|
19
|
+
"lib/inspec-test-fixture/plugin.rb",
|
20
|
+
"lib/inspec-test-fixture/mock_plugin.rb",
|
21
|
+
"lib/inspec-test-fixture/version.rb",
|
22
22
|
]
|
23
23
|
spec.executables = []
|
24
24
|
spec.require_paths = ["lib"]
|
25
25
|
|
26
26
|
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
-
if InspecPlugins::TestFixture::VERSION
|
27
|
+
if InspecPlugins::TestFixture::VERSION >= "0.2.0"
|
28
28
|
spec.add_dependency "ordinal_array", "~> 0.2.0"
|
29
29
|
end
|
30
30
|
end
|
data/inspec.yml
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
name: inspec-text-fixture
|
2
|
+
title: Resource pack gem for Inspec Test Fixture
|
3
|
+
maintainer: InSpec Core Maintainers
|
4
|
+
copyright: Progress Software Corporation
|
5
|
+
copyright_email: inspec@progress.com
|
6
|
+
license:
|
7
|
+
summary: Test InSpec Resource Pack in a Gem
|
8
|
+
version: 7.1.0
|
9
|
+
supports:
|
10
|
+
platform: os
|
@@ -1,5 +1,5 @@
|
|
1
|
-
require
|
2
|
-
if InspecPlugins::TestFixture::VERSION == Gem::Version.new(
|
1
|
+
require "inspec-test-fixture/version"
|
2
|
+
if InspecPlugins::TestFixture::VERSION == Gem::Version.new("0.2.0")
|
3
3
|
require "ordinal_array"
|
4
4
|
end
|
5
5
|
|
@@ -10,4 +10,4 @@ module InspecPlugins::TextFixture
|
|
10
10
|
Array.respond_to?(:third)
|
11
11
|
end
|
12
12
|
end
|
13
|
-
end
|
13
|
+
end
|
data/lib/inspec-test-fixture.rb
CHANGED
@@ -1,2 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
lib = File.expand_path("../lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
|
4
|
+
require_relative "inspec-test-fixture/version"
|
5
|
+
require_relative "inspec-test-fixture/plugin"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inspec-test-fixture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InSpec Engineering Team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -47,6 +47,7 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- inspec-test-fixture.gemspec
|
50
|
+
- inspec.yml
|
50
51
|
- lib/inspec-test-fixture.rb
|
51
52
|
- lib/inspec-test-fixture/mock_plugin.rb
|
52
53
|
- lib/inspec-test-fixture/plugin.rb
|
@@ -54,7 +55,7 @@ files:
|
|
54
55
|
homepage: https://github.com/inspec/inspec
|
55
56
|
licenses: []
|
56
57
|
metadata: {}
|
57
|
-
post_install_message:
|
58
|
+
post_install_message:
|
58
59
|
rdoc_options: []
|
59
60
|
require_paths:
|
60
61
|
- lib
|
@@ -69,9 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
70
|
- !ruby/object:Gem::Version
|
70
71
|
version: '0'
|
71
72
|
requirements: []
|
72
|
-
|
73
|
-
|
74
|
-
signing_key:
|
73
|
+
rubygems_version: 3.3.3
|
74
|
+
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: A simple test plugin gem for InSpec
|
77
77
|
test_files: []
|