.rubocop_todo.yml in capybara-screenshot-diff-0.4.0 vs .rubocop_todo.yml in capybara-screenshot-diff-0.5.0

- old
+ new

@@ -1,35 +1,62 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2016-12-23 14:12:31 +0100 using RuboCop version 0.46.0. +# on 2017-06-08 11:42:01 +0200 using RuboCop version 0.49.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. -# Offense count: 3 -Metrics/AbcSize: - Max: 45 +# Offense count: 2 +# Cop supports --auto-correct. +Layout/EmptyLineAfterMagicComment: + Exclude: + - 'capybara-screenshot-diff.gemspec' + - 'lib/capybara/screenshot/diff/version.rb' # Offense count: 1 -Metrics/CyclomaticComplexity: - Max: 12 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent +Layout/IndentHeredoc: + Exclude: + - 'lib/capybara/screenshot/diff/capybara_setup.rb' # Offense count: 4 +Metrics/AbcSize: + Max: 31 + +# Offense count: 2 +Metrics/CyclomaticComplexity: + Max: 8 + +# Offense count: 7 # Configuration parameters: CountComments. Metrics/MethodLength: - Max: 36 + Max: 25 # Offense count: 1 # Configuration parameters: CountKeywordArgs. Metrics/ParameterLists: Max: 6 # Offense count: 1 Metrics/PerceivedComplexity: - Max: 14 + Max: 8 # Offense count: 1 +Performance/Caller: + Exclude: + - 'lib/capybara/screenshot/diff/capybara_setup.rb' + +# Offense count: 1 +# Cop supports --auto-correct. +Security/YAMLLoad: + Exclude: + - 'matrix_test.rb' + +# Offense count: 1 +# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/capybara/screenshot/diff/capybara_setup.rb'