rubocop 1.18.0 → 1.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +1 -6
- data/lib/rubocop/cop/layout/hash_alignment.rb +1 -1
- data/lib/rubocop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 885ddbf92c177482e1be63255a018fcda8be3a10e76f30628b2fc1a1e9405188
|
4
|
+
data.tar.gz: e67837d33ac5625327dff10d9317c4fd2fb6b9c7b543c73326ab32aea0e6066f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e72582647c14682bae1d594feb36fa464ced9096e3146e95b6ea534b8483115bf2770a4c727fc3f2d4e3c1ae80f65c41a55b393858ac28cbb962c55fa5717f9
|
7
|
+
data.tar.gz: d92789df44f307cb341226be7e397936af7dbfd045fa7aa23f8ba34aeddc846d79439e464e3ce9ac197c3c4220384ebff5ba76982c6871957a1a4bbf44167967
|
data/config/default.yml
CHANGED
@@ -2541,7 +2541,7 @@ Naming/InclusiveLanguage:
|
|
2541
2541
|
CheckIdentifiers: true
|
2542
2542
|
CheckConstants: true
|
2543
2543
|
CheckVariables: true
|
2544
|
-
CheckStrings:
|
2544
|
+
CheckStrings: false
|
2545
2545
|
CheckSymbols: true
|
2546
2546
|
CheckComments: true
|
2547
2547
|
CheckFilepaths: true
|
@@ -2556,11 +2556,6 @@ Naming/InclusiveLanguage:
|
|
2556
2556
|
Suggestions:
|
2557
2557
|
- denylist
|
2558
2558
|
- block
|
2559
|
-
master:
|
2560
|
-
Suggestions: ['main', 'primary', 'leader']
|
2561
|
-
AllowedRegex:
|
2562
|
-
- 'Master of None'
|
2563
|
-
- 'Master Boot Record'
|
2564
2559
|
slave:
|
2565
2560
|
Suggestions: ['replica', 'secondary', 'follower']
|
2566
2561
|
|
@@ -220,7 +220,7 @@ module RuboCop
|
|
220
220
|
def autocorrect_incompatible_with_other_cops?(node)
|
221
221
|
enforce_first_argument_with_fixed_indentation? &&
|
222
222
|
node.pairs.any? &&
|
223
|
-
node.parent&.call_type? && node.parent.loc.line == node.pairs.first.loc.line
|
223
|
+
node.parent&.call_type? && node.parent.loc.selector.line == node.pairs.first.loc.line
|
224
224
|
end
|
225
225
|
|
226
226
|
def reset!
|
data/lib/rubocop/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.18.
|
4
|
+
version: 1.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bozhidar Batsov
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-06-
|
13
|
+
date: 2021-06-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: parallel
|