mockley_crew 1.3.8 → 1.3.9

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: 6a52ef0c2313365dc2661d2673b588d470eb2a1c9b5be064fa0f07c183a87d74
4
- data.tar.gz: e6ddde69dc56259bda14a416b76dc954aea9da36d56e28f74002cbcb843ea2d8
3
+ metadata.gz: b30ef434c2b14f29c915d433f55602683002d3609e08b187d58c1d0cb14f8e6d
4
+ data.tar.gz: 4a2923c12903582b5f20b271979859b4ecff4419f97b1ae07563d9c609a8e9aa
5
5
  SHA512:
6
- metadata.gz: 3123ca7f1660a52b3d99796eaf0cd8f90af2332e87f398f628cd0ffea573a8e8cfcab9d8f712061e94a7ccc148fb7aaf39b59f6a38160ee9a80d86d8f795408d
7
- data.tar.gz: 8eee636b0a66efecf0036da1ea3c7cd89e47d5522550a4a1e8f13598a62a01dc8279f1d5cb1343510d8f276515cecc5cb78541add543c4b79dbb35b963ce9ef3
6
+ metadata.gz: 14ae98d43d4e271103a24495a5cad1b914d824dcb21bbd216b1d51b933e1837de5a68baa2187a488ad6f3aec8821c76c8ffcf431e727c341e3fee8442fefd1fa
7
+ data.tar.gz: daf17e029e5fb3823d66c846f0267040b5966a55cd2c4415ca8888e0cc3f087e95de2dbcd7f442d7952213ae2085d73710340d2e113beb417789dddc2e638797
@@ -55,8 +55,10 @@ module MockleyCrew
55
55
  end
56
56
 
57
57
  def terminate_thread filename
58
- thread = Thread.list.select { |t| t["thread_name"] == filename }.first
59
- thread.kill if thread
58
+ threads = Thread.list.select { |t| t["thread_name"] == filename }
59
+ threads.each do |t|
60
+ t.kill
61
+ end
60
62
  end
61
63
 
62
64
  def create_default_database
@@ -180,4 +182,4 @@ module MockleyCrew
180
182
  self.class.terminate_thread(self.filename)
181
183
  end
182
184
  end
183
- end
185
+ end
@@ -1,3 +1,3 @@
1
1
  module MockleyCrew
2
- VERSION = '1.3.8'
3
- end
2
+ VERSION = '1.3.9'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mockley_crew
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ariel Schvartz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-27 00:00:00.000000000 Z
11
+ date: 2018-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails