# This configuration was generated by # `rubocop --auto-gen-config` # on 2017-01-24 17:33:24 -0500 using RuboCop version 0.47.0. # 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: 9 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'app/models/riiif/file.rb' - 'app/models/riiif/image.rb' - 'lib/riiif/http_file_resolver.rb' # Offense count: 1 Lint/HandleExceptions: Exclude: - 'spec/models/riiif/http_file_resolver_spec.rb' # Offense count: 1 Lint/UselessAssignment: Exclude: - 'app/models/riiif/file.rb' # Offense count: 4 Metrics/AbcSize: Max: 38 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 103 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 8 # Offense count: 68 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Metrics/LineLength: Max: 120 # Offense count: 7 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 21 # Offense count: 1 # Cop supports --auto-correct. Performance/RedundantMatch: Exclude: - 'lib/riiif/file_system_file_resolver.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, SupportedHashRocketStyles, EnforcedColonStyle, SupportedColonStyles, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. # SupportedHashRocketStyles: key, separator, table # SupportedColonStyles: key, separator, table # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Style/AlignHash: Exclude: - 'lib/riiif/routes.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'app/models/riiif/image.rb' # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: nested, compact Style/ClassAndModuleChildren: Exclude: - 'lib/riiif/rails/routes.rb' # Offense count: 1 # Cop supports --auto-correct. Style/ColonMethodCall: Exclude: - 'lib/riiif/http_file_resolver.rb' # Offense count: 14 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'app/controllers/riiif/images_controller.rb' - 'app/models/riiif/file.rb' - 'app/models/riiif/image.rb' - 'lib/riiif.rb' - 'lib/riiif/abstract_file_system_resolver.rb' - 'lib/riiif/akubra_system_file_resolver.rb' - 'lib/riiif/engine.rb' - 'lib/riiif/file_system_file_resolver.rb' - 'lib/riiif/http_file_resolver.rb' - 'lib/riiif/nil_authorization_service.rb' - 'lib/riiif/rails/routes.rb' - 'lib/riiif/routes.rb' # Offense count: 2 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'app/models/riiif/image.rb' - 'lib/riiif/http_file_resolver.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Style/EmptyLinesAroundClassBody: Exclude: - 'app/models/riiif/file.rb' - 'app/models/riiif/image.rb' - 'lib/riiif/http_file_resolver.rb' # Offense count: 5 # Cop supports --auto-correct. Style/EmptyLinesAroundMethodBody: Exclude: - 'app/models/riiif/file.rb' - 'app/models/riiif/image.rb' - 'lib/riiif/rails/routes.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment. Style/ExtraSpacing: Exclude: - 'lib/riiif/routes.rb'