tribe_em_amfsocket 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tribe_em_amfsocket/actor_proxy.rb +4 -4
- data/lib/tribe_em_amfsocket/version.rb +1 -1
- data/tribe_em_amfsocket.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e3097e6daef1ca6a8ae74686d8490c234b372cf
|
4
|
+
data.tar.gz: 21a04e99910f1e6f7a5c6d1ee318222029c8b0b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2c5667cf8e5154fddc8b447f17b88adf16a7c69a3c25f52fd293a783e1ff498c8ec85e69f2004c98df6e47b945eb380174f6f94d96d9643ca40081053043070
|
7
|
+
data.tar.gz: bb02b12f5628cf5425413fd4257194a11e3a3023ca7392cc358baee07afd40d406217789407aeab65c167693c64f9a9935316a1e266e8742ab4326a489cdd0e8
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Attempt to provide thread-safe communication between EventMachine and AMF Socket.
|
2
2
|
# 1. Always use EM.schedule to push work to the reactor thread.
|
3
|
-
# 2. Always use @actor.
|
3
|
+
# 2. Always use @actor.deliver_message! to push work to the actor's thread pool.
|
4
4
|
|
5
5
|
module Tribe
|
6
6
|
module EM
|
@@ -24,17 +24,17 @@ module Tribe
|
|
24
24
|
def post_init
|
25
25
|
super
|
26
26
|
|
27
|
-
@actor.
|
27
|
+
@actor.deliver_message!(:post_init, nil)
|
28
28
|
end
|
29
29
|
|
30
30
|
def unbind
|
31
31
|
super
|
32
32
|
|
33
|
-
@actor.
|
33
|
+
@actor.deliver_message!(:unbind, nil)
|
34
34
|
end
|
35
35
|
|
36
36
|
def receive_message(message)
|
37
|
-
@actor.
|
37
|
+
@actor.deliver_message!(:receive_message, message)
|
38
38
|
end
|
39
39
|
|
40
40
|
#
|
data/tribe_em_amfsocket.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tribe_em_amfsocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Remesch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tribe_em
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: amf_socket
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3
|
33
|
+
version: '0.3'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.3
|
40
|
+
version: '0.3'
|
41
41
|
description: Amf Socket Ruby wrapper for Tribe EM.
|
42
42
|
email:
|
43
43
|
- chad@remesch.com
|