json-rpc 0.1.0 → 0.1.1
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/README.md +2 -2
- metadata +3 -3
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ require 'json-rpc'
|
|
|
15
15
|
class SyncApp
|
|
16
16
|
include JsonRpc
|
|
17
17
|
def call env
|
|
18
|
-
result =
|
|
18
|
+
result = rpc_call(env) { |e|
|
|
19
19
|
logger.info "#{e}"
|
|
20
20
|
}
|
|
21
21
|
result
|
|
@@ -37,7 +37,7 @@ class AsyncApp
|
|
|
37
37
|
include JsonRpc
|
|
38
38
|
AsyncResponse = [-1, {}, []].freeze
|
|
39
39
|
def call env
|
|
40
|
-
result =
|
|
40
|
+
result = rpc_call(env)
|
|
41
41
|
env['async.callback'].call result
|
|
42
42
|
AsyncResponse
|
|
43
43
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.1.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Helios Technologies Ltd.
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-06-
|
|
17
|
+
date: 2011-06-20 00:00:00 +02:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|