em_remote_call 0.0.1 → 0.0.2
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.
- data/lib/em_remote_call/client.rb +0 -1
- data/lib/em_remote_call/server.rb +0 -1
- data/lib/em_remote_call/version.rb +1 -1
- metadata +3 -3
|
@@ -37,7 +37,6 @@ module EM::RemoteCall::Server
|
|
|
37
37
|
include EM::JsonConnection::Server
|
|
38
38
|
|
|
39
39
|
def json_parsed(hash)
|
|
40
|
-
p hash
|
|
41
40
|
remote_call = EM::RemoteCall::Call.new hash[:instance], hash[:method].to_sym, hash[:argument]
|
|
42
41
|
return_value = remote_call.call do |blk_value|
|
|
43
42
|
send_data({:callback_id => hash[:callback_id], :argument => blk_value}) if hash[:callback_id]
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
version: 0.0.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.0.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Niko Dittmann
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-11-
|
|
17
|
+
date: 2010-11-16 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|