ntl-actor 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/actor/messaging/read.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba3e71c91c282205936e4cc9bf199e6d80dcae8c
|
4
|
+
data.tar.gz: d46dbe635f619d79c02ef1fc333c3504edeac9ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb1c9a814dbfb72de543631797c343960f5b357e9985f03a950282709293e142150c74e41e1ef5cc9141edd73c50168aa0eed0c372a699acba605d0157797d9
|
7
|
+
data.tar.gz: 5f897414547a15bb858c8a0b4fbcfb07761c7c978ac18a202d449df8e17f0b65c2f9e16cd70f94eac5e6954c8e81fa05eb083fb53b4f20649f2de592e4b8edec
|
data/lib/actor/messaging/read.rb
CHANGED
@@ -9,10 +9,10 @@ module Actor
|
|
9
9
|
@stream = stream
|
10
10
|
end
|
11
11
|
|
12
|
-
def self.build address
|
13
|
-
|
12
|
+
def self.build address, queue=nil
|
13
|
+
queue ||= Queue.new
|
14
14
|
|
15
|
-
|
15
|
+
stream = address.stream
|
16
16
|
stream.add_queue queue
|
17
17
|
|
18
18
|
instance = new queue, stream
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ntl-actor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Ladd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Implementation of actor pattern for ruby designed for simplicity and
|
14
14
|
frugality
|