Skip to content

Commit

Permalink
Update RuboCop to 1.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Nov 16, 2020
1 parent 506e457 commit e6c6b55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions config/upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ Layout/SpaceBeforeBlockBraces:
SupportedStylesForEmptyBraces:
- space
- no_space
VersionChanged: '0.52.1'
VersionChanged: '0.52'

Layout/SpaceBeforeComma:
Description: 'No spaces before commas.'
Expand Down Expand Up @@ -1401,7 +1401,10 @@ Lint/ConstantDefinitionInBlock:
Enabled: true
VersionAdded: '0.91'
VersionChanged: '1.3'
AllowedMethods: []
# `enums` for Typed Enums via T::Enum in Sorbet.
# https://sorbet.org/docs/tenum
AllowedMethods:
- enums

Lint/ConstantResolution:
Description: 'Check that constants are fully qualified with `::`.'
Expand Down Expand Up @@ -1862,7 +1865,7 @@ Lint/RescueException:
StyleGuide: '#no-blind-rescues'
Enabled: true
VersionAdded: '0.9'
VersionChanged: '0.27.1'
VersionChanged: '0.27'

Lint/RescueType:
Description: 'Avoid rescuing from non constants that could result in a `TypeError`.'
Expand Down Expand Up @@ -3917,7 +3920,7 @@ Style/PercentLiteralDelimiters:
'%r': '{}'
'%w': '[]'
'%W': '[]'
VersionChanged: '0.48.1'
VersionChanged: '0.48'

Style/PercentQLiterals:
Description: 'Checks if uses of %Q/%q match the configured preference.'
Expand Down Expand Up @@ -4324,7 +4327,7 @@ Style/StringMethods:
Description: 'Checks if configured preferred methods are used over non-preferred.'
Enabled: false
VersionAdded: '0.34'
VersionChanged: '0.34.2'
VersionChanged: '0.34'
# Mapping from undesired method to desired_method
# e.g. to use `to_sym` over `intern`:
#
Expand Down
2 changes: 1 addition & 1 deletion lib/chefstyle/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Chefstyle
VERSION = "1.5.1"
RUBOCOP_VERSION = "1.3.0"
RUBOCOP_VERSION = "1.3.1"
end

0 comments on commit e6c6b55

Please sign in to comment.