From 8045aa05b30969c5fa240b99d82a9651610fee6d Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 6 Jun 2024 15:13:42 +0530 Subject: [PATCH 1/5] update ruby to 3.3 Signed-off-by: nikhil2611 --- .rubocop.yml | 2 +- kitchen-ec2.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8fd406e5..133890e7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - chefstyle AllCops: - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.3 Include: - "**/*.rb" Exclude: diff --git a/kitchen-ec2.gemspec b/kitchen-ec2.gemspec index f3572a3b..85110b22 100644 --- a/kitchen-ec2.gemspec +++ b/kitchen-ec2.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep(/LICENSE|^lib/) gem.require_paths = ["lib"] - gem.required_ruby_version = ">= 3.1" + gem.required_ruby_version = ">= 3.3" gem.add_dependency "aws-sdk-ec2", "~> 1.0" gem.add_dependency "retryable", ">= 2.0", "< 4.0" # 4.0 will need to be validated From 8f6c424efdd42032b3c0cf4cc2b6dbc86a5761be Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Mon, 10 Jun 2024 16:59:21 +0530 Subject: [PATCH 2/5] reverted ruby back to >=3.1 Signed-off-by: nikhil2611 --- .rubocop.yml | 2 +- kitchen-ec2.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 133890e7..8fd406e5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - chefstyle AllCops: - TargetRubyVersion: 3.3 + TargetRubyVersion: 3.1 Include: - "**/*.rb" Exclude: diff --git a/kitchen-ec2.gemspec b/kitchen-ec2.gemspec index 85110b22..f3572a3b 100644 --- a/kitchen-ec2.gemspec +++ b/kitchen-ec2.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).grep(/LICENSE|^lib/) gem.require_paths = ["lib"] - gem.required_ruby_version = ">= 3.3" + gem.required_ruby_version = ">= 3.1" gem.add_dependency "aws-sdk-ec2", "~> 1.0" gem.add_dependency "retryable", ">= 2.0", "< 4.0" # 4.0 will need to be validated From ca102997e8e9626ecc6a45bbf869cf02434e4a3d Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 13 Jun 2024 12:19:08 +0530 Subject: [PATCH 3/5] updated to point .github to @main to test the ruby 3.3 Signed-off-by: nikhil2611 --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bfc1c80f..925ce2dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,4 +6,4 @@ name: "Test" jobs: lint-unit: - uses: test-kitchen/.github/.github/workflows/lint-unit.yml@v0.1.2 + uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main From 22ae6e0b4e095ba50043ec4ad6e8e8f296fecaa2 Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 13 Jun 2024 13:13:53 +0530 Subject: [PATCH 4/5] updated to target ruby 3.3 Signed-off-by: nikhil2611 --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8fd406e5..133890e7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - chefstyle AllCops: - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.3 Include: - "**/*.rb" Exclude: From 3a9ac74f269ecf4222e38216e35a101895ca8deb Mon Sep 17 00:00:00 2001 From: nikhil2611 Date: Thu, 13 Jun 2024 13:16:58 +0530 Subject: [PATCH 5/5] reverted to target ruby 3.1 Signed-off-by: nikhil2611 --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 133890e7..8fd406e5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - chefstyle AllCops: - TargetRubyVersion: 3.3 + TargetRubyVersion: 3.1 Include: - "**/*.rb" Exclude: