diff options
author | John <john.mccrae@progress.com> | 2022-12-21 16:10:12 +0000 |
---|---|---|
committer | John <john.mccrae@progress.com> | 2022-12-21 16:10:12 +0000 |
commit | b3eda8cd63c9e37af16b9d59c5039e4bac7dc894 (patch) | |
tree | bba6e885fff006f000ce626ffca927b3897057b2 | |
parent | ce230dfe799f2f37929fa8c05732a2a766d4be92 (diff) | |
download | chef-b3eda8cd63c9e37af16b9d59c5039e4bac7dc894.tar.gz |
Rolling back Ruby2.7 support to Ruby 2.6
Signed-off-by: John <john.mccrae@progress.com>
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | .rubocop.yml | 2 | ||||
-rw-r--r-- | chef-config/chef-config.gemspec | 2 | ||||
-rw-r--r-- | chef-utils/chef-utils.gemspec | 2 | ||||
-rw-r--r-- | chef.gemspec | 2 |
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}" |