inspec/test/fixtures/config_dirs/test-fixture-1-float
jayashrig158 ffbf2ff554
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>
2022-06-13 14:24:33 -04:00
..
gems add ruby test 3.1 in verify pipeline (#5892) 2022-06-13 14:24:33 -04:00
plugins.json Corresponding fixes for the move from test/unit/mock to test/fixtures. 2019-11-08 19:20:12 -08:00
README.md Corresponding fixes for the move from test/unit/mock to test/fixtures. 2019-11-08 19:20:12 -08:00

This test fixture is a user config dir setup as though the inspec-test-fixture v1 was already installed, and it has no version constraint.

This was accomplished by executing (without bundler) the following commands:

mkdir -p test/fixtures/config_dirs/test-fixture-1-float/gems/{2.3.0,2.4.0,2.5.0}
# Here I'm running a ruby 2.4.x binary with rbenv
gem install -l -N -i test/fixtures/config_dirs/test-fixture-1-float/gems/2.4.0 test/fixtures/plugins/inspec-test-fixture/pkg/inspec-test-fixture-0.1.0.gem

Note that we will need to add an installation tree each time we support a new minor or major version of the Ruby VM.