rubocop-thread_safety 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 440e483486f3d67ad21fa72aa04eb47535020324672c3e08646894cec3517450
4
- data.tar.gz: 50fe186da5956ee780dd5c2839d7792fc57f10ed4860d0781d2f0d68180d635d
3
+ metadata.gz: cdf9af170c6dcfe7ac085b6e68467551d4c14d1eac843fefb97f39645cf556a6
4
+ data.tar.gz: e6efe781ead225cbdcf14185a67851a57fa60fe0e31627342a7204eb5f656c3f
5
5
  SHA512:
6
- metadata.gz: bb89cc31949d9803344f78556dc6f3351369bd2936ee8b26f93e6caa477b3bcfa6b7db9e8d78dade90eca9003455af4411c3ef064c9399f63455d6c7cd45c36c
7
- data.tar.gz: b03de48386d763afe6d7a66aa2f604bcfc1fda637dfd864c2f09b52122fb8637c26f9a675299fe85fae464804e4e8cc2b569ba9fa8104cca2a592ef6fcb6c8c1
6
+ metadata.gz: 18e2788dfc505506dd73e7231008200edca8c5055612442b14e6639ff362af00e4de983fc4be0980e6f3820a365175138cd7d04708ced0bf401db3c00eb429df
7
+ data.tar.gz: 94da6513c5ed7f1561f7e88385b3eddb6da8984127ac1da7e16f0a4c6c4c871390af0599b7b8c43c53bfc792af82363fdbe16b848fc7a93c6a10ea6d630e60d4
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.7.2
6
+
7
+ - [#88](https://github.com/rubocop/rubocop-thread_safety/pull/88): Fix incorrect plugin metadata version. ([@viralpraxis](https://github.com/viralpraxis))
8
+
9
+ ## 0.7.1
10
+
11
+ - [#84](https://github.com/rubocop/rubocop-thread_safety/pull/84): Rename `InstanceVariableInClassMethod` in default config ([@sambostock](https://github.com/sambostock))
12
+
5
13
  ## 0.7.0
6
14
 
7
15
  - [#80](https://github.com/rubocop/rubocop-thread_safety/pull/80) Make RuboCop ThreadSafety work as a RuboCop plugin. ([@bquorning](https://github.com/bquorning))
data/config/default.yml CHANGED
@@ -7,8 +7,8 @@ ThreadSafety/ClassAndModuleAttributes:
7
7
  Enabled: true
8
8
  ActiveSupportClassAttributeAllowed: false
9
9
 
10
- ThreadSafety/InstanceVariableInClassMethod:
11
- Description: 'Avoid using instance variables in class methods.'
10
+ ThreadSafety/ClassInstanceVariable:
11
+ Description: 'Avoid class instance variables.'
12
12
  Enabled: true
13
13
 
14
14
  ThreadSafety/MutableClassInstanceVariable:
@@ -198,7 +198,7 @@ module RuboCop
198
198
  end
199
199
 
200
200
  def range_type?(node)
201
- node.type?(:erange, :irange)
201
+ node.type?(:range)
202
202
  end
203
203
 
204
204
  def correct_splat_expansion(corrector, expr, splat_value)
@@ -2,6 +2,8 @@
2
2
 
3
3
  module RuboCop
4
4
  module ThreadSafety
5
- VERSION = '0.7.0'
5
+ module Version
6
+ STRING = '0.7.2'
7
+ end
6
8
  end
7
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-thread_safety
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gee
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-02-22 00:00:00.000000000 Z
10
+ date: 2025-03-13 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: lint_roller