diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index c3c30fa..4868fcf 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2022-02-17 18:38:52 UTC using RuboCop version 1.25.1. +# on 2023-03-27 19:15:05 UTC using RuboCop version 1.48.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 @@ -17,50 +17,45 @@ Lint/UselessAssignment: - 'spec/helpers.rb' # Offense count: 7 -# Configuration parameters: IgnoredMethods, CountRepeatedAttributes. +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. Metrics/AbcSize: Max: 33 -# Offense count: 25 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. -# IgnoredMethods: refine +# Offense count: 1 +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. +# AllowedMethods: refine Metrics/BlockLength: - Max: 181 + Max: 27 # Offense count: 1 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: Max: 152 -# Offense count: 3 -# Configuration parameters: IgnoredMethods. +# Offense count: 4 +# Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/CyclomaticComplexity: Max: 11 -# Offense count: 10 -# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods. +# Offense count: 11 +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: Max: 21 # Offense count: 1 -# Configuration parameters: CountComments, CountAsOne. -Metrics/ModuleLength: - Max: 1657 - -# Offense count: 1 -# Configuration parameters: IgnoredMethods. +# Configuration parameters: AllowedMethods, AllowedPatterns. Metrics/PerceivedComplexity: Max: 11 # Offense count: 9 -# Configuration parameters: Prefixes. +# Configuration parameters: Prefixes, AllowedPatterns. # Prefixes: when, with, without RSpec/ContextWording: Exclude: - 'spec/lib/geo_combine/geoblacklight_spec.rb' - 'spec/lib/geo_combine/ogp_spec.rb' -# Offense count: 9 +# Offense count: 11 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 12 @@ -78,10 +73,10 @@ RSpec/FilePath: Exclude: - 'spec/lib/geo_combine_spec.rb' -# Configuration parameters: . +# Offense count: 23 +# Configuration parameters: EnforcedStyle. # SupportedStyles: have_received, receive RSpec/MessageSpies: - EnforcedStyle: have_received Exclude: - 'spec/lib/geo_combine/esri_open_data_spec.rb' - 'spec/lib/geo_combine/geo_blacklight_harvester_spec.rb' @@ -89,7 +84,7 @@ RSpec/MessageSpies: - 'spec/lib/geo_combine/ogp_spec.rb' - 'spec/lib/geo_combine_spec.rb' -# Offense count: 39 +# Offense count: 48 RSpec/MultipleExpectations: Max: 5 @@ -99,12 +94,14 @@ RSpec/MultipleMemoizedHelpers: Max: 7 # Offense count: 5 -# Configuration parameters: IgnoreSharedExamples. +# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. +# SupportedStyles: always, named_only RSpec/NamedSubject: Exclude: - 'spec/lib/geo_combine/formatting_spec.rb' # Offense count: 8 +# Configuration parameters: AllowedGroups. RSpec/NestedGroups: Max: 4 @@ -113,6 +110,11 @@ RSpec/OverwritingSetup: Exclude: - 'spec/lib/geo_combine/geoblacklight_spec.rb' +# Offense count: 1 +RSpec/PendingWithoutReason: + Exclude: + - 'spec/lib/geo_combine/migrators/v1_aardvark_migrator_spec.rb' + # Offense count: 2 RSpec/RepeatedExampleGroupBody: Exclude: @@ -157,9 +159,9 @@ Style/Documentation: - 'lib/geo_combine/geometry_types.rb' - 'lib/geo_combine/iso19139.rb' -# Offense count: 7 -# Cop supports --auto-correct. -# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. +# Offense count: 8 +# This cop supports safe autocorrection (--autocorrect). +# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 159