summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McCrae <john.mccrae@progress.com>2022-12-21 08:59:20 -0800
committerGitHub <noreply@github.com>2022-12-21 08:59:20 -0800
commitbcaf42b58fe5d1fda063bda0e5cb0f8636175d23 (patch)
treeb8156d135caccbc808d8fb9e17f9e0a35aa2aafd
parent00a1f93e8a20ab9685797d704982e31d894c7674 (diff)
parentb3eda8cd63c9e37af16b9d59c5039e4bac7dc894 (diff)
downloadchef-bcaf42b58fe5d1fda063bda0e5cb0f8636175d23.tar.gz
Merge pull request #13453 from chef/jfm/chef16_ruby26_rollback
Rolling back Ruby2.7 support to Ruby 2.6
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--.rubocop.yml2
-rw-r--r--chef-config/chef-config.gemspec2
-rw-r--r--chef-utils/chef-utils.gemspec2
-rw-r--r--chef.gemspec2
5 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e5377e001a..2ff15e762b 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7
+ ruby-version: 2.6
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- run: bundle exec chefstyle -c .rubocop.yml
diff --git a/.rubocop.yml b/.rubocop.yml
index 84bbcc8191..b88ed74196 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -1,5 +1,5 @@
AllCops:
- TargetRubyVersion: 2.7
+ TargetRubyVersion: 2.6
Exclude:
- "spec/data/**/*"
- "vendor/**/*"
diff --git a/chef-config/chef-config.gemspec b/chef-config/chef-config.gemspec
index 878cd75584..08086ff25b 100644
--- a/chef-config/chef-config.gemspec
+++ b/chef-config/chef-config.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/chef/chef"
spec.license = "Apache-2.0"
- spec.required_ruby_version = ">= 2.7"
+ spec.required_ruby_version = ">= 2.6.0"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/chef/chef/issues",
diff --git a/chef-utils/chef-utils.gemspec b/chef-utils/chef-utils.gemspec
index 4dc7a39513..836fef1ff9 100644
--- a/chef-utils/chef-utils.gemspec
+++ b/chef-utils/chef-utils.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/chef/chef/tree/master/chef-utils"
spec.license = "Apache-2.0"
- spec.required_ruby_version = ">= 2.7"
+ spec.required_ruby_version = ">= 2.6.0"
spec.metadata = {
"bug_tracker_uri" => "https://github.com/chef/chef/issues",
diff --git a/chef.gemspec b/chef.gemspec
index 4a5cb9d785..0103a6d9e6 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
s.email = "adam@chef.io"
s.homepage = "https://www.chef.io"
- s.required_ruby_version = ">= 2.7"
+ s.required_ruby_version = ">= 2.6.0"
s.add_dependency "chef-config", "= #{Chef::VERSION}"
s.add_dependency "chef-utils", "= #{Chef::VERSION}"