# This configuration was generated by # `rubocop --auto-gen-config` # on 2020-05-22 10:33:52 -0400 using RuboCop version 0.82.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: 7 # Cop supports --auto-correct. # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'lib/asset_cloud/asset_extension.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, no_empty_lines Layout/EmptyLinesAroundBlockBody: Exclude: - 'lib/asset_cloud/callbacks.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only Layout/EmptyLinesAroundClassBody: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'lib/asset_cloud/buckets/versioned_memory_bucket.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines Layout/EmptyLinesAroundModuleBody: Exclude: - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'lib/asset_cloud/free_key_locator.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment. Layout/ExtraSpacing: Exclude: - 'lib/asset_cloud/base.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. # URISchemes: http, https Layout/LineLength: Max: 187 # Offense count: 1 # Cop supports --auto-correct. Layout/RescueEnsureAlignment: Exclude: - 'lib/asset_cloud/buckets/bucket_chain.rb' # Offense count: 5 # Cop supports --auto-correct. Layout/SpaceAfterComma: Exclude: - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/memory_bucket.rb' # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: space, no_space Layout/SpaceAroundEqualsInParameterDefault: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/bucket.rb' - 'lib/asset_cloud/buckets/active_record_bucket.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/memory_bucket.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator. # SupportedStylesForExponentOperator: space, no_space Layout/SpaceAroundOperators: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' # Offense count: 22 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideBlockBraces: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces. # SupportedStyles: space, no_space, compact # SupportedStylesForEmptyBraces: space, no_space Layout/SpaceInsideHashLiteralBraces: Exclude: - 'lib/asset_cloud/buckets/active_record_bucket.rb' # Offense count: 9 # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/active_record_bucket.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/s3_bucket.rb' # Offense count: 2 Lint/DuplicateMethods: Exclude: - 'lib/asset_cloud/asset.rb' # Offense count: 1 Lint/IneffectiveAccessModifier: Exclude: - 'lib/asset_cloud/base.rb' # Offense count: 1 # Configuration parameters: AllowComments. Lint/SuppressedException: Exclude: - 'lib/asset_cloud/buckets/file_system_bucket.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments. Lint/UnusedBlockArgument: Exclude: - 'lib/asset_cloud/buckets/memory_bucket.rb' # Offense count: 9 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods. Lint/UnusedMethodArgument: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/blackhole_bucket.rb' - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/invalid_bucket.rb' # Offense count: 6 Lint/UselessAssignment: Exclude: - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'spec/gcs_bucket_spec.rb' # Offense count: 1 Naming/ConstantName: Exclude: - 'lib/asset_cloud/buckets/invalid_bucket.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/buckets/active_record_bucket.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerBackticks. # SupportedStyles: backticks, percent_x, mixed Style/CommandLiteral: Exclude: - 'asset_cloud.gemspec' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions. # SupportedStyles: assign_to_condition, assign_inside_condition Style/ConditionalAssignment: Exclude: - 'lib/asset_cloud/base.rb' # Offense count: 22 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols. # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys Style/HashSyntax: Exclude: - 'lib/asset_cloud/asset_extension.rb' - 'lib/asset_cloud/buckets/active_record_bucket.rb' # Offense count: 17 # Cop supports --auto-correct. # Configuration parameters: IgnoreMacros, IgnoredMethods, IgnoredPatterns, IncludedMacros, AllowParenthesesInMultilineCall, AllowParenthesesInChaining, AllowParenthesesInCamelCaseMethod, EnforcedStyle. # SupportedStyles: require_parentheses, omit_parentheses Style/MethodCallWithArgsParentheses: Exclude: - 'Gemfile' - 'Rakefile' - 'asset_cloud.gemspec' - 'lib/asset_cloud.rb' - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'lib/asset_cloud/metadata.rb' # Offense count: 2 Style/MethodMissingSuper: Exclude: - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'spec/callbacks_spec.rb' # Offense count: 2 Style/MissingRespondToMissing: Exclude: - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'spec/callbacks_spec.rb' # Offense count: 2 # Cop supports --auto-correct. Style/ParallelAssignment: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/bucket.rb' # Offense count: 2 # Cop supports --auto-correct. Style/PerlBackrefs: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/s3_bucket.rb' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'lib/asset_cloud/buckets/memory_bucket.rb' - 'lib/asset_cloud/buckets/versioned_memory_bucket.rb' # Offense count: 2 # Cop supports --auto-correct. Style/RedundantBegin: Exclude: - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'lib/asset_cloud/buckets/gcs_bucket.rb' # Offense count: 5 # Cop supports --auto-correct. Style/RedundantPercentQ: Exclude: - 'asset_cloud.gemspec' # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/asset_cloud/buckets/bucket_chain.rb' - 'lib/asset_cloud/buckets/gcs_bucket.rb' - 'lib/asset_cloud/buckets/s3_bucket.rb' # Offense count: 14 # Cop supports --auto-correct. Style/RedundantSelf: Exclude: - 'lib/asset_cloud/asset.rb' - 'lib/asset_cloud/buckets/active_record_bucket.rb' - 'lib/asset_cloud/callbacks.rb' - 'lib/asset_cloud/metadata.rb' - 'lib/asset_cloud/validations.rb' # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, AllowInnerSlashes. # SupportedStyles: slashes, percent_r, mixed Style/RegexpLiteral: Exclude: - 'lib/asset_cloud/base.rb' - 'lib/asset_cloud/buckets/file_system_bucket.rb' - 'lib/asset_cloud/buckets/s3_bucket.rb' # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods. # AllowedMethods: present?, blank?, presence, try, try! Style/SafeNavigation: Exclude: - 'lib/asset_cloud/base.rb' # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowIfMethodIsEmpty. Style/SingleLineMethods: Exclude: - 'lib/asset_cloud/asset_extension.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: use_perl_names, use_english_names Style/SpecialGlobalVars: Exclude: - 'asset_cloud.gemspec'