.hound.yml in kt-paperclip-4.4.0 vs .hound.yml in kt-paperclip-5.4.0

- old
+ new

@@ -18,11 +18,12 @@ Exclude: - "vendor/**/*" - "db/schema.rb" - 'vendor/**/*' - 'gemfiles/vendor/**/*' - RunRailsCops: false + Rails: + Enabled: false DisplayCopNames: false StyleGuideCopsOnly: false Style/AccessModifierIndentation: Description: Check indentation of private/protected visibility modifiers. StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected @@ -432,11 +433,11 @@ Enabled: true EnforcedStyle: final_newline SupportedStyles: - final_newline - final_blank_line -Style/TrailingComma: +Style/TrailingCommaInLiteral: Description: Checks for trailing comma in parameter lists and literals. StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas Enabled: false EnforcedStyleForMultiline: no_comma SupportedStyles: @@ -558,15 +559,10 @@ SupportedStyles: - action - filter Include: - app/controllers/**/*.rb -Rails/DefaultScope: - Description: Checks if the argument passed to default_scope is a block. - Enabled: true - Include: - - app/models/**/*.rb Rails/HasAndBelongsToMany: Description: Prefer has_many :through to has_and_belongs_to_many. Enabled: true Include: - app/models/**/*.rb @@ -683,14 +679,10 @@ Enabled: true Style/DefWithParentheses: Description: Use def with parentheses when there are arguments. StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens Enabled: true -Style/DeprecatedHashMethods: - Description: Checks for use of deprecated Hash methods. - StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key - Enabled: false Style/Documentation: Description: Document classes and non-namespace modules. Enabled: false Style/DoubleNegation: Description: Checks for uses of double negation (!!). @@ -838,11 +830,11 @@ Style/SelfAssignment: Description: Checks for places where self-assignment shorthand should have been used. StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment Enabled: false -Style/SingleSpaceBeforeFirstArg: +Style/SpaceBeforeFirstArg: Description: Checks that exactly one space is used between a method name and the first argument for method calls without parentheses. Enabled: true Style/SpaceAfterColon: Description: Use spaces after colons. @@ -850,11 +842,11 @@ Enabled: true Style/SpaceAfterComma: Description: Use spaces after commas. StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators Enabled: true -Style/SpaceAfterControlKeyword: +Style/SpaceAroundKeyword: Description: Use spaces after if/elsif/unless/while/until/case/when. Enabled: true Style/SpaceAfterMethodName: Description: Do not put a space between a method name and the opening parenthesis in a method definition. @@ -878,12 +870,9 @@ Description: No spaces before semicolons. Enabled: true Style/SpaceAroundOperators: Description: Use spaces around operators. StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators - Enabled: true -Style/SpaceBeforeModifierKeyword: - Description: Put a space before the modifier keyword. Enabled: true Style/SpaceInsideBrackets: Description: No spaces after [ or before ]. StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces Enabled: true