parallel 1.6.1 → 1.6.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
  SHA1:
3
- metadata.gz: 70d72f94264963ccffda50fb09447556b91cb288
4
- data.tar.gz: 5941637ecb8f9252001ac5e73fee8abd038dddb9
3
+ metadata.gz: fd3638799c28c5668a5392f0f3ca40f4a2a40513
4
+ data.tar.gz: e9dd1c46d6428d46521b9e9b52b4a66da4023450
5
5
  SHA512:
6
- metadata.gz: 307b3c2200b61a209480844057b2778bd53c342af0ef63adb922daeb145ebeba0af27cf8fc826d90d126dca4e293b80c88fe8e7e496c7e91aea3dfb74e550a1f
7
- data.tar.gz: b4a12fcac78745faa6027000375e4f395f9b478fe912d18baefdc584152198e3e97fba56020f8a7cfac0f66c59f8eb05ec65fd8019275e4a4bad3232ea4aaa07
6
+ metadata.gz: f5046cb834fcf403a38d85c8e75c41998cfd8122a52f02068338c200b89c1970364181dab7302cd0c7a7a3cf257f3ba7498aaacfa5339e3e6397e4731899d69c
7
+ data.tar.gz: 03291fcc3deb2575c21eb154e259598c142c726831301ea01a0aa21014dbfd981c97dfd7da7a5efeb5aba46ed3ab7ca0eb2250b655896e325746330506a25a21
@@ -417,9 +417,8 @@ module Parallel
417
417
  on_finish = options[:finish]
418
418
  options[:mutex].synchronize { on_start.call(item, index) } if on_start
419
419
  result = yield
420
- result unless options[:preserve_results] == false
421
- ensure
422
420
  options[:mutex].synchronize { on_finish.call(item, index, result) } if on_finish
421
+ result unless options[:preserve_results] == false
423
422
  end
424
423
  end
425
424
  end
@@ -1,3 +1,3 @@
1
1
  module Parallel
2
- VERSION = Version = '1.6.1'
2
+ VERSION = Version = '1.6.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-21 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 2.2.2
43
+ rubygems_version: 2.4.5.1
44
44
  signing_key:
45
45
  specification_version: 4
46
46
  summary: Run any kind of code in parallel processes