From 9ecfad0122a75ccb67a586fc79f00128216937e9 Mon Sep 17 00:00:00 2001 From: Nikita Mathur Date: Fri, 18 Mar 2022 17:27:10 +0530 Subject: [PATCH] Added gemspec file to core plugins to be used in plugin listing for description Signed-off-by: Nikita Mathur --- lib/plugins/inspec-artifact/inspec-artifact.gemspec | 9 +++++++++ .../inspec-compliance/inspec-compliance.gemspec | 9 +++++++++ lib/plugins/inspec-habitat/inspec-habitat.gemspec | 9 +++++++++ lib/plugins/inspec-init/inspec-init.gemspec | 9 +++++++++ .../inspec-plugin-manager-cli.gemspec | 10 ++++++++++ .../inspec-reporter-html2.gemspec | 9 +++++++++ .../inspec-reporter-json-min.gemspec | 9 +++++++++ .../inspec-reporter-junit.gemspec | 9 +++++++++ .../inspec-streaming-reporter-progress-bar.gemspec | 9 +++++++++ 9 files changed, 82 insertions(+) create mode 100644 lib/plugins/inspec-artifact/inspec-artifact.gemspec create mode 100644 lib/plugins/inspec-compliance/inspec-compliance.gemspec create mode 100644 lib/plugins/inspec-habitat/inspec-habitat.gemspec create mode 100644 lib/plugins/inspec-init/inspec-init.gemspec create mode 100644 lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec create mode 100644 lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec create mode 100644 lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec create mode 100644 lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec create mode 100644 lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec diff --git a/lib/plugins/inspec-artifact/inspec-artifact.gemspec b/lib/plugins/inspec-artifact/inspec-artifact.gemspec new file mode 100644 index 000000000..9a1a0bc6a --- /dev/null +++ b/lib/plugins/inspec-artifact/inspec-artifact.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-artifact" + spec.summary = "" + spec.description = "Plugin to generate asymmetrical keys that you can use to encrypt profiles" + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-compliance/inspec-compliance.gemspec b/lib/plugins/inspec-compliance/inspec-compliance.gemspec new file mode 100644 index 000000000..d158e8408 --- /dev/null +++ b/lib/plugins/inspec-compliance/inspec-compliance.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-compliance" + spec.summary = "Plugin to perform operations with Chef Automate" + spec.description = "This extensions will allow you to interact with Chef Automate" + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-habitat/inspec-habitat.gemspec b/lib/plugins/inspec-habitat/inspec-habitat.gemspec new file mode 100644 index 000000000..9a5c37d72 --- /dev/null +++ b/lib/plugins/inspec-habitat/inspec-habitat.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-habitat" + spec.summary = "Plugin to create/upload habitat package" + spec.description = "This extensions will allow you to create/upload habitat package from an inspec profile." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-init/inspec-init.gemspec b/lib/plugins/inspec-init/inspec-init.gemspec new file mode 100644 index 000000000..8def737f7 --- /dev/null +++ b/lib/plugins/inspec-init/inspec-init.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-init" + spec.summary = "Plugin for scaffolding profile, plugin or a resource" + spec.description = "This extensions helps you to easily create a new profile, plugin or a resource." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec b/lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec new file mode 100644 index 000000000..a722c1a00 --- /dev/null +++ b/lib/plugins/inspec-plugin-manager-cli/inspec-plugin-manager-cli.gemspec @@ -0,0 +1,10 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-plugin-manager-cli" + spec.summary = "CLI plugin for InSpec" + spec.description = "This is a CLI plugin for InSpec. It uses the Plugins API v2 to create a + series of commands to manage plugins." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec b/lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec new file mode 100644 index 000000000..f957b4512 --- /dev/null +++ b/lib/plugins/inspec-reporter-html2/inspec-reporter-html2.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-reporter-html2" + spec.summary = "Improved HTML reporter plugin" + spec.description = "An improved HTML output reporter specifically for Chef InSpec. Unlike the default html reporter, which is RSpec-based, this reporter knows about Chef InSpec structures like Controls and Profiles, and includes full metadata such as control tags, etc." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec b/lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec new file mode 100644 index 000000000..3713379e0 --- /dev/null +++ b/lib/plugins/inspec-reporter-json-min/inspec-reporter-json-min.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-reporter-json-min" + spec.summary = "Json-min json reporter plugin" + spec.description = "This plugin provides the `json-min` reporter, which produces test output in JSON format with less detail than the `json` reporter." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec b/lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec new file mode 100644 index 000000000..0dcc30a13 --- /dev/null +++ b/lib/plugins/inspec-reporter-junit/inspec-reporter-junit.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-reporter-junit" + spec.summary = "JUnit XML reporter plugin" + spec.description = "`junit` is the legacy Chef InSpec JUnit reporter, which is retained for backwards compatibility. It generates an XML report in Apache Ant JUnit format. The output format is considered nonstandard in several ways. New users are advised to use `junit2`." + spec.license = "Apache-2.0" +end \ No newline at end of file diff --git a/lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec b/lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec new file mode 100644 index 000000000..d909c8aa6 --- /dev/null +++ b/lib/plugins/inspec-streaming-reporter-progress-bar/inspec-streaming-reporter-progress-bar.gemspec @@ -0,0 +1,9 @@ +# .gemspec file is added to add plugin details +# These specs are used in plugin list and search command + +Gem::Specification.new do |spec| + spec.name = "inspec-streaming-reporter-progress-bar" + spec.summary = "Progress bar streaming reporter plugin" + spec.description = "This plugin is a streaming reporter plugin which shows the real-time progress of a running InSpec profile using a progress bar. It also outputs the ID of a running control with an indicator showing if the control has passed, failed or skipped." + spec.license = "Apache-2.0" +end \ No newline at end of file