inspec-containerd-docs 0.1.3 → 0.1.5

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: add811be3672c82d8abba1e6923df59f5922053f20c71c53e7c7f97047180ff3
4
+ data.tar.gz: 1b75e8b4841d6cea2ca6b21c40a22ba50c7b2e72570ba4502ebe6bdd8c5528d3
5
5
  SHA512:
6
- metadata.gz: 7e1a6eeadecc15207cb1fbb129f9594d2712d21e54ec876114f68a3f092c68cc22fb1b1b06dbc9a38f3376131d69cbd535f30fd66f98bea7b635e22a0ab08714
7
- data.tar.gz: 8e809cf1ce962f5abb04e305064ecfd83d86ca56a817266f78df77d5948777f4aa63f2f7d3698864b5d8e32444c250942f6ab7b29b47351a1852dbc91c9595a9
6
+ metadata.gz: d8e49a7be7e5316ebbbe5ffbefa1e52c3486d9240d1ed9394fa60da59ce60d2f579435682e63337be92d177e0a43ff39e03a5cd07995efbb3e9ba825c4e95ae6
7
+ data.tar.gz: 714ff2182a9380d9a7a7f2d95711696df9370b5fcaea72f0772992288c34f4720790024aa0c717c96a7cb535e82ad012c8b64bc850269da5be50bb97f7c2dcc2
@@ -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.5".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::ContainerdDocs::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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Brinkerhoff