inspec-test-fixture 0.1.2 → 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: 047d00e3a75021beee080d12f20d39a5426491c5
4
- data.tar.gz: a40b2b53683b88b18014357d2decf4e5e4335a10
2
+ SHA256:
3
+ metadata.gz: 45cb880e8b33aa0bfaeb971d75b4da4a99aba0ed0b0118c5c4641fc4c7ac63d4
4
+ data.tar.gz: f9247aae1f526a097479863b30f11e6ac5119cdec7f0ab39de0bee850cffa486
5
5
  SHA512:
6
- metadata.gz: e314b7e918c7a76fc3a01e7f5e4882cd1d9a05db7660f80c7456ad6f54c0b4058a6dcc44f83a1fbbd9b6aca34dc51902599002f4fe114afeffd2f659d454836c
7
- data.tar.gz: 04e8ed199e116dcbe1e1666b23815fef462ca011196f3a7ef6de67cd3b7ecb8dbf1a5e0f4f0f2d22f2dbf88ef7dad06fb50d3e142e24bb3288b8e8dcbc53eb4a
6
+ metadata.gz: fbbbc48b99bc811119380c901343507e2dcd991350992ae0a2366dce94c902f995e308dfc00624bfb0e3985f765783fd2ff03366f89b806eddbff09ae9f87f43
7
+ data.tar.gz: 644ea34009e24e90ac62fedba4b2afc75e8c5a49b9a97b5e124015edead4baea827414ac86c71792bac8dddcc2389542cb46ac4765fe94993d13cd7f619362e2
@@ -1,11 +1,10 @@
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
 
6
5
  Gem::Specification.new do |spec|
7
6
  spec.name = "inspec-test-fixture"
8
- spec.version = '0.1.2'
7
+ spec.version = InspecPlugins::TestFixture::VERSION
9
8
  spec.authors = ["InSpec Engineering Team"]
10
9
  spec.email = ["hello@chef.io"]
11
10
 
@@ -14,15 +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
- spec.add_dependency "fake_plugin_dependency"
27
- spec.add_dependency "ordinal_array", "~> 0.2.0"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ if InspecPlugins::TestFixture::VERSION >= "0.2.0"
28
+ spec.add_dependency "ordinal_array", "~> 0.2.0"
29
+ end
28
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_relative '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.1.0"
3
+ VERSION = "0.3.0".freeze
4
4
  end
5
5
  end
@@ -1,5 +1,5 @@
1
- lib = File.expand_path("../../lib", __FILE__)
1
+ lib = File.expand_path("../lib", __dir__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
- require_relative 'inspec-test-fixture/version'
5
- require_relative 'inspec-test-fixture/plugin'
4
+ require_relative "inspec-test-fixture/version"
5
+ require_relative "inspec-test-fixture/plugin"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-test-fixture
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
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-09-28 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
- name: fake_plugin_dependency
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
19
+ version: '10.0'
20
+ type: :development
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: '0'
26
+ version: '10.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ordinal_array
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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.14
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: []