utilrb 3.0.0.rc1 → 3.0.0

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: 1177a0481f28609c9b83fce1ab8c6d59de177135
4
- data.tar.gz: 0cdd4d813b69adb757e7e802ebb5ad60f605cee0
3
+ metadata.gz: becf09fee88559811629a72aee4fe627a86f2231
4
+ data.tar.gz: 1f690f7883cf11362a8f1656a3e04cdfc6f98da1
5
5
  SHA512:
6
- metadata.gz: f8ef0d60064a2b747bf83f861be83140dc6541c3e993368c4483c807212df4c5e68cbed356d52bcb56449d2ae0e63326334512a87b94fcd438cd7cae0c95ffda
7
- data.tar.gz: c9d4ec56d77051ffda15c56120ca7accdfbaca2bd2c969e14cdd13e645b1b24b7ee274379ec76059ac2709f4e0690b8f4e1a7686908983887394e3523a87285a
6
+ metadata.gz: 2aeaf57d6ab7deeab1027b82e796127e23adc2acf2291df450f1b4b76f466ef12acc9f74a2e9cc1c2727c6732c50b7e5d2d9ad553f277c70cd583c971bfc3c62
7
+ data.tar.gz: 52766e2bc24e6c27c27af4d5410da75e86077bc7c476240ab0f82116ac6b9847c92ecf8cb38e7e88d6913932eb786db60968cc2cac011a9920900650a267a802
@@ -593,13 +593,13 @@ module Utilrb
593
593
  ensure
594
594
  @mutex.synchronize do
595
595
  @tasks_running.delete current_task
596
- @sync_keys.delete(current_task.sync_key) if current_task.sync_key
596
+ if current_task.sync_key
597
+ @sync_keys.delete(current_task.sync_key)
598
+ @cond_sync_key.signal
599
+ @cond.signal # maybe another thread is waiting for a sync key
600
+ end
597
601
  @avg_run_time = moving_average(@avg_run_time,(current_task.stopped_at-current_task.started_at))
598
602
  end
599
- if current_task.sync_key
600
- @cond_sync_key.signal
601
- @cond.signal # maybe another thread is waiting for a sync key
602
- end
603
603
  current_task.finalize # propagate state after it was deleted from the internal lists
604
604
  @callback_on_task_finished.call(current_task) if @callback_on_task_finished
605
605
  end
@@ -1,4 +1,4 @@
1
1
  module Utilrb
2
- VERSION = "3.0.0.rc1"
2
+ VERSION = "3.0.0"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utilrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.rc1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-27 00:00:00.000000000 Z
11
+ date: 2015-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facets
@@ -211,9 +211,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - ">"
214
+ - - ">="
215
215
  - !ruby/object:Gem::Version
216
- version: 1.3.1
216
+ version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
219
  rubygems_version: 2.2.3
@@ -221,4 +221,3 @@ signing_key:
221
221
  specification_version: 4
222
222
  summary: Utilrb is yet another Ruby toolkit, in the spirit of facets
223
223
  test_files: []
224
- has_rdoc: