yamlrpc 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/yamlrpc/client.rb +2 -2
- data/lib/yamlrpc.rb +1 -1
- metadata +4 -4
data/lib/yamlrpc/client.rb
CHANGED
@@ -30,7 +30,7 @@ module YamlRpc
|
|
30
30
|
class Client
|
31
31
|
|
32
32
|
DEFAULT_FORM_DATA_ROOT = :yamlrpc
|
33
|
-
DEFAULT_OPEN_TIMEOUT =
|
33
|
+
DEFAULT_OPEN_TIMEOUT = 10 # 10 seconds
|
34
34
|
DEFAULT_READ_TIMEOUT = 120 # 2 minutes
|
35
35
|
|
36
36
|
attr_accessor :uri
|
@@ -94,7 +94,7 @@ module YamlRpc
|
|
94
94
|
end
|
95
95
|
post(redirect_uri, args)
|
96
96
|
else
|
97
|
-
|
97
|
+
res.value # raises error if not kind of success
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
data/lib/yamlrpc.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yamlrpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mirek Rusin
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-02-25 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 1.8.3
|
24
24
|
version:
|
25
25
|
description: YamlRpc is a simple RPC client based on YAML
|
26
26
|
email: ruby@mirekrusin.com
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements: []
|
171
171
|
|
172
172
|
rubyforge_project: yamlrpc
|
173
|
-
rubygems_version: 1.
|
173
|
+
rubygems_version: 1.3.1
|
174
174
|
signing_key:
|
175
175
|
specification_version: 2
|
176
176
|
summary: YamlRpc is a simple RPC client based on YAML
|