diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 411c67b..6e84acf 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.21.0. +# using RuboCop version 1.76.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -10,7 +10,7 @@ Lint/FloatComparison: Exclude: - 'lib/pinhole/image.rb' -# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 47 @@ -18,6 +18,12 @@ Metrics/AbcSize: Metrics/ClassLength: Max: 143 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 48 + +# Configuration parameters: Mode, AllowedMethods. +# AllowedMethods: call +Naming/PredicateMethod: + Exclude: + - 'lib/pinhole/image.rb' diff --git a/pinhole.gemspec b/pinhole.gemspec index b935e54..383845a 100644 --- a/pinhole.gemspec +++ b/pinhole.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rake", "~> 13.0" spec.add_development_dependency "rake-manifest", "~> 0.2.0" - spec.add_development_dependency "rubocop", "~> 1.75" + spec.add_development_dependency "rubocop", "~> 1.76" spec.add_development_dependency "rubocop-packaging", "~> 0.6.0" spec.add_development_dependency "rubocop-performance", "~> 1.25" spec.add_development_dependency "rubocop-rake", "~> 0.7.1"