savon 0.6.4 → 0.6.5
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/CHANGELOG +4 -0
- data/README.textile +1 -1
- data/VERSION +1 -1
- data/lib/savon/request.rb +5 -0
- data/spec/{spec_helper_classes.rb → endpoint_helper.rb} +0 -0
- data/spec/savon/request_spec.rb +4 -0
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
== 0.6.5 (2009-12-13)
|
2
|
+
* Added an open_timeout method to Savon::Request.
|
3
|
+
|
1
4
|
== 0.6.4 (2009-12-13)
|
2
5
|
* Refactored specs to be less unit-like.
|
3
6
|
* Added a getter for the Savon::Request to Savon::Client and a read_timeout setter for HTTP requests.
|
7
|
+
* wsdl.soap_actions now returns an Array of SOAP actions. For the previous "mapping" please use wsdl.operations.
|
4
8
|
* Replaced WSDL document with stream parsing.
|
5
9
|
|
6
10
|
Benchmarks (1000 SOAP calls):
|
data/README.textile
CHANGED
@@ -24,7 +24,7 @@ h3. The WSDL object
|
|
24
24
|
|
25
25
|
p. Savon::WSDL represents the WSDL of your service, including information like the namespace URI and available SOAP actions.
|
26
26
|
|
27
|
-
bc. client.wsdl.soap_actions
|
27
|
+
bc. client.wsdl.soap_actions
|
28
28
|
=> [:get_all_users, :get_user_by_id, :user_magic]
|
29
29
|
|
30
30
|
p. More information: "WSDL":http://wiki.github.com/rubiii/savon/wsdl
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
data/lib/savon/request.rb
CHANGED
@@ -45,6 +45,11 @@ module Savon
|
|
45
45
|
# Returns the endpoint URI.
|
46
46
|
attr_reader :endpoint
|
47
47
|
|
48
|
+
# Sets the open timeout for HTTP requests.
|
49
|
+
def open_timeout=(sec)
|
50
|
+
http.open_timeout = sec
|
51
|
+
end
|
52
|
+
|
48
53
|
# Sets the read timeout for HTTP requests.
|
49
54
|
def read_timeout=(sec)
|
50
55
|
http.read_timeout = sec
|
File without changes
|
data/spec/savon/request_spec.rb
CHANGED
@@ -51,6 +51,10 @@ describe Savon::Request do
|
|
51
51
|
@request.endpoint.should == URI(EndpointHelper.wsdl_endpoint)
|
52
52
|
end
|
53
53
|
|
54
|
+
it "has a setter for specifying an open_timeout" do
|
55
|
+
@request.open_timeout = 30
|
56
|
+
end
|
57
|
+
|
54
58
|
it "has a setter for specifying a read_timeout" do
|
55
59
|
@request.read_timeout = 30
|
56
60
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Harrington
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-13 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -89,6 +89,7 @@ files:
|
|
89
89
|
- lib/savon/soap.rb
|
90
90
|
- lib/savon/wsdl.rb
|
91
91
|
- lib/savon/wsse.rb
|
92
|
+
- spec/endpoint_helper.rb
|
92
93
|
- spec/fixtures/multiple_user_response.xml
|
93
94
|
- spec/fixtures/soap_fault.xml
|
94
95
|
- spec/fixtures/user_fixture.rb
|
@@ -109,7 +110,6 @@ files:
|
|
109
110
|
- spec/savon/wsdl_spec.rb
|
110
111
|
- spec/savon/wsse_spec.rb
|
111
112
|
- spec/spec_helper.rb
|
112
|
-
- spec/spec_helper_classes.rb
|
113
113
|
has_rdoc: true
|
114
114
|
homepage: http://github.com/rubiii/savon
|
115
115
|
licenses: []
|
@@ -143,6 +143,7 @@ signing_key:
|
|
143
143
|
specification_version: 3
|
144
144
|
summary: Heavy metal Ruby SOAP client library
|
145
145
|
test_files:
|
146
|
+
- spec/endpoint_helper.rb
|
146
147
|
- spec/fixtures/user_fixture.rb
|
147
148
|
- spec/http_stubs.rb
|
148
149
|
- spec/savon/client_spec.rb
|
@@ -159,4 +160,3 @@ test_files:
|
|
159
160
|
- spec/savon/wsdl_spec.rb
|
160
161
|
- spec/savon/wsse_spec.rb
|
161
162
|
- spec/spec_helper.rb
|
162
|
-
- spec/spec_helper_classes.rb
|