config/enabled.yml in rubocop-0.13.0 vs config/enabled.yml in rubocop-0.13.1

- old
+ new

@@ -42,12 +42,12 @@ SpaceAroundOperators: Description: 'Use spaces around operators.' Enabled: true -SpaceAroundBraces: - Description: 'Use spaces around { and before }.' +SpaceAroundBlockBraces: + Description: 'Use spaces around { and before } in blocks.' Enabled: true SpaceInsideParens: Description: 'No spaces after ( or before ).' Enabled: true @@ -125,11 +125,11 @@ Prefer {...} over do...end for single-line blocks. Enabled: true ParameterLists: - Description: Avoid parameter lists longer than three or four parameters. + Description: 'Avoid parameter lists longer than three or four parameters.' Enabled: true StringLiterals: Description: > Prefer ' strings when you don't need string interpolation or @@ -192,10 +192,14 @@ Lambda: Description: 'Use the new lambda literal syntax for single-line blocks.' Enabled: true +LambdaCall: + Description: 'Use lambda.call(...) instead of lambda.(...).' + Enabled: true + Proc: Description: 'Use proc instead of Proc.new.' Enabled: true ParenthesesAroundCondition: @@ -237,11 +241,11 @@ Don't interpolate global, instance and class variables directly in strings. Enabled: true Semicolon: - Desription: "Don't use semicolons to terminate expressions." + Description: "Don't use semicolons to terminate expressions." Enabled: true FavorSprintf: Description: 'Use sprintf instead of String#%.' Enabled: true @@ -439,15 +443,15 @@ Never put a space between a method name and the opening parenthesis. Enabled: true HashMethods: - Description: Checks for use of deprecated Hash methods. + Description: 'Checks for use of deprecated Hash methods.' Enabled: true MultilineBlockChain: - Description: Avoid multi-line chains of blocks. + Description: 'Avoid multi-line chains of blocks.' Enabled: true AlignHash: Description: > Align the elements of a hash literal if they span more than @@ -459,11 +463,11 @@ Align the elements of an array literal if they span more than one line. Enabled: true SpaceBeforeModifierKeyword: - Description: Put a space before the modifier keyword. + Description: 'Put a space before the modifier keyword.' Enabled: true #################### Lint ################################ ### Warnings @@ -530,14 +534,14 @@ Enabled: true ##################### Rails ################################## HasAndBelongsToMany: - Description: Prefer has_many :through to has_and_belongs_to_many. + Description: 'Prefer has_many :through to has_and_belongs_to_many.' Enabled: true ReadAttribute: - Description: Prefer self[:attribute] over read_attribute(:attribute). + Description: 'Prefer self[:attribute] over read_attribute(:attribute).' Enabled: true Validation: Description: 'Use sexy validations.' Enabled: true