iprocess 5.1.1 → 5.1.2
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.
- data/README.md +3 -4
- data/lib/iprocess.rb +3 -1
- data/lib/iprocess/version.rb +1 -1
- data/test/support/{inbox_class.rb → inbox.rb} +0 -0
- metadata +3 -3
data/README.md
CHANGED
@@ -52,10 +52,9 @@ IProcess.spawn 5, Worker.new # => [2, 2, 2, 2, 2]
|
|
52
52
|
```
|
53
53
|
__3.__
|
54
54
|
|
55
|
-
A demo of how
|
56
|
-
|
57
|
-
|
58
|
-
The example may not be the best, though:
|
55
|
+
A demo of how to spawn two subprocesses asynchronously.
|
56
|
+
The `Inbox#recv` method is a callback that XPool calls when a subprocess has
|
57
|
+
finished executing. The example may not be the best, though:
|
59
58
|
|
60
59
|
```ruby
|
61
60
|
class Inbox
|
data/lib/iprocess.rb
CHANGED
data/lib/iprocess/version.rb
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iprocess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.1.
|
4
|
+
version: 5.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -47,7 +47,7 @@ files:
|
|
47
47
|
- lib/iprocess.rb
|
48
48
|
- lib/iprocess/version.rb
|
49
49
|
- test/setup.rb
|
50
|
-
- test/support/
|
50
|
+
- test/support/inbox.rb
|
51
51
|
- test/test_IProcess_class.rb
|
52
52
|
homepage: https://github.com/robgleeson/iprocess
|
53
53
|
licenses: []
|
@@ -76,6 +76,6 @@ summary: A number of abstractions on top of spawning subprocesses and interproce
|
|
76
76
|
communication.
|
77
77
|
test_files:
|
78
78
|
- test/setup.rb
|
79
|
-
- test/support/
|
79
|
+
- test/support/inbox.rb
|
80
80
|
- test/test_IProcess_class.rb
|
81
81
|
has_rdoc:
|