.rubocop.yml in image_optim_rails-0.4.3 vs .rubocop.yml in image_optim_rails-0.5.0

- old
+ new

@@ -1,32 +1,36 @@ AllCops: Exclude: - '*.gemspec' - 'vendor/**/*' - 'gemfiles/*.gemfile' + NewCops: enable Layout/AccessModifierIndentation: EnforcedStyle: outdent +Layout/AssignmentIndentation: + Enabled: false + Layout/CaseIndentation: EnforcedStyle: end Layout/DotPosition: EnforcedStyle: trailing Layout/EndAlignment: EnforcedStyleAlignWith: variable -Layout/IndentFirstArrayElement: +Layout/FirstArrayElementIndentation: EnforcedStyle: consistent -Layout/IndentAssignment: - Enabled: false - -Layout/IndentFirstHashElement: +Layout/FirstHashElementIndentation: EnforcedStyle: consistent +Layout/LineLength: + Max: 120 + Layout/SpaceBeforeBlockBraces: EnforcedStyle: no_space Layout/SpaceInsideHashLiteralBraces: EnforcedStyle: no_space @@ -36,13 +40,10 @@ Metrics/BlockLength: Exclude: - 'spec/**/*.rb' -Metrics/LineLength: - Max: 120 - Metrics/MethodLength: Max: 25 Style/Alias: EnforcedStyle: prefer_alias_method @@ -54,11 +55,20 @@ Enabled: false Style/ExpandPathArguments: Enabled: false +Style/HashEachMethods: + Enabled: true + Style/HashSyntax: EnforcedStyle: hash_rockets + +Style/HashTransformKeys: + Enabled: false + +Style/HashTransformValues: + Enabled: false Style/IfUnlessModifier: Enabled: false Style/ParallelAssignment: