rubocop-thread_safety 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: c5f5c22a96a3391f7f115be07f1188663a7a69ef
4
- data.tar.gz: 6452d077eacf1cb4ace91f7bbe4f885ad598dd5d
3
+ metadata.gz: 47fd0a2a3ef6c5f2ce5a46aafdc13129ec0893fc
4
+ data.tar.gz: 7447310f5b032a34163982774b479063e0adb585
5
5
  SHA512:
6
- metadata.gz: 96bf2dc90d94df8578ce8ab9bfa132f99dc373a1dd79350712a892ed20578d55bc2cc382d55c88105efa60f10f3eb7a84d3735b25d8a6fb33d3a2342a3d918c1
7
- data.tar.gz: eee8aa84da1d89cb330838909c774e1434f07277b8ec2b7e4c092efca9ffc7901ecb06bea670b6da888bd99f841d7b36ed65effe8c4ec0d1cad375019a95ebc3
6
+ metadata.gz: c9ad6327c7f3a21054bdd18ffd11351222c5888d04527274dd4b21f8aa4101acae2f91945a16e66a4bfec4826142b06141295d071e7c618dfafee2a369a97272
7
+ data.tar.gz: ffdcda7e4a5142cb8fa628570f08622cfab801cc1727491af81015f002fc2016f14e8bb866d4fb6cea01f4f7a6b943d7af95d38df1e93f34e6606d63a10a3dda
@@ -51,7 +51,7 @@ module RuboCop
51
51
 
52
52
  def singleton_method_definition?(node)
53
53
  node.ancestors.any? do |ancestor|
54
- next unless ancestor.children.first.is_a? Node
54
+ next unless ancestor.children.first.is_a? AST::Node
55
55
  ancestor.children.first.command? :define_singleton_method
56
56
  end
57
57
  end
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module ThreadSafety
3
- VERSION = '0.3.1'.freeze
3
+ VERSION = '0.3.2'.freeze
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_runtime_dependency 'rubocop', '>= 0.41.1'
24
+ spec.add_runtime_dependency 'rubocop', '>= 0.47.0'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.10'
27
27
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-thread_safety
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Gee
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-01 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.41.1
19
+ version: 0.47.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.41.1
26
+ version: 0.47.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -123,9 +123,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.4.8
126
+ rubygems_version: 2.6.8
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Thread-safety checks via static analysis
130
130
  test_files: []
131
- has_rdoc: