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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0688415bdb9f59086dc3dbdedb5f7ad1ff15c70ef7c01c9f46c31c8a1ca4f52
4
- data.tar.gz: 532594d9090ce8b46cb050fd68e651626f90c7370e51e848fbac53cef164aa91
3
+ metadata.gz: a3f61fd5af23be851198506a9872307595aef290fe9264c0edd62b8036f143b2
4
+ data.tar.gz: a4f52c431b3b123bf4ca0cdaacb778706b35099a5be7deb17359ff260bd927f0
5
5
  SHA512:
6
- metadata.gz: c1cf05b44ba660304634e6597415e3134cc108857114bdd5f46d7b4d31afcce4ebfc8a5cda70c308619ae0680f56f3bc53b93c83f8e605a64a56d866c6ac7048
7
- data.tar.gz: 668f5a5a3fbf2e05ec1d540e841f277df3709f987ff72918137cc96066ee145bc4eee997281748b8f377d5ddce27b67b9946769bc5feaac07360d00ef082f738
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.org/socketry/process-group.svg)](http://travis-ci.org/socketry/process-group)
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)
@@ -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.open)
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
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Process
22
22
  class Group
23
- VERSION = "1.2.0"
23
+ VERSION = "1.2.1"
24
24
  end
25
25
  end
@@ -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.0
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 00:00:00.000000000 Z
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: '0'
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: '0'
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: covered
29
29
  requirement: !ruby/object:Gem::Requirement