# This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude` # on 2020-07-16 10:57:24 UTC using RuboCop version 0.87.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 # Configuration parameters: IgnoredMethods, Max. Metrics/AbcSize: Exclude: - 'lib/infopark_component_cache/component_cache.rb' - 'spec/support/cache_switching_macros.rb' # Offense count: 8 # Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods. # ExcludedMethods: refine Metrics/BlockLength: Exclude: - '**/*.gemspec' - 'spec/lib/infopark_component_cache/component_cache_spec.rb' - 'spec/lib/infopark_component_cache/delayed_guard_spec.rb' - 'spec/lib/infopark_component_cache/guards/last_changed_spec.rb' - 'spec/lib/infopark_component_cache/guards/obj_count_spec.rb' - 'spec/lib/infopark_component_cache/guards/valid_from_spec.rb' - 'spec/lib/infopark_component_cache/guards/valid_until_spec.rb' # Offense count: 3 # Configuration parameters: CountComments, Max, CountAsOne, ExcludedMethods. Metrics/MethodLength: Exclude: - 'lib/infopark_component_cache/component_cache.rb' - 'lib/infopark_component_cache/delayed_guard.rb' # Offense count: 1 # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/infopark_component_cache/volatile_cache.rb' # Offense count: 3 # Configuration parameters: Max. RSpec/ExampleLength: Exclude: - 'spec/lib/infopark_component_cache/component_cache_spec.rb' - 'spec/lib/infopark_component_cache/delayed_guard_spec.rb' # Offense count: 5 # Configuration parameters: Max, AggregateFailuresByDefault. RSpec/MultipleExpectations: Exclude: - 'spec/lib/infopark_component_cache/component_cache_spec.rb' - 'spec/lib/infopark_component_cache/delayed_guard_spec.rb' # Offense count: 1 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/lib/infopark_component_cache/component_cache_spec.rb' # Offense count: 1 Style/ClassVars: Exclude: - 'lib/infopark_component_cache/volatile_cache_storage.rb' # Offense count: 5 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'app/helpers/infopark_component_cache_helper.rb' - 'lib/engine.rb' - 'lib/infopark_component_cache.rb' - 'lib/infopark_component_cache/delayed_guard.rb' - 'lib/infopark_component_cache/key_generator.rb' # Offense count: 52 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'infopark_component_cache.gemspec' - 'spec/dummy/config/boot.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. # IgnoredMethods: respond_to, define_method Style/SymbolProc: Exclude: - 'spec/lib/infopark_component_cache/guards/last_changed_spec.rb' - 'spec/lib/infopark_component_cache/guards/obj_count_spec.rb' - 'spec/lib/infopark_component_cache/guards/valid_from_spec.rb' - 'spec/lib/infopark_component_cache/guards/valid_until_spec.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Exclude: - 'lib/infopark_component_cache/abstract_cache_storage.rb' - 'lib/infopark_component_cache/component.rb' - 'spec/dummy/config/initializers/secret_token.rb' - 'spec/lib/infopark_component_cache/guards/always_consistent_spec.rb'