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

Ruby upgrade to 3.3 #29

Closed
wants to merge 2 commits into from
Closed

Conversation

nikhil2611
Copy link

@nikhil2611 nikhil2611 commented Jul 15, 2024

Description

Added ruby upgrade to 3.3

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
@nikhil2611 nikhil2611 requested review from a team as code owners July 15, 2024 07:29
@nikhil2611 nikhil2611 changed the title ruby upgrade to 3.3 Ruby upgrade to 3.3 Jul 15, 2024
Signed-off-by: nikhil2611 <nikhilgupta2102@gmail.com>
Copy link
Collaborator

@tpowell-progress tpowell-progress left a comment

Choose a reason for hiding this comment

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

We still need to support Ruby 3.0 and Chef 17 minimum

@@ -12,16 +12,16 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/chef/fauxhai"
spec.license = "MIT"

spec.required_ruby_version = ">= 2.7"
spec.required_ruby_version = ">= 3.3"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Chef 18 supports 3.0 for AIX.

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.7', '3.0', '3.1' ]
ruby: [ '3.3' ]
Copy link
Collaborator

Choose a reason for hiding this comment

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

We still support 3.0 and 3.1.


spec.files = %w{LICENSE Gemfile fauxhai-chef.gemspec} + Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
spec.executables = "fauxhai"
spec.require_paths = ["lib"]

spec.add_runtime_dependency "net-ssh"

spec.add_development_dependency "chef", ">= 13.0"
spec.add_development_dependency "ohai", ">= 13.0"
spec.add_development_dependency "chef", "~> 18.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know that we should jump to ~> 18.0 _Maybe ">= 17.0"`

@tpowell-progress
Copy link
Collaborator

We need to have a discussion about how to go about this.

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.

2 participants