summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@chef.io>2020-10-16 17:45:09 -0700
committerGitHub <noreply@github.com>2020-10-16 17:45:09 -0700
commit4164b5aa3625091c6e12fbbb7df5ecaccba7c06c (patch)
tree489e6ba90de963c82d09e9d93b4c09a41744f145
parent903262ca4ee5bc2b3f0216a4e2fba058bbe85787 (diff)
parent1fd32442beb936de1f0fc4a688f5bb5939fa8c7b (diff)
downloadchef-4164b5aa3625091c6e12fbbb7df5ecaccba7c06c.tar.gz
Merge pull request #10525 from chef/ruby_version_all_gems
Add required_ruby_version to chef-utils and chef-config
-rw-r--r--chef-config/chef-config.gemspec2
-rw-r--r--chef-utils/chef-utils.gemspec2
2 files changed, 4 insertions, 0 deletions
diff --git a/chef-config/chef-config.gemspec b/chef-config/chef-config.gemspec
index 6b4312c13d..9ff3b43f44 100644
--- a/chef-config/chef-config.gemspec
+++ b/chef-config/chef-config.gemspec
@@ -12,6 +12,8 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/chef/chef"
spec.license = "Apache-2.0"
+ spec.required_ruby_version = ">= 2.6.0"
+
spec.require_paths = ["lib"]
spec.add_dependency "chef-utils", "= #{ChefConfig::VERSION}"
diff --git a/chef-utils/chef-utils.gemspec b/chef-utils/chef-utils.gemspec
index 0fd6ad668d..b64cc4dc18 100644
--- a/chef-utils/chef-utils.gemspec
+++ b/chef-utils/chef-utils.gemspec
@@ -12,6 +12,8 @@ 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.6.0"
+
spec.metadata = {
"bug_tracker_uri" => "https://github.com/chef/chef/issues",
"changelog_uri" => "https://github.com/chef/chef/CHANGELOG.md",