iprocess 5.0.0 → 5.0.1

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.
Files changed (3) hide show
  1. data/README.md +8 -4
  2. data/lib/iprocess/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -49,14 +49,18 @@ try this:
49
49
 
50
50
  __3.__
51
51
 
52
- A demo of how you would spawn two subprocesses asynchronously:
52
+ A demo of how you would spawn two subprocesses asynchronously.
53
+ Note that although the subprocesses are spawned asynchrounsly you can still
54
+ communicate by using an API tailored to asynchrounous programming.
53
55
 
54
56
  class Inbox
55
- attr_reader :msgs
56
-
57
- def initialize
57
+ def initialize() @msgs = [] end
58
58
  @msgs = []
59
59
  end
60
+
61
+ def msgs
62
+ @msgs
63
+ end
60
64
 
61
65
  def recv(msg)
62
66
  @msgs << msg
@@ -1,3 +1,3 @@
1
1
  class IProcess
2
- VERSION = '5.0.0'
2
+ VERSION = '5.0.1'
3
3
  end
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.0.0
4
+ version: 5.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: