From 9e9864d3839e1a78703e6662b0dbe7a04af05fd1 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 5 May 2021 16:10:47 -0700 Subject: [PATCH] Make sure the gem requires Ruby 2.5+ Signed-off-by: Tim Smith --- chefstyle.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chefstyle.gemspec b/chefstyle.gemspec index 709aa22..138aa43 100644 --- a/chefstyle.gemspec +++ b/chefstyle.gemspec @@ -12,7 +12,7 @@ Gem::Specification.new do |spec| spec.summary = %q{RuboCop configuration for Chef's ruby projects} spec.homepage = "https://github.com/chef/chefstyle" spec.license = "Apache-2.0" - spec.required_ruby_version = ">= 2.4" + spec.required_ruby_version = ">= 2.5" spec.files = %w{LICENSE chefstyle.gemspec} + Dir.glob("{bin,config,lib}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) } spec.executables = %w{chefstyle}