Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing ruby 3.0 and 3.1 #391

Merged
merged 16 commits into from
Apr 10, 2022
Merged

Testing ruby 3.0 and 3.1 #391

merged 16 commits into from
Apr 10, 2022

Conversation

nikhil2611
Copy link
Contributor

Description

Updated the HTTPServerException to HTTPClientException to test ruby 3.0 and 3.1

poorndm and others added 8 commits February 22, 2022 21:08
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: poornima <poorndm@progress.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
@nikhil2611 nikhil2611 requested review from a team as code owners March 29, 2022 09:00
@github-actions
Copy link

Simplecov Report

Covered Threshold
97.85% 90%

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
.byebug_history Outdated
@@ -0,0 +1,26 @@
c

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file doesn't need to commit.
We can add this in .gitignore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added by mistake, I have removed it.

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
@@ -5,5 +5,5 @@
end

Given(/^I create an empty data bag '(.+)'$/) do |databag|
run_command_and_stop "knife data bag create #{databag} -z -c config.rb", { fail_on_error: true }
run_command_and_stop "knife data bag create #{databag} -z -c config.rb", { fail_on_error: false }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we need to set this to false? Is this failing with some error that needs to be addressed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we were already passing false to this function if you see, I just added the key because of the keyword argument and positional argument update in ruby 3.0 and 3.1.
So in the previous ruby versions it was working fine but after 3.0 its throwing error as it expects the key if we pass second argument.

@@ -2,4 +2,4 @@

* @chef/chef-workstation-reviewers @chef/chef-workstation-approvers @chef/chef-workstation-owners
.expeditor/ @chef/jex-team
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikhil2611 feel free to remove this outdated team name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
@nikhil2611 nikhil2611 merged commit bafa633 into main Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants