savon 2.0.3 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/CHANGELOG.md +38 -6
- data/Gemfile +1 -0
- data/lib/savon.rb +3 -3
- data/lib/savon/builder.rb +14 -3
- data/lib/savon/client.rb +22 -9
- data/lib/savon/operation.rb +70 -2
- data/lib/savon/options.rb +26 -20
- data/lib/savon/qualified_message.rb +2 -6
- data/lib/savon/request.rb +52 -79
- data/lib/savon/version.rb +1 -1
- data/savon.gemspec +11 -2
- data/savon.sublime-workspace +494 -0
- data/spec/fixtures/ssl/client_encrypted_key.pem +30 -0
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +24 -0
- data/spec/integration/support/application.rb +10 -8
- data/spec/savon/client_spec.rb +27 -18
- data/spec/savon/operation_spec.rb +112 -7
- data/spec/savon/options_spec.rb +126 -28
- data/spec/savon/request_spec.rb +404 -84
- data/spec/spec_helper.rb +11 -0
- metadata +25 -6
data/spec/spec_helper.rb
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
require "bundler"
|
2
2
|
Bundler.setup(:default, :development)
|
3
3
|
|
4
|
+
if ENV["COVERAGE"]
|
5
|
+
require "simplecov"
|
6
|
+
SimpleCov.start do
|
7
|
+
add_filter "/spec/"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
4
11
|
require "savon"
|
5
12
|
require "rspec"
|
6
13
|
|
@@ -11,5 +18,9 @@ end
|
|
11
18
|
|
12
19
|
HTTPI.log = false
|
13
20
|
|
21
|
+
# don't have HTTPI lazy-load HTTPClient, because then
|
22
|
+
# it can't actually be refered to inside the specs.
|
23
|
+
require "httpclient"
|
24
|
+
|
14
25
|
require "support/endpoint"
|
15
26
|
require "support/fixture"
|
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: 2.0
|
4
|
+
version: 2.1.0
|
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-
|
12
|
+
date: 2013-02-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nori
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.
|
37
|
+
version: 2.0.2
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.
|
45
|
+
version: 2.0.2
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: wasabi
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -203,6 +203,22 @@ dependencies:
|
|
203
203
|
- - ~>
|
204
204
|
- !ruby/object:Gem::Version
|
205
205
|
version: '0.11'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: json
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ~>
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '1.7'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ~>
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.7'
|
206
222
|
description: Delicious SOAP for the Ruby community
|
207
223
|
email: me@rubiii.com
|
208
224
|
executables: []
|
@@ -239,6 +255,7 @@ files:
|
|
239
255
|
- lib/savon/soap_fault.rb
|
240
256
|
- lib/savon/version.rb
|
241
257
|
- savon.gemspec
|
258
|
+
- savon.sublime-workspace
|
242
259
|
- spec/fixtures/gzip/message.gz
|
243
260
|
- spec/fixtures/response/another_soap_fault.xml
|
244
261
|
- spec/fixtures/response/authentication.xml
|
@@ -249,6 +266,8 @@ files:
|
|
249
266
|
- spec/fixtures/response/soap_fault12.xml
|
250
267
|
- spec/fixtures/response/taxcloud.xml
|
251
268
|
- spec/fixtures/ssl/client_cert.pem
|
269
|
+
- spec/fixtures/ssl/client_encrypted_key.pem
|
270
|
+
- spec/fixtures/ssl/client_encrypted_key_cert.pem
|
252
271
|
- spec/fixtures/ssl/client_key.pem
|
253
272
|
- spec/fixtures/wsdl/authentication.xml
|
254
273
|
- spec/fixtures/wsdl/lower_camel.xml
|
@@ -292,7 +311,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
292
311
|
version: '0'
|
293
312
|
segments:
|
294
313
|
- 0
|
295
|
-
hash: -
|
314
|
+
hash: -3744953001021144094
|
296
315
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
297
316
|
none: false
|
298
317
|
requirements:
|
@@ -301,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
301
320
|
version: '0'
|
302
321
|
segments:
|
303
322
|
- 0
|
304
|
-
hash: -
|
323
|
+
hash: -3744953001021144094
|
305
324
|
requirements: []
|
306
325
|
rubyforge_project: savon
|
307
326
|
rubygems_version: 1.8.24
|