parallel 1.0.0 → 1.1.0
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/parallel.rb +3 -3
- data/lib/parallel/version.rb +1 -1
- metadata +5 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d6eba22bc6a58bd81015a14fc172be0e153d91d
|
|
4
|
+
data.tar.gz: 7141912375eb2e22d01c1cec0adc9de9959cdd3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0928cea0bdb78c8f2eca63f3a4fc91c77762d775d1290ba98ee9b4e827d1dc34a411909ed8eb7769fc30039859731a1b50e7bb7b0e559451a17ca78fd3a4dacf
|
|
7
|
+
data.tar.gz: 0703748023b1f658f47aba8ee163b1d2ca7a349343f76efdcd5397474fcb44b21a76a026fcf14d22cf09b64db80c047f3111ac22802779a5da9386dca839b374
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/parallel.rb
CHANGED
|
@@ -3,10 +3,10 @@ require 'rbconfig'
|
|
|
3
3
|
require 'parallel/version'
|
|
4
4
|
|
|
5
5
|
module Parallel
|
|
6
|
-
class DeadWorker <
|
|
6
|
+
class DeadWorker < StandardError
|
|
7
7
|
end
|
|
8
8
|
|
|
9
|
-
class Break <
|
|
9
|
+
class Break < StandardError
|
|
10
10
|
end
|
|
11
11
|
|
|
12
12
|
class ExceptionWrapper
|
|
@@ -313,7 +313,7 @@ module Parallel
|
|
|
313
313
|
index = Marshal.load(read)
|
|
314
314
|
result = begin
|
|
315
315
|
call_with_index(items, index, options, &block)
|
|
316
|
-
rescue
|
|
316
|
+
rescue StandardError => e
|
|
317
317
|
ExceptionWrapper.new(e)
|
|
318
318
|
end
|
|
319
319
|
Marshal.dump(result, write)
|
data/lib/parallel/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parallel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Grosser
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
F5etKHZg0j3eHO31/i2HnswY04lqGImUu6aM5EnijFTB7PPW2KwKKM4+kKDYFdlw
|
|
31
31
|
/0WV1Ng2/Y6qsHwmqGg2VlYj2h4=
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2014-
|
|
33
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
|
34
34
|
dependencies: []
|
|
35
35
|
description:
|
|
36
36
|
email: michael@grosser.it
|
|
@@ -51,17 +51,17 @@ require_paths:
|
|
|
51
51
|
- lib
|
|
52
52
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
|
-
- -
|
|
54
|
+
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: '0'
|
|
57
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
63
|
rubyforge_project:
|
|
64
|
-
rubygems_version: 2.
|
|
64
|
+
rubygems_version: 2.2.2
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: Run any kind of code in parallel processes
|
metadata.gz.sig
CHANGED
|
Binary file
|