savon 2.11.2 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/CHANGELOG.md +103 -73
- data/CONTRIBUTING.md +15 -19
- data/Gemfile +2 -7
- data/README.md +26 -15
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/coverage/assets/0.12.3/application.css +1 -0
- data/coverage/assets/0.12.3/application.js +7 -0
- data/coverage/assets/0.12.3/colorbox/border.png +0 -0
- data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
- data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
- data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.12.3/favicon_green.png +0 -0
- data/coverage/assets/0.12.3/favicon_red.png +0 -0
- data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/assets/0.12.3/loading.gif +0 -0
- data/coverage/assets/0.12.3/magnify.png +0 -0
- data/coverage/index.html +21518 -0
- data/lib/savon/block_interface.rb +1 -0
- data/lib/savon/builder.rb +95 -29
- data/lib/savon/client.rb +1 -0
- data/lib/savon/core_ext/string.rb +1 -0
- data/lib/savon/header.rb +2 -6
- data/lib/savon/http_error.rb +4 -4
- data/lib/savon/log_message.rb +1 -0
- data/lib/savon/message.rb +1 -0
- data/lib/savon/mock/expectation.rb +1 -0
- data/lib/savon/mock/spec_helper.rb +1 -0
- data/lib/savon/mock.rb +1 -0
- data/lib/savon/model.rb +1 -0
- data/lib/savon/operation.rb +20 -18
- data/lib/savon/options.rb +70 -1
- data/lib/savon/qualified_message.rb +5 -4
- data/lib/savon/request.rb +18 -3
- data/lib/savon/request_logger.rb +8 -2
- data/lib/savon/response.rb +49 -2
- data/lib/savon/soap_fault.rb +2 -3
- data/lib/savon/version.rb +2 -1
- data/lib/savon.rb +1 -0
- data/savon.gemspec +10 -9
- data/spec/fixtures/response/empty_soap_fault.xml +13 -0
- data/spec/fixtures/response/no_body.xml +1 -0
- data/spec/fixtures/wsdl/elements_in_types.xml +43 -0
- data/spec/integration/support/application.rb +34 -2
- data/spec/integration/support/server.rb +1 -0
- data/spec/integration/zipcode_example_spec.rb +5 -8
- data/spec/savon/builder_spec.rb +2 -1
- data/spec/savon/client_spec.rb +5 -4
- data/spec/savon/core_ext/string_spec.rb +2 -1
- data/spec/savon/features/message_tag_spec.rb +2 -1
- data/spec/savon/http_error_spec.rb +9 -1
- data/spec/savon/log_message_spec.rb +2 -1
- data/spec/savon/message_spec.rb +2 -11
- data/spec/savon/mock_spec.rb +2 -1
- data/spec/savon/model_spec.rb +2 -1
- data/spec/savon/multipart_request_spec.rb +46 -0
- data/spec/savon/observers_spec.rb +2 -1
- data/spec/savon/operation_spec.rb +20 -43
- data/spec/savon/options_spec.rb +84 -5
- data/spec/savon/qualified_message_spec.rb +35 -1
- data/spec/savon/request_logger_spec.rb +2 -1
- data/spec/savon/request_spec.rb +99 -14
- data/spec/savon/response_spec.rb +7 -1
- data/spec/savon/soap_fault_spec.rb +12 -1
- data/spec/savon/softlayer_spec.rb +3 -2
- data/spec/spec_helper.rb +5 -4
- data/spec/support/adapters.rb +1 -0
- data/spec/support/endpoint.rb +1 -0
- data/spec/support/fixture.rb +1 -0
- data/spec/support/integration.rb +2 -1
- data/spec/support/stdout.rb +1 -0
- metadata +86 -33
- data/.travis.yml +0 -19
- data/donate.png +0 -0
- data/spec/integration/centra_spec.rb +0 -66
- data/spec/integration/email_example_spec.rb +0 -32
- data/spec/integration/random_quote_spec.rb +0 -23
- data/spec/integration/ratp_example_spec.rb +0 -28
- data/spec/integration/stockquote_example_spec.rb +0 -34
- data/spec/integration/temperature_example_spec.rb +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 499960aa27dbd47ffb67df57d2a3f018bb82be1ae2a8fa363a35135067e1daf6
|
4
|
+
data.tar.gz: 0e1ee1edde0ed096b91995b47a71c96b2d6dc46a073675075759bd2bffac16fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783a1d396caa43ab986d31791e7547b1d4a0f064b6f879de62f9945e754dffd5e73490a2c649089c0f15ce08bd144fba8f6ad6a6bbf812814d3d6e29357c6373
|
7
|
+
data.tar.gz: 9cd06cd633717fa2174f6bca31ec881f22045585dc9d6c207772bf4c4a0ec4ab6ccf0fff596445cb7e8b90eb55ef5cd0089cfaabb74d912434f5e705cc8fba85
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,34 @@
|
|
1
|
-
#
|
1
|
+
# Savon changelog
|
2
|
+
|
3
|
+
## Unreleased
|
4
|
+
|
5
|
+
* Add your PR changelog line here
|
6
|
+
|
7
|
+
## 2.13.0 (2022-08-03)
|
8
|
+
|
9
|
+
* Drop support for ruby 2.6 and below. Added Ruby 3.0 and 3.1 to test matrix.
|
10
|
+
* Fix: [#868](https://github.com/savonrb/savon/pull/868) Remove `xmlns:wsa`'s already added elsewhere; select Content-Type HTTP header based on SOAP version.
|
11
|
+
* Fix: [#943](https://github.com/savonrb/savon/pull/943) Read all namespaces from wsdl definition if document exists
|
12
|
+
* Feature: [#920](https://github.com/savonrb/savon/pull/920) Add a `write_timeout` setter for HTTP requests
|
13
|
+
* Feature: [#930](https://github.com/savonrb/savon/pull/930) Add options for SSL min_version/max_version support
|
14
|
+
* Feature: [#931](https://github.com/savonrb/savon/pull/931) Add `log_headers` option
|
15
|
+
|
16
|
+
## 2.12.1 (2020-07-05)
|
17
|
+
|
18
|
+
* Fix: [#917](https://github.com/savonrb/savon/pull/917) elementFormDefault="qualified" regression
|
19
|
+
* Fix: [#875](https://github.com/savonrb/savon/pull/875) Fix detecting Soap 1.1 Fault when faultcode and faultstring are empty
|
20
|
+
|
21
|
+
## 2.12.0 (2018-01-16)
|
22
|
+
|
23
|
+
* Drop support for ruby 2.1 and below.
|
24
|
+
* Fix: [#822](https://github.com/savonrb/savon/pull/822) Raise correct error when SOAP envelope only contains a string
|
25
|
+
* Fix: [#833](https://github.com/savonrb/savon/pull/833) Fixes boolean handling regression introduced in 2.11.2
|
26
|
+
* Feature: [#794](https://github.com/savonrb/savon/pull/794), add global option ssl_ciphers.
|
27
|
+
* Feature: [#753](https://github.com/savonrb/savon/pull/753) Add headers configuration to WSDLRequest#build
|
28
|
+
* Feature: [#812](https://github.com/savonrb/savon/pull/812) Allow `proxy` option to be `nil`.
|
29
|
+
* Feature: [#838](https://github.com/savonrb/savon/pull/838) Added ssl_ca_path and ssl_cert_store to globals
|
30
|
+
|
31
|
+
## 2.11.2 (2017-08-03)
|
2
32
|
* Fix: [#676](https://github.com/savonrb/savon/pull/676) Fixes handling of `content!` and `attributes!`
|
3
33
|
* Fix: [#800](https://github.com/savonrb/savon/pull/800) Fix exception calling `SOAPFault#to_s` when http.body is empty
|
4
34
|
* Fix: [#757](https://github.com/savonrb/savon/pull/757) Logging: Use filter without automatic pretty printing
|
@@ -7,43 +37,43 @@
|
|
7
37
|
* Feature: [#742](https://github.com/savonrb/savon/pull/742) Add support for local request headers
|
8
38
|
* Feature: [#704](https://github.com/savonrb/savon/pull/704) Add possibility to pass attribute delete_namespace_attributes to Nori
|
9
39
|
|
10
|
-
|
40
|
+
## 2.11.1 (2015-05-27)
|
11
41
|
|
12
42
|
* Replace dependency on [uuid](https://rubygems.org/gems/uuid), using SecureRandom.uuid instead.
|
13
43
|
|
14
|
-
|
44
|
+
## 2.11.0 (2015-03-31)
|
15
45
|
|
16
|
-
* Formally drop support for 1.8.7.
|
46
|
+
* Formally drop support for 1.8.7.
|
17
47
|
|
18
|
-
|
48
|
+
## 2.10.1 (2015-03-15)
|
19
49
|
|
20
50
|
* Feature: [#673](https://github.com/savonrb/savon/pull/673) Adds an :unwrap option that is passed to Gyoku.
|
21
51
|
|
22
|
-
|
52
|
+
## 2.10.0 (2015-03-02)
|
23
53
|
|
24
54
|
* Fix: This reverts a purported "fix" to operation names.
|
25
55
|
|
26
|
-
|
56
|
+
## 2.9.0 (2015-01-29)
|
27
57
|
|
28
58
|
* Feature: [#655] Wasabi exceptions should be rethrown as Savon errors. This should make it easier to catch errors thrown by Savon::Client.
|
29
59
|
* Feature: [#630] ServiceFaults are correctly identified as Soap Faults.
|
30
60
|
|
31
|
-
|
61
|
+
## 2.8.0 (2014-11-12)
|
32
62
|
|
33
63
|
* Feature : [#620](https://github.com/savonrb/savon/pull/620) add #build_request method that builds the actual XML request body, but does not submit it. Useful for debugging, possibly.
|
34
64
|
* Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
|
35
65
|
* Feature: [#636](https://github.com/savonrb/savon/pull/636) Set HTTPI.logger when Savon's logger is configured.
|
36
66
|
* Feature: [#639](https://github.com/savonrb/savon/issues/639) Allow setting any SSL version that OpenSSL provides. See [the relevant HTTPI issue](https://github.com/savonrb/httpi/pull/136) for more information.
|
37
67
|
|
38
|
-
|
68
|
+
## 2.7.2 (2014-09-23)
|
39
69
|
|
40
70
|
Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
41
71
|
|
42
|
-
|
72
|
+
## 2.7.1 (2014-09-23)
|
43
73
|
|
44
74
|
* Fix : Fix a crash in builder when request headers do not contain WSA headers
|
45
75
|
|
46
|
-
|
76
|
+
## 2.7.0 (2014-09-23)
|
47
77
|
|
48
78
|
* Feature: Signing requests. Added wsse_signature.
|
49
79
|
```ruby
|
@@ -52,7 +82,7 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
|
52
82
|
end
|
53
83
|
```
|
54
84
|
|
55
|
-
|
85
|
+
## 2.5.0 (2014-05-03)
|
56
86
|
|
57
87
|
* Feature: [#573](https://github.com/savonrb/savon/pull/573) Add an `all_operations` method to `Savon::Model` that automatically adds all available operations to the model.
|
58
88
|
|
@@ -72,16 +102,16 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
|
72
102
|
client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
|
73
103
|
```
|
74
104
|
|
75
|
-
|
105
|
+
## 2.3.2 (2013-12-09)
|
76
106
|
|
77
107
|
* Fix: [#520](https://github.com/savonrb/savon/issues/520) Fixes a regression in message tags in requests and responses.
|
78
108
|
|
79
|
-
|
109
|
+
## 2.3.1 (2013-12-05)
|
80
110
|
|
81
111
|
* Removed dependency on Nokogiri <= 1.4 -- This improves support for ruby 1.9.3 and 2.0.0 and officially begins the end of support for ruby 1.8.7
|
82
112
|
See [issue #487](https://github.com/savonrb/savon/issues/487)
|
83
113
|
|
84
|
-
|
114
|
+
## 2.3.0 (2013-07-27)
|
85
115
|
|
86
116
|
Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
87
117
|
|
@@ -129,7 +159,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
129
159
|
* Fix: [#468](https://github.com/savonrb/savon/issues/468) Changed the dependency on Nokogiri
|
130
160
|
to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
|
131
161
|
|
132
|
-
|
162
|
+
## 2.2.0 (2013-04-21)
|
133
163
|
|
134
164
|
* Feature: [#416](https://github.com/savonrb/savon/pull/416) The global `namespace_identifier`
|
135
165
|
option can now be set to `nil` to not add a namespace identifier to the message tag.
|
@@ -167,7 +197,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
167
197
|
* Fix: [#423](https://github.com/savonrb/savon/issues/423) fixes a problem where Wasabi was
|
168
198
|
not able to find extension base elements defined in imports it didn't follow.
|
169
199
|
|
170
|
-
|
200
|
+
## 2.1.0 (2013-02-03)
|
171
201
|
|
172
202
|
* Feature: [#372](https://github.com/savonrb/savon/pull/372) added global `ssl_cert_key_password` option.
|
173
203
|
|
@@ -199,12 +229,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
199
229
|
* Fix: [#376](https://github.com/savonrb/savon/issues/376) added a global `namespaces` option
|
200
230
|
for adding namespaces to the SOAP envelope.
|
201
231
|
|
202
|
-
|
232
|
+
## 2.0.3 (2013-01-19)
|
203
233
|
|
204
234
|
* Upgraded Nori dependency to prevent people from using a version that is vulnerable to
|
205
235
|
the recent [remote code execution bug](https://gist.github.com/4532291).
|
206
236
|
|
207
|
-
|
237
|
+
## 2.0.2 (2012-12-20)
|
208
238
|
|
209
239
|
* Fix: [#297](https://github.com/savonrb/savon/issues/297#issuecomment-11536517) added the global
|
210
240
|
`:ssl_verify_mode` and `:ssl_version` options which were missing.
|
@@ -212,13 +242,13 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
212
242
|
* Fix: [#344](https://github.com/savonrb/savon/issues/344) added missing global ssl cert options
|
213
243
|
`:ssl_cert_file`, `:ssl_cert_key_file` and `:ssl_ca_cert_file`.
|
214
244
|
|
215
|
-
|
245
|
+
## 2.0.1 (2012-12-19)
|
216
246
|
|
217
247
|
* Fix [#342](https://github.com/savonrb/savon/issues/342) fixes an issue where namespaces could
|
218
248
|
not be resolved if the actual operation name to call did not match the operation name passed
|
219
249
|
to the client's `#call` method. For example: `:get_stations` for a `getStations` operation.
|
220
250
|
|
221
|
-
|
251
|
+
## 2.0.0 (2012-12-18)
|
222
252
|
|
223
253
|
* Read about all the changes in the [updated documentation](http://savonrb.com/version2.html).
|
224
254
|
|
@@ -233,7 +263,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
233
263
|
|
234
264
|
* Fix: [321](https://github.com/savonrb/savon/issues/321) preserve `[false]` values in Hashes.
|
235
265
|
|
236
|
-
|
266
|
+
## 1.2.0 (2012-09-15)
|
237
267
|
|
238
268
|
* Fix: [#312](https://github.com/savonrb/savon/pull/312) recursively determines the proper namespaces
|
239
269
|
for SOAP body Hashes with nested Arrays of Hashes.
|
@@ -243,7 +273,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
243
273
|
|
244
274
|
* Refactoring: Use the `Wasabi::Document` with resolver instead of the custom `Savon::Wasabi::Document`.
|
245
275
|
|
246
|
-
|
276
|
+
## 1.1.0 (2012-06-28)
|
247
277
|
|
248
278
|
* Improvement: Changed Savon's core dependencies to be more strict and only allow bug fix changes.
|
249
279
|
Major or minor releases of these dependencies now need a release of Savon so they can be used.
|
@@ -270,7 +300,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
270
300
|
* Refactoring: Moved code that sets the cookies from the last response for the
|
271
301
|
next request to `HTTPI::Request#set_cookies`.
|
272
302
|
|
273
|
-
|
303
|
+
## 1.0.0 (2012-06-09)
|
274
304
|
|
275
305
|
* Fix: `Savon.client` didn't pass the optional block.
|
276
306
|
|
@@ -281,15 +311,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
281
311
|
|
282
312
|
As this change affects `savon_spec`, you need to update `savon_spec` to v1.3.0.
|
283
313
|
|
284
|
-
|
314
|
+
## 0.9.14 (2012-06-07)
|
285
315
|
|
286
316
|
* Fix: [#292](https://github.com/savonrb/savon/issues/292) again
|
287
317
|
|
288
|
-
|
318
|
+
## 0.9.13 (2012-06-07)
|
289
319
|
|
290
320
|
* Fix: [#292](https://github.com/savonrb/savon/issues/292)
|
291
321
|
|
292
|
-
|
322
|
+
## 0.9.12 (2012-06-07)
|
293
323
|
|
294
324
|
* Re-added the log method setters to the new config object for backwards compatibility.
|
295
325
|
You should be able to configure the logger as you used to do.
|
@@ -302,7 +332,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
302
332
|
end
|
303
333
|
```
|
304
334
|
|
305
|
-
|
335
|
+
## 0.9.11 (2012-06-06)
|
306
336
|
|
307
337
|
* Feature: [#264](https://github.com/savonrb/savon/pull/264) - Thanks to @hoverlover, Savon and Akami now support
|
308
338
|
signed messages through WSSE.
|
@@ -336,7 +366,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
336
366
|
</env:Envelope>
|
337
367
|
```
|
338
368
|
|
339
|
-
|
369
|
+
## 0.9.10 (2012-06-06)
|
340
370
|
|
341
371
|
* Feature: [#289](https://github.com/savonrb/savon/pull/289) - Allow the SOAP envelope header to be set as a String.
|
342
372
|
|
@@ -366,7 +396,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
366
396
|
* Moved logging to the new `Savon::Logger` object.
|
367
397
|
* Removed the `blank?` extension from `Object`.
|
368
398
|
|
369
|
-
|
399
|
+
## 0.9.9 (2012-02-17)
|
370
400
|
|
371
401
|
* Improvement: [pull request 255](https://github.com/savonrb/savon/pull/255) - Raise an error if fetching
|
372
402
|
a remote WSDL fails. Possible fix for [issue 236](https://github.com/savonrb/savon/issues/236).
|
@@ -390,7 +420,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
390
420
|
* Fix: [pull request 265](https://github.com/savonrb/savon/pull/265) - Fixes gemspec problems when bundling
|
391
421
|
under JRuby 1.6.5. Also fixes [issue 267](https://github.com/savonrb/savon/issues/267).
|
392
422
|
|
393
|
-
|
423
|
+
## 0.9.8 (2012-02-15)
|
394
424
|
|
395
425
|
* Feature: Savon now ships with [Savon::Model](http://rubygems.org/gems/savon_model).
|
396
426
|
Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored
|
@@ -424,7 +454,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
424
454
|
* Fix: [pull request 250](https://github.com/savonrb/savon/pull/250) - The Content-Length header should
|
425
455
|
be the size in bytes.
|
426
456
|
|
427
|
-
|
457
|
+
## 0.9.7 (2011-08-25)
|
428
458
|
|
429
459
|
* Feature: Merged [pull request 210](https://github.com/savonrb/savon/pull/210) by
|
430
460
|
[mboeh](https://github.com/mboeh) to add `Savon::SOAP::Response#doc` and
|
@@ -453,7 +483,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
453
483
|
|
454
484
|
* Improvement: [issue 222](https://github.com/savonrb/savon/issues/222) - Set the Content-Length header.
|
455
485
|
|
456
|
-
|
486
|
+
## 0.9.6 (2011-07-07)
|
457
487
|
|
458
488
|
* Improvement/Fix: Updated Savon to use the latest version of [Wasabi](http://rubygems.org/gems/wasabi).
|
459
489
|
This should fix [issue 155](https://github.com/savonrb/savon/issues/155) - Savon can automatically add namespaces
|
@@ -464,16 +494,16 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
464
494
|
|
465
495
|
* Fix: [issue 143](https://github.com/savonrb/savon/issues/143) - Updating Wasabi should solve this issue.
|
466
496
|
|
467
|
-
|
497
|
+
## 0.9.5 (2011-07-03)
|
468
498
|
|
469
499
|
* Refactoring: Extracted WSSE authentication out into the [akami](http://rubygems.org/gems/akami) gem.
|
470
500
|
|
471
|
-
|
501
|
+
## 0.9.4 (2011-07-03)
|
472
502
|
|
473
503
|
* Refactoring: Extracted the WSDL parser out into the [wasabi](http://rubygems.org/gems/wasabi) gem.
|
474
504
|
This should isolate upcoming improvements to the parser.
|
475
505
|
|
476
|
-
|
506
|
+
## 0.9.3 (2011-06-30)
|
477
507
|
|
478
508
|
* Fix: [issue 138](https://github.com/savonrb/savon/issues/138) -
|
479
509
|
Savon now supports setting a global SOAP header via `Savon.soap_header=`.
|
@@ -508,7 +538,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
508
538
|
|
509
539
|
* `Savon::SOAP::Response#basic_hash` is now `Savon::SOAP::Response#hash`.
|
510
540
|
|
511
|
-
|
541
|
+
## 0.9.2 (2011-04-30)
|
512
542
|
|
513
543
|
* Fix: [issue 154](https://github.com/savonrb/savon/pull/154) -
|
514
544
|
Timezone format used by Savon now matches the XML schema spec.
|
@@ -526,7 +556,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
526
556
|
|
527
557
|
* Improvement: WSDL parsing now uses Nokogiri instead of REXML.
|
528
558
|
|
529
|
-
|
559
|
+
## 0.9.1 (2011-04-06)
|
530
560
|
|
531
561
|
* Improvement: if you're only setting the local or remote address of your wsdl document, you can
|
532
562
|
now pass an (optional) String to `Savon::Client.new` to set `wsdl.document`.
|
@@ -542,7 +572,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
542
572
|
response[:authenticate_response][:return]
|
543
573
|
```
|
544
574
|
|
545
|
-
|
575
|
+
## 0.9.0 (2011-04-05)
|
546
576
|
|
547
577
|
* Feature: issues [#158](https://github.com/savonrb/savon/issues/158),
|
548
578
|
[#169](https://github.com/savonrb/savon/issues/169) and [#172](https://github.com/savonrb/savon/issues/172)
|
@@ -594,18 +624,18 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
594
624
|
|
595
625
|
* And if you haven't already seen the new documentation: [savonrb.com](http://savonrb.com)
|
596
626
|
|
597
|
-
|
627
|
+
## 0.8.6 (2011-02-15)
|
598
628
|
|
599
629
|
* Fix for issues [issue #147](https://github.com/savonrb/savon/issues/147) and [#151](https://github.com/savonrb/savon/issues/151)
|
600
630
|
([771194](https://github.com/savonrb/savon/commit/771194)).
|
601
631
|
|
602
|
-
|
632
|
+
## 0.8.5 (2011-01-28)
|
603
633
|
|
604
634
|
* Fix for [issue #146](https://github.com/savonrb/savon/issues/146) ([98655c](https://github.com/savonrb/savon/commit/98655c)).
|
605
635
|
|
606
636
|
* Fix for [issue #147](https://github.com/savonrb/savon/issues/147) ([252670](https://github.com/savonrb/savon/commit/252670)).
|
607
637
|
|
608
|
-
|
638
|
+
## 0.8.4 (2011-01-26)
|
609
639
|
|
610
640
|
* Fix for issues [issue #130](https://github.com/savonrb/savon/issues/130) and [#134](https://github.com/savonrb/savon/issues/134)
|
611
641
|
([4f9847](https://github.com/savonrb/savon/commit/4f9847)).
|
@@ -614,14 +644,14 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
614
644
|
|
615
645
|
* Fix for [issue #135](https://github.com/savonrb/savon/issues/135) ([c9261d](https://github.com/savonrb/savon/commit/c9261d)).
|
616
646
|
|
617
|
-
|
647
|
+
## 0.8.3 (2011-01-11)
|
618
648
|
|
619
649
|
* Moved implementation of `Savon::SOAP::Response#to_array` to a class method at `Savon::SOAP::XML.to_array`
|
620
650
|
([05a7d3](https://github.com/savonrb/savon/commit/05a7d3)).
|
621
651
|
|
622
652
|
* Fix for [issue #131](https://github.com/savonrb/savon/issues/131) ([4e57b3](https://github.com/savonrb/savon/commit/4e57b3)).
|
623
653
|
|
624
|
-
|
654
|
+
## 0.8.2 (2011-01-04)
|
625
655
|
|
626
656
|
* Fix for [issue #127](https://github.com/savonrb/savon/issues/127) ([0eb3da](https://github.com/savonrb/savon/commit/0eb3da4)).
|
627
657
|
|
@@ -653,7 +683,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
653
683
|
end
|
654
684
|
```
|
655
685
|
|
656
|
-
|
686
|
+
## 0.8.1 (2010-12-22)
|
657
687
|
|
658
688
|
* Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.
|
659
689
|
|
@@ -661,7 +691,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
661
691
|
|
662
692
|
* Loosen dependency on builder. Should be quite stable.
|
663
693
|
|
664
|
-
|
694
|
+
## 0.8.0 (2010-12-20)
|
665
695
|
|
666
696
|
* Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/savonrb/savon/commit/51fa0e)) to configure
|
667
697
|
the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
|
@@ -670,7 +700,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
670
700
|
* Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
|
671
701
|
[Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/savonrb/savon/commit/bac4b4)).
|
672
702
|
|
673
|
-
|
703
|
+
## 0.8.0.beta.4 (2010-11-20)
|
674
704
|
|
675
705
|
* Fix for [issue #107](https://github.com/savonrb/savon/issues/107) ([1d6eda](https://github.com/savonrb/savon/commit/1d6eda)).
|
676
706
|
|
@@ -686,12 +716,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
686
716
|
# => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
|
687
717
|
```
|
688
718
|
|
689
|
-
|
719
|
+
## 0.8.0.beta.3 (2010-11-06)
|
690
720
|
|
691
721
|
* Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
|
692
722
|
([c34b42](https://github.com/savonrb/savon/commit/c34b42)).
|
693
723
|
|
694
|
-
|
724
|
+
## 0.8.0.beta.2 (2010-11-05)
|
695
725
|
|
696
726
|
* Added `Savon.response_pattern` ([0a12fb](https://github.com/savonrb/savon/commit/0a12fb)) to automatically walk deeper into
|
697
727
|
the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
|
@@ -734,7 +764,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
734
764
|
|
735
765
|
* Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
|
736
766
|
|
737
|
-
|
767
|
+
## 0.8.0.beta.1 (2010-10-29)
|
738
768
|
|
739
769
|
* Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
|
740
770
|
wsdl, http and wsse objects inside the block to configure your client for a particular service.
|
@@ -827,15 +857,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
827
857
|
|
828
858
|
* Started to remove quite a few core extensions.
|
829
859
|
|
830
|
-
|
860
|
+
## 0.7.9 (2010-06-14)
|
831
861
|
|
832
862
|
* Fix for [issue #53](https://github.com/savonrb/savon/issues/53).
|
833
863
|
|
834
|
-
|
864
|
+
## 0.7.8 (2010-05-09)
|
835
865
|
|
836
866
|
* Fixed gemspec to include missing files in the gem.
|
837
867
|
|
838
|
-
|
868
|
+
## 0.7.7 (2010-05-09)
|
839
869
|
|
840
870
|
* SOAP requests now start with a proper XML declaration.
|
841
871
|
|
@@ -858,7 +888,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
858
888
|
in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
|
859
889
|
it's value should not be escaped.
|
860
890
|
|
861
|
-
|
891
|
+
## 0.7.6 (2010-03-21)
|
862
892
|
|
863
893
|
* Moved documentation from the Github Wiki to the actual class files and established a much nicer
|
864
894
|
documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
|
@@ -874,7 +904,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
874
904
|
* Fix for issues [#39](https://github.com/savonrb/savon/issues/39) and [#49](https://github.com/savonrb/savon/issues/49).
|
875
905
|
Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
|
876
906
|
|
877
|
-
|
907
|
+
## 0.7.5 (2010-02-19)
|
878
908
|
|
879
909
|
* Fix for [issue #34](https://github.com/savonrb/savon/issues/34).
|
880
910
|
|
@@ -884,11 +914,11 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
884
914
|
|
885
915
|
* Changed the key for specifying the order of tags from :@inorder to :order!
|
886
916
|
|
887
|
-
|
917
|
+
## 0.7.4 (2010-02-02)
|
888
918
|
|
889
919
|
* Fix for [issue #33](https://github.com/savonrb/savon/issues/33).
|
890
920
|
|
891
|
-
|
921
|
+
## 0.7.3 (2010-01-31)
|
892
922
|
|
893
923
|
* Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
|
894
924
|
|
@@ -909,7 +939,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
909
939
|
|
910
940
|
* Fix for [issue #25](https://github.com/savonrb/savon/issues/25).
|
911
941
|
|
912
|
-
|
942
|
+
## 0.7.2 (2010-01-17)
|
913
943
|
|
914
944
|
* Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
|
915
945
|
on your `Savon::Response` to access the `Net::HTTP` response object.
|
@@ -922,12 +952,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
922
952
|
|
923
953
|
* Added support for global header and namespaces. See [issue #9](https://github.com/savonrb/savon/issues/9).
|
924
954
|
|
925
|
-
|
955
|
+
## 0.7.1 (2010-01-10)
|
926
956
|
|
927
957
|
* The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
|
928
958
|
Patch for [issue #8](https://github.com/savonrb/savon/issues/8).
|
929
959
|
|
930
|
-
|
960
|
+
## 0.7.0 (2010-01-09)
|
931
961
|
|
932
962
|
This version comes with several changes to the public API!
|
933
963
|
Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
|
@@ -985,7 +1015,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
985
1015
|
soap.namespace = "http://example.com"
|
986
1016
|
```
|
987
1017
|
|
988
|
-
|
1018
|
+
## 0.6.8 (2010-01-01)
|
989
1019
|
|
990
1020
|
* Improved specifications for various kinds of WSDL documents.
|
991
1021
|
|
@@ -1002,7 +1032,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1002
1032
|
client.get_api_key { |soap| soap.input = "User.GetApiKey" }
|
1003
1033
|
```
|
1004
1034
|
|
1005
|
-
|
1035
|
+
## 0.6.7 (2009-12-18)
|
1006
1036
|
|
1007
1037
|
* Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
|
1008
1038
|
to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
|
@@ -1012,17 +1042,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1012
1042
|
|
1013
1043
|
* Patch for [issue #10](https://github.com/savonrb/savon/issues/10).
|
1014
1044
|
|
1015
|
-
|
1045
|
+
## 0.6.6 (2009-12-14)
|
1016
1046
|
|
1017
1047
|
* Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
|
1018
1048
|
and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
|
1019
1049
|
your SOAP actions are named any different.
|
1020
1050
|
|
1021
|
-
|
1051
|
+
## 0.6.5 (2009-12-13)
|
1022
1052
|
|
1023
1053
|
* Added an `open_timeout` method to `Savon::Request`.
|
1024
1054
|
|
1025
|
-
|
1055
|
+
## 0.6.4 (2009-12-13)
|
1026
1056
|
|
1027
1057
|
* Refactored specs to be less unit-like.
|
1028
1058
|
|
@@ -1040,7 +1070,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1040
1070
|
0.6.3 192.900000 19.630000 212.530000 (914.031865)
|
1041
1071
|
```
|
1042
1072
|
|
1043
|
-
|
1073
|
+
## 0.6.3 (2009-12-11)
|
1044
1074
|
|
1045
1075
|
* Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
|
1046
1076
|
|
@@ -1064,17 +1094,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1064
1094
|
0.6.2 574.720000 78.380000 653.100000 (1387.778539)
|
1065
1095
|
```
|
1066
1096
|
|
1067
|
-
|
1097
|
+
## 0.6.2 (2009-12-06)
|
1068
1098
|
|
1069
1099
|
* Added support for changing the name of the SOAP input node.
|
1070
1100
|
|
1071
1101
|
* Added a CHANGELOG.
|
1072
1102
|
|
1073
|
-
|
1103
|
+
## 0.6.1 (2009-12-06)
|
1074
1104
|
|
1075
1105
|
* Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
|
1076
1106
|
|
1077
|
-
|
1107
|
+
## 0.6.0 (2009-12-06)
|
1078
1108
|
|
1079
1109
|
* `method_missing` now yields the SOAP and WSSE objects to a given block.
|
1080
1110
|
|
@@ -1082,15 +1112,15 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1082
1112
|
|
1083
1113
|
* Improved SOAP action handling (another problem that came up with issue #1).
|
1084
1114
|
|
1085
|
-
|
1115
|
+
## 0.5.3 (2009-11-30)
|
1086
1116
|
|
1087
1117
|
* Patch for [issue #2](https://github.com/savonrb/savon/issues/2).
|
1088
1118
|
|
1089
|
-
|
1119
|
+
## 0.5.2 (2009-11-30)
|
1090
1120
|
|
1091
1121
|
* Patch for [issue #1](https://github.com/savonrb/savon/issues/1).
|
1092
1122
|
|
1093
|
-
|
1123
|
+
## 0.5.1 (2009-11-29)
|
1094
1124
|
|
1095
1125
|
* Optimized default response process.
|
1096
1126
|
|
@@ -1102,6 +1132,6 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1102
1132
|
|
1103
1133
|
* Added specs
|
1104
1134
|
|
1105
|
-
|
1135
|
+
## 0.5.0 (2009-11-29)
|
1106
1136
|
|
1107
1137
|
* Complete rewrite and public release.
|
data/CONTRIBUTING.md
CHANGED
@@ -3,44 +3,40 @@
|
|
3
3
|
This page describes how to contribute changes to Savon.
|
4
4
|
|
5
5
|
Please do not create a pull request without reading this guide first.
|
6
|
-
Make sure to read the documentation for your version
|
7
|
-
and post questions to the [mailing list](https://groups.google.com/forum/#!forum/savonrb).
|
6
|
+
Make sure to read the documentation for your version and ask questions on [Stack Overflow](https://stackoverflow.com/questions/ask?tags=savon).
|
8
7
|
|
9
8
|
**Bug fixes**
|
10
9
|
|
11
|
-
If you really think you found a bug, please make sure to add as
|
10
|
+
If you really think you found a bug, please make sure to add as much information as possible
|
12
11
|
to the ticket. You're a developer, we are developers and you know we need tests to reproduce
|
13
12
|
problems and make sure they don't come back.
|
14
13
|
|
15
14
|
So if you can reproduce your problem in a spec, that would be awesome! If you can't, please
|
16
|
-
let us know how we
|
17
|
-
service you're working with so others can try to come up with a spec for your problem.
|
15
|
+
let us know how we can make this easier for you. Also, provide code and the WSDL of the
|
16
|
+
service you're working with, so others can try to come up with a spec for your problem.
|
18
17
|
|
19
|
-
After we have a failing spec, it
|
20
|
-
only failing one under the `spec` directory.
|
21
|
-
but Savon actually has
|
22
|
-
|
18
|
+
After we have a failing spec, it needs to be fixed. Make sure your new spec is the
|
19
|
+
only failing one under the `spec` directory. CI only runs the "unit tests" at `spec/savon`,
|
20
|
+
but Savon actually has some additional specs at `spec/integration`, which you need to run locally
|
21
|
+
to make sure the integration with real-world services still works.
|
23
22
|
|
24
|
-
|
25
|
-
all the time and the specs will timeout after a few seconds when the service is currently down.
|
23
|
+
These specs are not run by CI, because the services are not guaranteed to work all the time.
|
26
24
|
|
27
|
-
Please follow this
|
25
|
+
Please follow this workflow for Pull Requests:
|
28
26
|
|
29
27
|
* [Fork the project](https://help.github.com/articles/fork-a-repo)
|
30
28
|
* Create a feature branch and make your bug fix
|
31
29
|
* Add tests for it!
|
32
|
-
*
|
33
|
-
* [
|
34
|
-
* [Check that your pull request passes the build](https://travis-ci.org/savonrb/savon/pull_requests)
|
35
|
-
|
30
|
+
* [Send a Pull Request](https://help.github.com/articles/using-pull-requests)
|
31
|
+
* [Check that your Pull Request passes the build](https://github.com/savonrb/savon/actions?query=workflow%3ARuby)
|
36
32
|
|
37
33
|
**Improvements and feature requests**
|
38
34
|
|
39
35
|
If you have an idea for an improvement or a new feature, please feel free to
|
40
|
-
[create a new
|
36
|
+
[create a new Issue](https://github.com/savonrb/savon/issues/new/choose) and describe your idea
|
41
37
|
so that other people can give their insights and opinions. This is also important to avoid
|
42
38
|
duplicate work.
|
43
39
|
|
44
|
-
Pull
|
45
|
-
so please make sure to participate and follow up on questions. In case
|
40
|
+
Pull Requests and Issues on GitHub are meant to be used to discuss problems and ideas,
|
41
|
+
so please make sure to participate and follow up on questions. In case no one comments
|
46
42
|
on your ticket, please keep updating the ticket with additional information.
|
data/Gemfile
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
|
+
|
2
3
|
gemspec
|
3
4
|
|
4
5
|
gem "httpclient", "~> 2.7.1"
|
5
6
|
|
6
7
|
gem "simplecov", :require => false
|
7
|
-
gem "
|
8
|
-
|
9
|
-
platform :rbx do
|
10
|
-
gem 'racc'
|
11
|
-
gem 'rubysl'
|
12
|
-
gem 'rubinius-coverage'
|
13
|
-
end
|
8
|
+
gem "net-smtp" if RUBY_VERSION >= "3.1.0"
|