process-group 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/process/group.rb +1 -1
- data/lib/process/group/version.rb +1 -1
- data/process-group.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3f61fd5af23be851198506a9872307595aef290fe9264c0edd62b8036f143b2
|
4
|
+
data.tar.gz: a4f52c431b3b123bf4ca0cdaacb778706b35099a5be7deb17359ff260bd927f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04c5f7734d1e0894d7b5c0c477cf67999629ba159a910a96c17f3e951e84b278faa9b0a2274af650fc4b3e430c76de9326f1e5267643bdefec4d593c0a1e7cac
|
7
|
+
data.tar.gz: 6f35d68540b6fbb413db465a7befb284713d85bb9105cd9924eb48b8b540be91ca0d312f9398fe4ecc8e86c8708ce6da08bd1b715021230aa0a994a9aff98282
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Process::Group.wait do |group|
|
|
9
9
|
end
|
10
10
|
```
|
11
11
|
|
12
|
-
[![Build Status](https://secure.travis-ci.
|
12
|
+
[![Build Status](https://secure.travis-ci.com/socketry/process-group.svg)](http://travis-ci.com/socketry/process-group)
|
13
13
|
[![Coverage Status](https://coveralls.io/repos/socketry/process-group/badge.svg)](https://coveralls.io/r/socketry/process-group)
|
14
14
|
[![Documentation](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/gems/process-group)
|
15
15
|
[![Code](http://img.shields.io/badge/github-code-blue.svg)](https://github.com/socketry/process-group)
|
data/lib/process/group.rb
CHANGED
@@ -99,7 +99,7 @@ module Process
|
|
99
99
|
end
|
100
100
|
|
101
101
|
# Create a new process group. Can specify `limit:` which limits the maximum number of concurrent processes.
|
102
|
-
def initialize(limit: nil, terminal: Terminal::Device.
|
102
|
+
def initialize(limit: nil, terminal: Terminal::Device.new?)
|
103
103
|
raise ArgumentError.new("Limit must be nil (unlimited) or > 0") unless limit == nil or limit > 0
|
104
104
|
|
105
105
|
@pid = Process.pid
|
data/process-group.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.required_ruby_version = '>= 2.0'
|
22
22
|
|
23
|
-
spec.add_dependency "process-terminal"
|
23
|
+
spec.add_dependency "process-terminal", "~> 0.2.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "covered"
|
26
26
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: process-terminal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: covered
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|