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 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