From 6636e192f484da6d7f20141140dd01d681385945 Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Thu, 23 Sep 2021 18:47:37 +0200 Subject: [PATCH] Bump the required ruby_version to 2.4.0 --- .rubocop.yml | 4 ++-- redis.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 36560bcef..ab460be3d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.4 Layout/LineLength: Max: 120 @@ -100,7 +100,7 @@ Style/WordArray: Lint/NonLocalExitFromIterator: Enabled: false -Lint/EndAlignment: +Layout/EndAlignment: EnforcedStyleAlignWith: variable Layout/ElseAlignment: diff --git a/redis.gemspec b/redis.gemspec index b220c492d..afdcaab8b 100644 --- a/redis.gemspec +++ b/redis.gemspec @@ -43,7 +43,7 @@ Gem::Specification.new do |s| s.files = Dir["CHANGELOG.md", "LICENSE", "README.md", "lib/**/*"] s.executables = `git ls-files -- exe/*`.split("\n").map { |f| File.basename(f) } - s.required_ruby_version = '>= 2.3.0' + s.required_ruby_version = '>= 2.4.0' s.add_development_dependency("em-synchrony") s.add_development_dependency("hiredis")