Skip to content

Commit a1580d2

Browse files
dependabot[bot]sambostock
authored andcommitted
Bump the rubocop group with 2 updates
Bumps the rubocop group with 2 updates: [rubocop](https://github.com/rubocop/rubocop) and [rubocop-thread_safety](https://github.com/rubocop/rubocop-thread_safety). Updates `rubocop` from 1.72.2 to 1.74.0 - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.72.2...v1.74.0) Updates `rubocop-thread_safety` from 0.7.1 to 0.7.2 - [Changelog](https://github.com/rubocop/rubocop-thread_safety/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop-thread_safety@v0.7.1...v0.7.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rubocop - dependency-name: rubocop-thread_safety dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rubocop ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 3d09ee0 commit a1580d2

File tree

2 files changed

+39
-12
lines changed

2 files changed

+39
-12
lines changed

Gemfile.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PATH
88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
ast (2.4.2)
11+
ast (2.4.3)
1212
base64 (0.2.0)
1313
byebug (11.1.3)
1414
coderay (1.1.3)
@@ -19,7 +19,7 @@ GEM
1919
method_source (1.0.0)
2020
minitest (5.25.5)
2121
parallel (1.26.3)
22-
parser (3.3.7.1)
22+
parser (3.3.7.2)
2323
ast (~> 2.4.1)
2424
racc
2525
pry (0.14.2)
@@ -32,7 +32,7 @@ GEM
3232
rainbow (3.1.1)
3333
rake (13.2.1)
3434
regexp_parser (2.10.0)
35-
rubocop (1.72.2)
35+
rubocop (1.74.0)
3636
json (~> 2.3)
3737
language_server-protocol (~> 3.17.0.2)
3838
lint_roller (~> 1.1.0)
@@ -43,9 +43,9 @@ GEM
4343
rubocop-ast (>= 1.38.0, < 2.0)
4444
ruby-progressbar (~> 1.7)
4545
unicode-display_width (>= 2.4.0, < 4.0)
46-
rubocop-ast (1.38.1)
47-
parser (>= 3.3.1.0)
48-
rubocop-thread_safety (0.7.1)
46+
rubocop-ast (1.42.0)
47+
parser (>= 3.3.7.2)
48+
rubocop-thread_safety (0.7.2)
4949
lint_roller (~> 1.1)
5050
rubocop (~> 1.72, >= 1.72.1)
5151
ruby-progressbar (1.13.0)

test/fixtures/full_config.yml

+33-6
Original file line numberDiff line numberDiff line change
@@ -1358,10 +1358,9 @@ Lint/EmptyConditionalBody:
13581358
a body.
13591359
Enabled: false
13601360
AutoCorrect: contextual
1361-
SafeAutoCorrect: false
13621361
AllowComments: true
13631362
VersionAdded: '0.89'
1364-
VersionChanged: '1.61'
1363+
VersionChanged: '1.73'
13651364
Lint/EmptyEnsure:
13661365
Description: Checks for empty ensure block.
13671366
Enabled: false
@@ -1489,6 +1488,7 @@ Lint/LambdaWithoutLiteralBlock:
14891488
Lint/LiteralAsCondition:
14901489
Description: Checks of literals used in conditions.
14911490
Enabled: false
1491+
AutoCorrect: contextual
14921492
VersionAdded: '0.51'
14931493
Lint/LiteralAssignmentInCondition:
14941494
Description: Checks for literal assignments in the conditions.
@@ -1658,9 +1658,8 @@ Lint/RedundantRegexpQuantifiers:
16581658
Lint/RedundantRequireStatement:
16591659
Description: Checks for unnecessary `require` statement.
16601660
Enabled: false
1661-
SafeAutoCorrect: false
16621661
VersionAdded: '0.76'
1663-
VersionChanged: '1.57'
1662+
VersionChanged: '1.73'
16641663
Lint/RedundantSafeNavigation:
16651664
Description: Checks for redundant safe navigation calls.
16661665
Enabled: false
@@ -2332,13 +2331,15 @@ Naming/VariableName:
23322331
StyleGuide: "#snake-case-symbols-methods-vars"
23332332
Enabled: false
23342333
VersionAdded: '0.50'
2335-
VersionChanged: '1.8'
2334+
VersionChanged: '1.73'
23362335
EnforcedStyle: snake_case
23372336
SupportedStyles:
23382337
- snake_case
23392338
- camelCase
23402339
AllowedIdentifiers: []
23412340
AllowedPatterns: []
2341+
ForbiddenIdentifiers: []
2342+
ForbiddenPatterns: []
23422343
Naming/VariableNumber:
23432344
Description: Use the configured style when numbering symbols, methods and variables.
23442345
StyleGuide: "#snake-case-symbols-methods-vars-with-numbers"
@@ -2353,6 +2354,8 @@ Naming/VariableNumber:
23532354
CheckMethodNames: true
23542355
CheckSymbols: true
23552356
AllowedIdentifiers:
2357+
- TLS1_1
2358+
- TLS1_2
23562359
- capture3
23572360
- iso8601
23582361
- rfc1123_date
@@ -2611,10 +2614,21 @@ Style/ClassAndModuleChildren:
26112614
SafeAutoCorrect: false
26122615
Enabled: false
26132616
VersionAdded: '0.19'
2617+
VersionChanged: '1.74'
26142618
EnforcedStyle: nested
26152619
SupportedStyles:
26162620
- nested
26172621
- compact
2622+
EnforcedStyleForClasses:
2623+
SupportedStylesForClasses:
2624+
-
2625+
- nested
2626+
- compact
2627+
EnforcedStyleForModules:
2628+
SupportedStylesForModules:
2629+
-
2630+
- nested
2631+
- compact
26182632
Style/ClassCheck:
26192633
Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
26202634
StyleGuide: "#is-a-vs-kind-of"
@@ -2737,6 +2751,11 @@ Style/CommentedKeyword:
27372751
SafeAutoCorrect: false
27382752
VersionAdded: '0.51'
27392753
VersionChanged: '1.19'
2754+
Style/ComparableBetween:
2755+
Description: Enforces the use of `Comparable#between?` instead of logical comparison.
2756+
Enabled: pending
2757+
VersionAdded: '1.74'
2758+
StyleGuide: "#ranges-or-between"
27402759
Style/ComparableClamp:
27412760
Description: Enforces the use of `Comparable#clamp` instead of comparison by minimum
27422761
and maximum.
@@ -2933,6 +2952,8 @@ Style/EndlessMethod:
29332952
- allow_single_line
29342953
- allow_always
29352954
- disallow
2955+
- require_single_line
2956+
- require_always
29362957
Style/EnvHome:
29372958
Description: Checks for consistent usage of `ENV['HOME']`.
29382959
Enabled: false
@@ -3053,8 +3074,9 @@ Style/FormatStringToken:
30533074
- template
30543075
- unannotated
30553076
MaxUnannotatedPlaceholdersAllowed: 1
3077+
Mode: aggressive
30563078
VersionAdded: '0.49'
3057-
VersionChanged: '1.0'
3079+
VersionChanged: '1.74'
30583080
AllowedMethods: []
30593081
AllowedPatterns: []
30603082
Style/FrozenStringLiteralComment:
@@ -3873,6 +3895,9 @@ Style/RedundantCondition:
38733895
Description: Checks for unnecessary conditional expressions.
38743896
Enabled: false
38753897
VersionAdded: '0.76'
3898+
VersionChanged: '1.73'
3899+
AllowedMethods:
3900+
- nonzero?
38763901
Style/RedundantConditional:
38773902
Description: Don't return true/false from a conditional.
38783903
Enabled: false
@@ -4371,6 +4396,7 @@ Style/TrailingCommaInArrayLiteral:
43714396
SupportedStylesForMultiline:
43724397
- comma
43734398
- consistent_comma
4399+
- diff_comma
43744400
- no_comma
43754401
Style/TrailingCommaInBlockArgs:
43764402
Description: Checks for useless trailing commas in block arguments.
@@ -4384,6 +4410,7 @@ Style/TrailingCommaInHashLiteral:
43844410
SupportedStylesForMultiline:
43854411
- comma
43864412
- consistent_comma
4413+
- diff_comma
43874414
- no_comma
43884415
VersionAdded: '0.53'
43894416
Style/TrailingMethodEndStatement:

0 commit comments

Comments
 (0)