rubocop-thread_safety 0.7.0 → 0.7.1

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: 7841ecd07e1f036568eea48b431d4743df6bc7254f83d91218c9f3bb67fd50bb
4
+ data.tar.gz: 98c2011b6ba532d5140cd693166a9db75c8074c240f4df1ef45c978b601b655c
5
5
  SHA512:
6
- metadata.gz: bb89cc31949d9803344f78556dc6f3351369bd2936ee8b26f93e6caa477b3bcfa6b7db9e8d78dade90eca9003455af4411c3ef064c9399f63455d6c7cd45c36c
7
- data.tar.gz: b03de48386d763afe6d7a66aa2f604bcfc1fda637dfd864c2f09b52122fb8637c26f9a675299fe85fae464804e4e8cc2b569ba9fa8104cca2a592ef6fcb6c8c1
6
+ metadata.gz: a4a6d03e7a2b51443095239016626b89a739017c2ed5cbf90b44269b1e90bc4bcac9db8342aecca88c32436daa332b8833e0b0d51b768e991407691e3518f196
7
+ data.tar.gz: 4c2192cff08c1537730848b2f6318293e29a1baef1becfb4a41ac434469caec036466510cf3301e707f4e988b200faf2ef5985cf53122c9d637fa062f5ebd09b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master
4
4
 
5
+ ## 0.7.1
6
+
7
+ - [#84](https://github.com/rubocop/rubocop-thread_safety/pull/84): Rename `InstanceVariableInClassMethod` in default config ([@sambostock](https://github.com/sambostock))
8
+
5
9
  ## 0.7.0
6
10
 
7
11
  - [#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,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module ThreadSafety
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  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.1
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-12 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: lint_roller