diff --git a/.rubocop.yml b/.rubocop.yml index 99f84d8ef02..604300a1179 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -55,7 +55,7 @@ Lint/DuplicateCaseCondition: Lint/DuplicateMethods: Enabled: true -Lint/DuplicatedKey: +Lint/DuplicateHashKey: Enabled: true Lint/EachWithObjectArgument: @@ -106,7 +106,7 @@ Lint/LiteralInInterpolation: Lint/Loop: Enabled: true -Lint/MultipleCompare: +Lint/MultipleComparison: Enabled: true Lint/NestedPercentLiteral: @@ -171,7 +171,7 @@ Lint/ShadowedArgument: Lint/ShadowingOuterLocalVariable: Enabled: true -Lint/StringConversionInInterpolation: +Lint/RedundantStringCoercion: Enabled: true Lint/Syntax: @@ -213,10 +213,10 @@ Layout/AccessModifierIndentation: Enabled: true EnforcedStyle: outdent -Layout/AlignArray: +Layout/ArrayAlignment: Enabled: true -Layout/AlignParameters: +Layout/ParameterAlignment: Enabled: true EnforcedStyle: with_fixed_indentation @@ -292,18 +292,18 @@ Layout/EndOfLine: Layout/ExtraSpacing: Enabled: true -Layout/IndentAssignment: +Layout/AssignmentIndentation: Enabled: true -Layout/IndentFirstArrayElement: +Layout/FirstArrayElementIndentation: Enabled: true EnforcedStyle: consistent -Layout/IndentFirstHashElement: +Layout/FirstHashElementIndentation: Enabled: true EnforcedStyle: special_inside_parentheses -Layout/IndentFirstArgument: +Layout/FirstArgumentIndentation: Enabled: true Layout/IndentationConsistency: @@ -315,7 +315,7 @@ Layout/IndentationWidth: Layout/InitialIndentation: Enabled: true -Layout/LeadingBlankLines: +Layout/LeadingEmptyLines: Enabled: true Layout/LeadingCommentSpace: @@ -386,7 +386,7 @@ Layout/SpaceInsideStringInterpolation: Layout/Tab: Enabled: true -Layout/TrailingBlankLines: +Layout/TrailingEmptyLines: Enabled: true Layout/TrailingWhitespace: @@ -415,7 +415,7 @@ Naming/HeredocDelimiterCase: Naming/MethodName: Enabled: true -Naming/UncommunicativeBlockParamName: +Naming/BlockParameterName: Enabled: true Naming/VariableName: diff --git a/spec/support/rubygems_ext.rb b/spec/support/rubygems_ext.rb index 39144653710..7e9e8328c58 100644 --- a/spec/support/rubygems_ext.rb +++ b/spec/support/rubygems_ext.rb @@ -10,7 +10,7 @@ module Rubygems "rake" => "~> 12.0", "ronn" => "~> 0.7.3", "rspec" => "~> 3.8", - "rubocop" => "= 0.76.0", + "rubocop" => "= 0.77.0", "rubocop-performance" => "= 1.5.1", }.freeze