tribe_em_amfsocket 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Tribe EM AMF Socket
|
2
2
|
|
3
|
-
This Ruby gem provides AMF Socket bindings for [Tribe EM] (https://github.com/chadrem/tribe_em "Tribe EM").
|
3
|
+
This Ruby gem provides [AMF Socket] (https://github.com/chadrem/amf_socket_ruby "AMF Socket") bindings for [Tribe EM] (https://github.com/chadrem/tribe_em "Tribe EM").
|
4
4
|
Currently sending and receive messages is integrated (requests are not).
|
5
5
|
|
6
6
|
## Installation
|
@@ -6,32 +6,22 @@ module Tribe
|
|
6
6
|
return Tribe::EM::AmfSocket::ActorProxy
|
7
7
|
end
|
8
8
|
|
9
|
-
#
|
10
|
-
# Actor event handlers.
|
11
|
-
#
|
12
|
-
|
13
9
|
private
|
14
10
|
|
15
|
-
# Override
|
11
|
+
# Override and and call super as necessary.
|
16
12
|
def on_post_init(event)
|
17
13
|
super
|
18
14
|
end
|
19
15
|
|
20
|
-
|
16
|
+
# Override and and call super as necessary.
|
21
17
|
def on_unbind(event)
|
22
18
|
super
|
23
19
|
end
|
24
20
|
|
25
|
-
# Override
|
21
|
+
# Override and and call super as necessary.
|
26
22
|
def on_receive_message(event)
|
27
23
|
end
|
28
24
|
|
29
|
-
#
|
30
|
-
# Private methods.
|
31
|
-
#
|
32
|
-
|
33
|
-
private
|
34
|
-
|
35
25
|
def write(data)
|
36
26
|
raise 'This method is not available with AMF Socket connections.'
|
37
27
|
end
|
data/tribe_em_amfsocket.gemspec
CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
|
-
gem.add_dependency('tribe_em', '0.0.
|
20
|
+
gem.add_dependency('tribe_em', '0.0.5')
|
21
21
|
gem.add_dependency('amf_socket', '0.3.1')
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tribe_em_amfsocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.0.
|
29
|
+
version: 0.0.5
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: amf_socket
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|