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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c24afb08bd8a39a9e3e24da019d4797b88f1169c
4
- data.tar.gz: 93b7d8bd80484cd1dfa4ebf6148f5705c04eebed
2
+ SHA256:
3
+ metadata.gz: 45cb880e8b33aa0bfaeb971d75b4da4a99aba0ed0b0118c5c4641fc4c7ac63d4
4
+ data.tar.gz: f9247aae1f526a097479863b30f11e6ac5119cdec7f0ab39de0bee850cffa486
5
5
  SHA512:
6
- metadata.gz: dd5a23e328328400865d2bc838cedb9673f5303b54112cc84198c655cf8c8ab7f838c73da9432d47713c56d911bb6656a64540841f5d10d4ca76ff0bcc98a717
7
- data.tar.gz: 8d4fb009dfabcffed95a9627228cf529b9669be1f5cfb5ba68fa3940b3e5a3a401906f49e55a8b972046a564c501b19b43e227e6b384a63d178b9063f677ba35
6
+ metadata.gz: fbbbc48b99bc811119380c901343507e2dcd991350992ae0a2366dce94c902f995e308dfc00624bfb0e3985f765783fd2ff03366f89b806eddbff09ae9f87f43
7
+ data.tar.gz: 644ea34009e24e90ac62fedba4b2afc75e8c5a49b9a97b5e124015edead4baea827414ac86c71792bac8dddcc2389542cb46ac4765fe94993d13cd7f619362e2
@@ -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
- 'inspec-test-fixture.gemspec',
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',
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 == '0.2.0'
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 'inspec-test-fixture/version'
2
- if InspecPlugins::TestFixture::VERSION == Gem::Version.new('0.2.0')
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
@@ -5,9 +5,9 @@ module InspecPlugins
5
5
  plugin_name :'inspec-test-fixture'
6
6
 
7
7
  mock_plugin_type :'inspec-test-fixture' do
8
- require 'mock_plugin'
8
+ require_relative "mock_plugin"
9
9
  InspecPlugins::TestFixture
10
10
  end
11
11
  end
12
12
  end
13
- end
13
+ end
@@ -1,5 +1,5 @@
1
1
  module InspecPlugins
2
2
  module TestFixture
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0".freeze
4
4
  end
5
5
  end
@@ -1,2 +1,5 @@
1
- require 'inspec-test-fixture/version'
2
- require 'inspec-test-fixture/plugin'
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.2.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: 2018-08-17 00:00:00.000000000 Z
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
- rubyforge_project:
73
- rubygems_version: 2.6.13
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: []