inspec/lib/plugins
Nikita Mathur fa1d9354e7
Use Ruby 3.1 for InSpec 4; Drop EOL 2.7 (#6713)
* Verify pipeline tests upgraded to ruby 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Removed unused test fixtures of older ruby version

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Updates test fixtures from ruby 2.7 to ruby 3.0 & 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Habitat package upgrade to ruby 31

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Upgraded omnibus ruby version to ruby 3.1

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Update ruby gem version in expeditor verify

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* Update ruby gem version to ruby 3.3.3 in expeditor verify

Signed-off-by: Nik08 <nikita.mathur@progress.com>

* add ruby test 3.1 in verify pipeline (#5892)

* add ruby test 3.1 in verify pipeline

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* updating rubygem to 3.3.3

Signed-off-by: jayashri garud <jgarud@msystechnologies.com>

* Test fixture plugin files for ABI 3.1.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Add ruby platform debug message to test parallel output

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>

* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>

Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>

* Inputs test fix as fixed in vasundhara/ruby-3-support

Signed-off-by: Nik08 <nikita.mathur@progress.com>

---------

Signed-off-by: Nik08 <nikita.mathur@progress.com>
Co-authored-by: jayashrig158 <61735743+jayashrig158@users.noreply.github.com>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-09-29 19:14:27 -04:00
..
inspec-artifact Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
inspec-compliance Buildkite fixes 2022-03-03 10:08:36 -05:00
inspec-habitat Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
inspec-init Change master to main branch for inspec-gcp and inspec-azure repo 2021-08-31 14:04:38 +05:30
inspec-plugin-manager-cli Fix failing plugin search test, failing since we published a new test gem (#6674) (#6683) 2023-09-26 12:17:00 -07:00
inspec-reporter-html2 Use Ruby 3.1 for InSpec 4; Drop EOL 2.7 (#6713) 2023-09-29 19:14:27 -04:00
inspec-reporter-json-min Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
inspec-reporter-junit Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
shared Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
README.md Plugins: Add support for 'bundles' migration (#3384) 2018-09-18 00:00:54 -04:00
things-for-train-integration.rb Plugins: Support for Train Plugins in InSpec (#3444) 2018-09-27 18:46:35 -04:00

Core Plugins of InSpec

This area contains the plugins that ship with InSpec. They are automatically detected by the plugin loader.

inspec-* directories

Each subdirectory here that begins with inspec- is intended to be a self-contained plugin project, with code, docs, and tests.

shared directory

This directory contains material that is reusable for core plugins, such as a test helper tuned to assisting core plugin testing.