.rubocop_todo.yml in assembly-image-1.9.0 vs .rubocop_todo.yml in assembly-image-2.0.0

- old
+ new

@@ -1,8 +1,8 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-02-28 19:49:08 UTC using RuboCop version 1.25.1. +# on 2022-06-16 22:15:07 UTC using RuboCop version 1.30.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 # versions of RuboCop, may require this file to be generated again. @@ -11,28 +11,38 @@ # Include: **/*.gemspec Gemspec/RequiredRubyVersion: Exclude: - 'assembly-image.gemspec' -# Offense count: 3 -# Cop supports --auto-correct. +# Offense count: 2 +# This cop supports safe autocorrection (--autocorrect). Lint/RedundantCopDisableDirective: Exclude: - 'lib/assembly-image/image.rb' - 'lib/assembly-image/images.rb' # Offense count: 2 +# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. +Metrics/AbcSize: + Max: 20 + +# Offense count: 14 +# Configuration parameters: CountAsOne. +RSpec/ExampleLength: + Max: 15 + +# Offense count: 2 # Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly. # Include: **/*_spec*rb*, **/spec/**/* RSpec/FilePath: Exclude: - 'spec/image_spec.rb' - 'spec/images_spec.rb' # Offense count: 21 RSpec/MultipleExpectations: - Max: 10 + Max: 13 # Offense count: 5 RSpec/UnspecifiedException: Exclude: - 'spec/image_spec.rb' @@ -42,11 +52,11 @@ Style/CombinableLoops: Exclude: - 'spec/images_spec.rb' # Offense count: 1 -# Cop supports --auto-correct. +# This cop supports unsafe autocorrection (--autocorrect-all). Style/GlobalStdStream: Exclude: - 'lib/assembly-image/images.rb' # Offense count: 1 @@ -54,11 +64,11 @@ # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: Exclude: - 'lib/assembly-image/image.rb' -# Offense count: 8 -# Cop supports --auto-correct-all. +# Offense count: 7 +# This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'bin/console' - 'config/boot.rb'