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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: da981ff0ada31e8ea4e414bf7d7d767fde269a06ad5b0cd61e71a36a16068263
4
- data.tar.gz: 3b48f1b0f024c3202f5513a05a210707af81caa0b6d0bf2ba5ac4adad69f6b6c
3
+ metadata.gz: 885ddbf92c177482e1be63255a018fcda8be3a10e76f30628b2fc1a1e9405188
4
+ data.tar.gz: e67837d33ac5625327dff10d9317c4fd2fb6b9c7b543c73326ab32aea0e6066f
5
5
  SHA512:
6
- metadata.gz: ab683eefa5181d9dd814b18fc8a4949940a8623014ee12ded5e89ded4ea32162735275bbe4e27e2b025dc4cfe22d77072129bdc12be3d36ceda0ce232de6d6a8
7
- data.tar.gz: 9058879a763a810107ce870cdb1eb1269e3bfdd432154d8c9ee19472f6dd69d3624ecaf97d520090ea7f80953f9a68c1da6455484738f28a6cb2ee59cd9c47dd
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: true
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!
@@ -3,7 +3,7 @@
3
3
  module RuboCop
4
4
  # This module holds the RuboCop version information.
5
5
  module Version
6
- STRING = '1.18.0'
6
+ STRING = '1.18.1'
7
7
 
8
8
  MSG = '%<version>s (using Parser %<parser_version>s, '\
9
9
  'rubocop-ast %<rubocop_ast_version>s, ' \
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.0
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-29 00:00:00.000000000 Z
13
+ date: 2021-06-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parallel