tribe_em 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -0
- data/lib/tribe_em/version.rb +1 -1
- data/tribe_em.gemspec +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -27,12 +27,14 @@ You can test the below code using a utility such as telnet (telnet localhost 900
|
|
27
27
|
|
28
28
|
def on_post_init(event)
|
29
29
|
puts "Actor (#{identifier}) connected to client using thread (#{Thread.current.object_id})."
|
30
|
+
super
|
30
31
|
end
|
31
32
|
|
32
33
|
def on_receive_data(event)
|
33
34
|
puts "Actor (#{identifier}) received data (#{event.data}) using thread (#{Thread.current.object_id})."
|
34
35
|
write(event.data)
|
35
36
|
enqueue(:shutdown)
|
37
|
+
super
|
36
38
|
end
|
37
39
|
|
38
40
|
def on_unbind(event)
|
data/lib/tribe_em/version.rb
CHANGED
data/tribe_em.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', '0.0.
|
20
|
+
gem.add_dependency('tribe', '0.0.11')
|
21
21
|
gem.add_dependency('eventmachine', '>= 1.0.0')
|
22
22
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tribe_em
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: tribe
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.0.
|
21
|
+
version: 0.0.11
|
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.11
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: eventmachine
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|