process-group 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/process/group/version.rb +1 -1
- data/lib/process/group.rb +4 -4
- data.tar.gz.sig +0 -0
- metadata +34 -32
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f32e8039a65dede8fceb0bd2c5554142555ca7825f12d93d1329eb094789f0
|
4
|
+
data.tar.gz: 40d8f02f6f3ebd88cd5a4d5cbe8fb88e0e4fe54aefd5b3813c0b049f40415561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9947d56c5bd3999f2f16ff3bf2df9b6d63cce82a2070adcaab0943637d3836ac3a4a1488ac388af72bac5c189fe9a78f26f259f7250b8a0bc6f36c48d3f0bf
|
7
|
+
data.tar.gz: c8dfd88cfba5f4a06fe00e41d725bd7eb91536e70ac34e40042225040d449cfdb2386a9f4eecdfedb30396b49301f8cadd5a2e536a4d0e4514e054e2cdd02c3f
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/lib/process/group.rb
CHANGED
@@ -127,7 +127,7 @@ module Process
|
|
127
127
|
|
128
128
|
# The maximum number of processes to run concurrently, or zero
|
129
129
|
attr_accessor :limit
|
130
|
-
|
130
|
+
|
131
131
|
# The id of the process group, only valid if processes are currently running.
|
132
132
|
def id
|
133
133
|
raise RuntimeError.new("No processes in group, no group id available.") if @running.size == 0
|
@@ -297,11 +297,11 @@ module Process
|
|
297
297
|
|
298
298
|
# Wait for processes in this group:
|
299
299
|
pid, status = Process.wait2(-@pgid, flags)
|
300
|
-
|
300
|
+
|
301
301
|
return if flags & Process::WNOHANG and pid == nil
|
302
|
-
|
302
|
+
|
303
303
|
process = @running.delete(pid)
|
304
|
-
|
304
|
+
|
305
305
|
# This should never happen unless something very odd has happened:
|
306
306
|
raise RuntimeError.new("Process id=#{pid} is not part of group!") unless process
|
307
307
|
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: process-group
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
+
- Dustin Zeisler
|
9
|
+
- Olle Jonsson
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
12
|
+
cert_chain:
|
13
|
+
- |
|
14
|
+
-----BEGIN CERTIFICATE-----
|
15
|
+
MIIEhDCCAuygAwIBAgIBATANBgkqhkiG9w0BAQsFADA3MTUwMwYDVQQDDCxzYW11
|
16
|
+
ZWwud2lsbGlhbXMvREM9b3Jpb250cmFuc2Zlci9EQz1jby9EQz1uejAeFw0yMTA4
|
17
|
+
MTYwNjMzNDRaFw0yMjA4MTYwNjMzNDRaMDcxNTAzBgNVBAMMLHNhbXVlbC53aWxs
|
18
|
+
aWFtcy9EQz1vcmlvbnRyYW5zZmVyL0RDPWNvL0RDPW56MIIBojANBgkqhkiG9w0B
|
19
|
+
AQEFAAOCAY8AMIIBigKCAYEAyXLSS/cw+fXJ5e7hi+U/TeChPWeYdwJojDsFY1xr
|
20
|
+
xvtqbTTL8gbLHz5LW3QD2nfwCv3qTlw0qI3Ie7a9VMJMbSvgVEGEfQirqIgJXWMj
|
21
|
+
eNMDgKsMJtC7u/43abRKx7TCURW3iWyR19NRngsJJmaR51yGGGm2Kfsr+JtKKLtL
|
22
|
+
L188Wm3f13KAx7QJU8qyuBnj1/gWem076hzdA7xi1DbrZrch9GCRz62xymJlrJHn
|
23
|
+
9iZEZ7AxrS7vokhMlzSr/XMUihx/8aFKtk+tMLClqxZSmBWIErWdicCG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x272AJCbCjKx8egcUQKffFVVCI0nye09v5CK+a
|
39
|
+
HiLJ8VOFx6w=
|
40
|
+
-----END CERTIFICATE-----
|
41
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
42
|
dependencies:
|
13
43
|
- !ruby/object:Gem::Dependency
|
14
44
|
name: process-terminal
|
@@ -24,34 +54,6 @@ dependencies:
|
|
24
54
|
- - "~>"
|
25
55
|
- !ruby/object:Gem::Version
|
26
56
|
version: 0.2.0
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bake-bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bake-modernize
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
57
|
- !ruby/object:Gem::Dependency
|
56
58
|
name: bundler
|
57
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
124
|
- !ruby/object:Gem::Version
|
123
125
|
version: '0'
|
124
126
|
requirements: []
|
125
|
-
rubygems_version: 3.1.
|
127
|
+
rubygems_version: 3.1.6
|
126
128
|
signing_key:
|
127
129
|
specification_version: 4
|
128
130
|
summary: Run and manage multiple processes in separate fibers with predictable behaviour.
|
metadata.gz.sig
ADDED
Binary file
|