inspec-containerd-docs 0.1.2 → 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: de767961508a5d1e25080c9ccee53153b06630ae8a6f3bb61c0edcfd3d585320
4
- data.tar.gz: 1ef70635d316aa1ec7d32e436367a085eeec1c90f879d7dc7238291c4c182a94
3
+ metadata.gz: ca4f04d932821c91846780326deec3404e96cff225df804599487de11c6c6064
4
+ data.tar.gz: 506eb8c6cb1da78e04d51a04270e1dd0a74fb45e10252eda7ac878f26d357004
5
5
  SHA512:
6
- metadata.gz: 927e673f62f65552bcade3e315fbc9ec4d12dd2099625e14b7d64655037f658085cefab69f5a3254f6aa7dd55f56dcb8415aa8bf51f1a90505780f0891388e44
7
- data.tar.gz: 0c131b823afd1bf70c533090ccddd911839970906b5d577267cb9ba3696f5f94a66ae3abc9fa944c01ca2f1c47e3627e44d0a21a32aa6dd4c7f470055b86185f
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/version'
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.2".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.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Brinkerhoff