inspec-containerd-docs 0.1.3 → 0.1.4

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: aefe27314fd39d0260ccbe2f2be5a1a1253a988792636ed89396f55d794cdb89
4
- data.tar.gz: be6192dc3a0f1aa0460cfb22cdb414b3a4977236dd61f37b02e1ed54e80a18f2
3
+ metadata.gz: ca4f04d932821c91846780326deec3404e96cff225df804599487de11c6c6064
4
+ data.tar.gz: 506eb8c6cb1da78e04d51a04270e1dd0a74fb45e10252eda7ac878f26d357004
5
5
  SHA512:
6
- metadata.gz: 7e1a6eeadecc15207cb1fbb129f9594d2712d21e54ec876114f68a3f092c68cc22fb1b1b06dbc9a38f3376131d69cbd535f30fd66f98bea7b635e22a0ab08714
7
- data.tar.gz: 8e809cf1ce962f5abb04e305064ecfd83d86ca56a817266f78df77d5948777f4aa63f2f7d3698864b5d8e32444c250942f6ab7b29b47351a1852dbc91c9595a9
6
+ metadata.gz: a0585f86d88c8b1105196acb8a8b528f9f74d4b88f5742cf5f2b488d6061c6832e191b1cbfdc714b00f4b0fef30fd3f9297ad1e8cb46462a156b4fff0bd90d9c
7
+ data.tar.gz: a178bce3c5f838782755c9f228c9c4f02f7b5e69e36d7d5e1ae51e2ca4c502db4b205de27c8c531b09c84f0b6efffe426d0a6df1b41746772da581362322a3e4
@@ -1,24 +1,26 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  # Plugin Definition file
4
- # The purpose of this file is to declare to InSpec what plugin_types (capabilities)
5
- # are included in this plugin, and provide hooks that will load them as needed.
6
-
7
- # It is important that this file load successfully and *quickly*.
8
- # Your plugin's functionality may never be used on this InSpec run; so we keep things
9
- # fast and light by only loading heavy things when they are needed.
4
+ # The purpose of this file is to declare to InSpec what plugin_types
10
5
 
11
6
  require "inspec-containerd-docs/version"
12
7
  module InspecPlugins
13
8
  module ContainerdDocs
14
- class Plugin < ::Inspec.plugin(2)
9
+ class Plugin < ::Inspec.plugin(2, :cli_command)
15
10
  # Internal machine name of the plugin. InSpec will use this in errors, etc.
16
11
  plugin_name :'inspec-containerd-docs'
12
+
13
+ def initialize(opts)
14
+ super(opts)
15
+ end
16
+
17
+ def execute
18
+ puts 'Hello World'
17
19
 
18
- # Define an Input plugin type.
19
- cli_command :'containerd' do
20
- require 'inspec-containerd-docs/cli'
21
- InspecPlugins::ContainerdDocs::CliCommand
20
+ # # Define an Input plugin type.
21
+ # cli_command :'containerd' do
22
+ # require 'inspec-containerd-docs/cli'
23
+ # InspecPlugins::ContainerdDocs::CliCommand
22
24
  end
23
25
  end
24
26
  end
@@ -5,6 +5,6 @@
5
5
  # to learn the current version.
6
6
  module InspecPlugins
7
7
  module ContainerdDocs
8
- VERSION = "0.1.3".freeze
8
+ VERSION = "0.1.4".freeze
9
9
  end
10
10
  end
@@ -2,3 +2,5 @@ libdir = File.dirname(__FILE__)
2
2
  $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
3
3
 
4
4
  require "inspec-containerd-docs/plugin"
5
+
6
+ InspecPlugins::Containerd::Plugin.new({}).execute
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec-containerd-docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Brinkerhoff