From 7c18800d9dcfbc4b0296148843af1991cc030b8c Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Thu, 15 Aug 2024 16:29:02 +1200 Subject: [PATCH] Modernize gem. --- .rubocop.yml | 3 +++ benchmark/performance.rb | 2 +- lib/async/redis/context/pipeline.rb | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 442c667..a2447c2 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,6 +16,9 @@ Layout/IndentationConsistency: Enabled: true EnforcedStyle: normal +Layout/BlockAlignment: + Enabled: true + Layout/EndAlignment: Enabled: true EnforcedStyleAlignWith: start_of_line diff --git a/benchmark/performance.rb b/benchmark/performance.rb index 7c8597d..d19c05c 100644 --- a/benchmark/performance.rb +++ b/benchmark/performance.rb @@ -2,7 +2,7 @@ # Released under the MIT License. # Copyright, 2019, by Pierre Montelle. -# Copyright, 2019-2023, by Samuel Williams. +# Copyright, 2019-2024, by Samuel Williams. # Copyright, 2019, by David Ortiz. require 'async/redis' diff --git a/lib/async/redis/context/pipeline.rb b/lib/async/redis/context/pipeline.rb index 0f9bda9..fa45890 100644 --- a/lib/async/redis/context/pipeline.rb +++ b/lib/async/redis/context/pipeline.rb @@ -2,7 +2,7 @@ # Released under the MIT License. # Copyright, 2019, by David Ortiz. -# Copyright, 2019-2023, by Samuel Williams. +# Copyright, 2019-2024, by Samuel Williams. # Copyright, 2022, by Tim Willard. require_relative 'generic'