multi_process 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multi_process/group.rb +2 -2
- data/lib/multi_process/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be405d13696f31e0ad55781ca32ac0ea3d15b17e
|
4
|
+
data.tar.gz: 71c59ee5225a53a48b01066a5f7605b1e07913ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1309b238b1533cab1fcc3243533a7f3cacf64c8faae9b4145258240f816223fe072745ce92ede6c2c90880b59ff1c73835ab0de0ad1a5e516b4df70318e2bdfe
|
7
|
+
data.tar.gz: 9b047b73e46cff0c792bb6c64da59046c516244eb06f78f7a2c6c0f74f829c5bac286c3e0e55fa5dce61e7a2b7bd7ada73f65d06d21451af4ae5d388802682c4
|
data/lib/multi_process/group.rb
CHANGED
@@ -35,8 +35,8 @@ module MultiProcess
|
|
35
35
|
#
|
36
36
|
# @param process [Process, Array<Process>] New process or processes.
|
37
37
|
#
|
38
|
-
def <<(
|
39
|
-
Array(
|
38
|
+
def <<(procs)
|
39
|
+
Array(procs).flatten.each do |process|
|
40
40
|
processes << process
|
41
41
|
process.receiver = receiver
|
42
42
|
|