From c9e6e2ca80be9a20a46313f4e0fb409d40cc2a1b Mon Sep 17 00:00:00 2001 From: Andrii Konchyn Date: Sun, 26 Jul 2026 13:34:51 +0300 Subject: [PATCH 1/2] Restore Rubocop TargetRubyVersion It was removed in 1cd091ab72ed266e863581b00554e45e5ffef024 --- .rubocop.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index a927e998..e986cd04 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -16,8 +16,8 @@ plugins: - rubocop-rspec - rubocop-thread_safety -# It's the lowest supported Ruby version AllCops: + TargetRubyVersion: 2.3 # It's the lowest supported Ruby version DisplayCopNames: true # Display the name of the failing cops NewCops: enable From f52296a988ddd6e468cf37a4b1aefc9116dc717c Mon Sep 17 00:00:00 2001 From: Andrii Konchyn Date: Sun, 26 Jul 2026 13:55:01 +0300 Subject: [PATCH 2/2] Suppress Style/OptionalArguments Rubocop warning for Persistence::Inc.call() --- lib/dynamoid/persistence/inc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dynamoid/persistence/inc.rb b/lib/dynamoid/persistence/inc.rb index e0a48d4a..4fd7c50b 100644 --- a/lib/dynamoid/persistence/inc.rb +++ b/lib/dynamoid/persistence/inc.rb @@ -6,7 +6,7 @@ module Dynamoid module Persistence # @private class Inc - def self.call(model_class, partition_key, sort_key = nil, counters) + def self.call(model_class, partition_key, sort_key = nil, counters) # rubocop:disable Style/OptionalArguments new(model_class, partition_key, sort_key, counters).call end