diff --git a/.rubocop.yml b/.rubocop.yml index 2ccc89f3..7b31a297 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -12,7 +12,7 @@ AllCops: - vendor/bundle/**/* NewCops: enable SuggestExtensions: false - TargetRubyVersion: '2.7' + TargetRubyVersion: '2.5' # Disabled Style/ClassAndModuleChildren: diff --git a/puppetlabs_spec_helper.gemspec b/puppetlabs_spec_helper.gemspec index f41967b3..ac97936d 100644 --- a/puppetlabs_spec_helper.gemspec +++ b/puppetlabs_spec_helper.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| spec.executables = Dir['bin/**/*'].map { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.required_ruby_version = Gem::Requirement.new('>= 2.7') + spec.required_ruby_version = Gem::Requirement.new('>= 2.5') spec.add_runtime_dependency 'mocha', '~> 1.0' spec.add_runtime_dependency 'pathspec', '>= 0.2', '< 2.0.0'