savon 2.12.0 → 2.13.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.
- checksums.yaml +5 -5
- data/.gitignore +2 -0
- data/CHANGELOG.md +98 -76
- data/CONTRIBUTING.md +15 -19
- data/Gemfile +2 -7
- data/README.md +15 -19
- data/RELEASING.md +10 -0
- data/lib/savon/block_interface.rb +1 -0
- data/lib/savon/builder.rb +98 -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 +56 -0
- data/lib/savon/qualified_message.rb +4 -3
- data/lib/savon/request.rb +5 -0
- data/lib/savon/request_logger.rb +8 -2
- data/lib/savon/response.rb +48 -1
- data/lib/savon/soap_fault.rb +2 -1
- data/lib/savon/version.rb +2 -1
- data/lib/savon.rb +1 -0
- data/savon.gemspec +9 -8
- data/spec/fixtures/response/empty_soap_fault.xml +13 -0
- data/spec/fixtures/wsdl/elements_in_types.xml +43 -0
- data/spec/integration/support/application.rb +33 -1
- 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 +51 -1
- data/spec/savon/qualified_message_spec.rb +2 -1
- data/spec/savon/request_logger_spec.rb +2 -1
- data/spec/savon/request_spec.rb +47 -6
- data/spec/savon/response_spec.rb +2 -1
- data/spec/savon/soap_fault_spec.rb +12 -1
- data/spec/savon/softlayer_spec.rb +17 -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 +1 -0
- data/spec/support/stdout.rb +1 -0
- metadata +57 -34
- data/.travis.yml +0 -18
- data/donate.png +0 -0
- data/spec/integration/centra_spec.rb +0 -67
- 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: 2df838c106560592e518702a5dedbda21f19b7e6571fd3b481c2a2a4a22c5354
|
4
|
+
data.tar.gz: ed5c9f5dddd65d6ed34ffe8837ded1b201b2ffc65c609e98e01aae57f8c27d05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb8a300b93498a4a90abc61b96dfa7e254877ab144bbe95d27c9e7fd5de3c9dcaace225e6affe3109c02f1695d225409abee74257a7cceca63e2747a61ffd84
|
7
|
+
data.tar.gz: 9366f1e31be17b4e1fd4b333b32e64f406b35a8d01d3963908d62803fcc16804ca3393cb25c7d3f7bbcf24428019477dbe27f9c183ac672e5075ea94dffdff18
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,28 @@
|
|
1
|
-
#
|
1
|
+
# Savon changelog
|
2
|
+
|
3
|
+
## Unreleased
|
4
|
+
|
5
|
+
* Add your PR changelog line here
|
6
|
+
|
7
|
+
## 2.13.1 (2022-09-04)
|
8
|
+
|
9
|
+
* Fix: [#977](https://github.com/savonrb/savon/pull/977) Prevent "xmlns:xmlns" namespace but allow "xmlns" namespace.
|
10
|
+
|
11
|
+
## 2.13.0 (2022-08-03)
|
12
|
+
|
13
|
+
* Drop support for ruby 2.6 and below. Added Ruby 3.0 and 3.1 to test matrix.
|
14
|
+
* 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.
|
15
|
+
* Fix: [#943](https://github.com/savonrb/savon/pull/943) Read all namespaces from wsdl definition if document exists
|
16
|
+
* Feature: [#920](https://github.com/savonrb/savon/pull/920) Add a `write_timeout` setter for HTTP requests
|
17
|
+
* Feature: [#930](https://github.com/savonrb/savon/pull/930) Add options for SSL min_version/max_version support
|
18
|
+
* Feature: [#931](https://github.com/savonrb/savon/pull/931) Add `log_headers` option
|
19
|
+
|
20
|
+
## 2.12.1 (2020-07-05)
|
21
|
+
|
22
|
+
* Fix: [#917](https://github.com/savonrb/savon/pull/917) elementFormDefault="qualified" regression
|
23
|
+
* Fix: [#875](https://github.com/savonrb/savon/pull/875) Fix detecting Soap 1.1 Fault when faultcode and faultstring are empty
|
24
|
+
|
25
|
+
## 2.12.0 (2018-01-16)
|
2
26
|
|
3
27
|
* Drop support for ruby 2.1 and below.
|
4
28
|
* Fix: [#822](https://github.com/savonrb/savon/pull/822) Raise correct error when SOAP envelope only contains a string
|
@@ -7,10 +31,8 @@
|
|
7
31
|
* Feature: [#753](https://github.com/savonrb/savon/pull/753) Add headers configuration to WSDLRequest#build
|
8
32
|
* Feature: [#812](https://github.com/savonrb/savon/pull/812) Allow `proxy` option to be `nil`.
|
9
33
|
* Feature: [#838](https://github.com/savonrb/savon/pull/838) Added ssl_ca_path and ssl_cert_store to globals
|
10
|
-
* Feature: [#794](https://github.com/savonrb/savon/pull/794) Add global option ssl_ciphers
|
11
|
-
|
12
34
|
|
13
|
-
|
35
|
+
## 2.11.2 (2017-08-03)
|
14
36
|
* Fix: [#676](https://github.com/savonrb/savon/pull/676) Fixes handling of `content!` and `attributes!`
|
15
37
|
* Fix: [#800](https://github.com/savonrb/savon/pull/800) Fix exception calling `SOAPFault#to_s` when http.body is empty
|
16
38
|
* Fix: [#757](https://github.com/savonrb/savon/pull/757) Logging: Use filter without automatic pretty printing
|
@@ -19,43 +41,43 @@
|
|
19
41
|
* Feature: [#742](https://github.com/savonrb/savon/pull/742) Add support for local request headers
|
20
42
|
* Feature: [#704](https://github.com/savonrb/savon/pull/704) Add possibility to pass attribute delete_namespace_attributes to Nori
|
21
43
|
|
22
|
-
|
44
|
+
## 2.11.1 (2015-05-27)
|
23
45
|
|
24
46
|
* Replace dependency on [uuid](https://rubygems.org/gems/uuid), using SecureRandom.uuid instead.
|
25
47
|
|
26
|
-
|
48
|
+
## 2.11.0 (2015-03-31)
|
27
49
|
|
28
|
-
* Formally drop support for 1.8.7.
|
50
|
+
* Formally drop support for 1.8.7.
|
29
51
|
|
30
|
-
|
52
|
+
## 2.10.1 (2015-03-15)
|
31
53
|
|
32
54
|
* Feature: [#673](https://github.com/savonrb/savon/pull/673) Adds an :unwrap option that is passed to Gyoku.
|
33
55
|
|
34
|
-
|
56
|
+
## 2.10.0 (2015-03-02)
|
35
57
|
|
36
58
|
* Fix: This reverts a purported "fix" to operation names.
|
37
59
|
|
38
|
-
|
60
|
+
## 2.9.0 (2015-01-29)
|
39
61
|
|
40
62
|
* Feature: [#655] Wasabi exceptions should be rethrown as Savon errors. This should make it easier to catch errors thrown by Savon::Client.
|
41
63
|
* Feature: [#630] ServiceFaults are correctly identified as Soap Faults.
|
42
64
|
|
43
|
-
|
65
|
+
## 2.8.0 (2014-11-12)
|
44
66
|
|
45
67
|
* 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.
|
46
68
|
* Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
|
47
69
|
* Feature: [#636](https://github.com/savonrb/savon/pull/636) Set HTTPI.logger when Savon's logger is configured.
|
48
70
|
* 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.
|
49
71
|
|
50
|
-
|
72
|
+
## 2.7.2 (2014-09-23)
|
51
73
|
|
52
74
|
Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
53
75
|
|
54
|
-
|
76
|
+
## 2.7.1 (2014-09-23)
|
55
77
|
|
56
78
|
* Fix : Fix a crash in builder when request headers do not contain WSA headers
|
57
79
|
|
58
|
-
|
80
|
+
## 2.7.0 (2014-09-23)
|
59
81
|
|
60
82
|
* Feature: Signing requests. Added wsse_signature.
|
61
83
|
```ruby
|
@@ -64,7 +86,7 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
|
64
86
|
end
|
65
87
|
```
|
66
88
|
|
67
|
-
|
89
|
+
## 2.5.0 (2014-05-03)
|
68
90
|
|
69
91
|
* 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.
|
70
92
|
|
@@ -84,16 +106,16 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
|
|
84
106
|
client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
|
85
107
|
```
|
86
108
|
|
87
|
-
|
109
|
+
## 2.3.2 (2013-12-09)
|
88
110
|
|
89
111
|
* Fix: [#520](https://github.com/savonrb/savon/issues/520) Fixes a regression in message tags in requests and responses.
|
90
112
|
|
91
|
-
|
113
|
+
## 2.3.1 (2013-12-05)
|
92
114
|
|
93
115
|
* 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
|
94
116
|
See [issue #487](https://github.com/savonrb/savon/issues/487)
|
95
117
|
|
96
|
-
|
118
|
+
## 2.3.0 (2013-07-27)
|
97
119
|
|
98
120
|
Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
99
121
|
|
@@ -141,7 +163,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
141
163
|
* Fix: [#468](https://github.com/savonrb/savon/issues/468) Changed the dependency on Nokogiri
|
142
164
|
to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
|
143
165
|
|
144
|
-
|
166
|
+
## 2.2.0 (2013-04-21)
|
145
167
|
|
146
168
|
* Feature: [#416](https://github.com/savonrb/savon/pull/416) The global `namespace_identifier`
|
147
169
|
option can now be set to `nil` to not add a namespace identifier to the message tag.
|
@@ -179,7 +201,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
179
201
|
* Fix: [#423](https://github.com/savonrb/savon/issues/423) fixes a problem where Wasabi was
|
180
202
|
not able to find extension base elements defined in imports it didn't follow.
|
181
203
|
|
182
|
-
|
204
|
+
## 2.1.0 (2013-02-03)
|
183
205
|
|
184
206
|
* Feature: [#372](https://github.com/savonrb/savon/pull/372) added global `ssl_cert_key_password` option.
|
185
207
|
|
@@ -211,12 +233,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
211
233
|
* Fix: [#376](https://github.com/savonrb/savon/issues/376) added a global `namespaces` option
|
212
234
|
for adding namespaces to the SOAP envelope.
|
213
235
|
|
214
|
-
|
236
|
+
## 2.0.3 (2013-01-19)
|
215
237
|
|
216
238
|
* Upgraded Nori dependency to prevent people from using a version that is vulnerable to
|
217
239
|
the recent [remote code execution bug](https://gist.github.com/4532291).
|
218
240
|
|
219
|
-
|
241
|
+
## 2.0.2 (2012-12-20)
|
220
242
|
|
221
243
|
* Fix: [#297](https://github.com/savonrb/savon/issues/297#issuecomment-11536517) added the global
|
222
244
|
`:ssl_verify_mode` and `:ssl_version` options which were missing.
|
@@ -224,13 +246,13 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
224
246
|
* Fix: [#344](https://github.com/savonrb/savon/issues/344) added missing global ssl cert options
|
225
247
|
`:ssl_cert_file`, `:ssl_cert_key_file` and `:ssl_ca_cert_file`.
|
226
248
|
|
227
|
-
|
249
|
+
## 2.0.1 (2012-12-19)
|
228
250
|
|
229
251
|
* Fix [#342](https://github.com/savonrb/savon/issues/342) fixes an issue where namespaces could
|
230
252
|
not be resolved if the actual operation name to call did not match the operation name passed
|
231
253
|
to the client's `#call` method. For example: `:get_stations` for a `getStations` operation.
|
232
254
|
|
233
|
-
|
255
|
+
## 2.0.0 (2012-12-18)
|
234
256
|
|
235
257
|
* Read about all the changes in the [updated documentation](http://savonrb.com/version2.html).
|
236
258
|
|
@@ -245,7 +267,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
245
267
|
|
246
268
|
* Fix: [321](https://github.com/savonrb/savon/issues/321) preserve `[false]` values in Hashes.
|
247
269
|
|
248
|
-
|
270
|
+
## 1.2.0 (2012-09-15)
|
249
271
|
|
250
272
|
* Fix: [#312](https://github.com/savonrb/savon/pull/312) recursively determines the proper namespaces
|
251
273
|
for SOAP body Hashes with nested Arrays of Hashes.
|
@@ -255,7 +277,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
255
277
|
|
256
278
|
* Refactoring: Use the `Wasabi::Document` with resolver instead of the custom `Savon::Wasabi::Document`.
|
257
279
|
|
258
|
-
|
280
|
+
## 1.1.0 (2012-06-28)
|
259
281
|
|
260
282
|
* Improvement: Changed Savon's core dependencies to be more strict and only allow bug fix changes.
|
261
283
|
Major or minor releases of these dependencies now need a release of Savon so they can be used.
|
@@ -282,7 +304,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
282
304
|
* Refactoring: Moved code that sets the cookies from the last response for the
|
283
305
|
next request to `HTTPI::Request#set_cookies`.
|
284
306
|
|
285
|
-
|
307
|
+
## 1.0.0 (2012-06-09)
|
286
308
|
|
287
309
|
* Fix: `Savon.client` didn't pass the optional block.
|
288
310
|
|
@@ -293,15 +315,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
293
315
|
|
294
316
|
As this change affects `savon_spec`, you need to update `savon_spec` to v1.3.0.
|
295
317
|
|
296
|
-
|
318
|
+
## 0.9.14 (2012-06-07)
|
297
319
|
|
298
320
|
* Fix: [#292](https://github.com/savonrb/savon/issues/292) again
|
299
321
|
|
300
|
-
|
322
|
+
## 0.9.13 (2012-06-07)
|
301
323
|
|
302
324
|
* Fix: [#292](https://github.com/savonrb/savon/issues/292)
|
303
325
|
|
304
|
-
|
326
|
+
## 0.9.12 (2012-06-07)
|
305
327
|
|
306
328
|
* Re-added the log method setters to the new config object for backwards compatibility.
|
307
329
|
You should be able to configure the logger as you used to do.
|
@@ -314,7 +336,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
314
336
|
end
|
315
337
|
```
|
316
338
|
|
317
|
-
|
339
|
+
## 0.9.11 (2012-06-06)
|
318
340
|
|
319
341
|
* Feature: [#264](https://github.com/savonrb/savon/pull/264) - Thanks to @hoverlover, Savon and Akami now support
|
320
342
|
signed messages through WSSE.
|
@@ -348,7 +370,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
348
370
|
</env:Envelope>
|
349
371
|
```
|
350
372
|
|
351
|
-
|
373
|
+
## 0.9.10 (2012-06-06)
|
352
374
|
|
353
375
|
* Feature: [#289](https://github.com/savonrb/savon/pull/289) - Allow the SOAP envelope header to be set as a String.
|
354
376
|
|
@@ -378,7 +400,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
378
400
|
* Moved logging to the new `Savon::Logger` object.
|
379
401
|
* Removed the `blank?` extension from `Object`.
|
380
402
|
|
381
|
-
|
403
|
+
## 0.9.9 (2012-02-17)
|
382
404
|
|
383
405
|
* Improvement: [pull request 255](https://github.com/savonrb/savon/pull/255) - Raise an error if fetching
|
384
406
|
a remote WSDL fails. Possible fix for [issue 236](https://github.com/savonrb/savon/issues/236).
|
@@ -402,7 +424,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
402
424
|
* Fix: [pull request 265](https://github.com/savonrb/savon/pull/265) - Fixes gemspec problems when bundling
|
403
425
|
under JRuby 1.6.5. Also fixes [issue 267](https://github.com/savonrb/savon/issues/267).
|
404
426
|
|
405
|
-
|
427
|
+
## 0.9.8 (2012-02-15)
|
406
428
|
|
407
429
|
* Feature: Savon now ships with [Savon::Model](http://rubygems.org/gems/savon_model).
|
408
430
|
Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored
|
@@ -436,7 +458,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
436
458
|
* Fix: [pull request 250](https://github.com/savonrb/savon/pull/250) - The Content-Length header should
|
437
459
|
be the size in bytes.
|
438
460
|
|
439
|
-
|
461
|
+
## 0.9.7 (2011-08-25)
|
440
462
|
|
441
463
|
* Feature: Merged [pull request 210](https://github.com/savonrb/savon/pull/210) by
|
442
464
|
[mboeh](https://github.com/mboeh) to add `Savon::SOAP::Response#doc` and
|
@@ -465,7 +487,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
465
487
|
|
466
488
|
* Improvement: [issue 222](https://github.com/savonrb/savon/issues/222) - Set the Content-Length header.
|
467
489
|
|
468
|
-
|
490
|
+
## 0.9.6 (2011-07-07)
|
469
491
|
|
470
492
|
* Improvement/Fix: Updated Savon to use the latest version of [Wasabi](http://rubygems.org/gems/wasabi).
|
471
493
|
This should fix [issue 155](https://github.com/savonrb/savon/issues/155) - Savon can automatically add namespaces
|
@@ -476,16 +498,16 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
476
498
|
|
477
499
|
* Fix: [issue 143](https://github.com/savonrb/savon/issues/143) - Updating Wasabi should solve this issue.
|
478
500
|
|
479
|
-
|
501
|
+
## 0.9.5 (2011-07-03)
|
480
502
|
|
481
503
|
* Refactoring: Extracted WSSE authentication out into the [akami](http://rubygems.org/gems/akami) gem.
|
482
504
|
|
483
|
-
|
505
|
+
## 0.9.4 (2011-07-03)
|
484
506
|
|
485
507
|
* Refactoring: Extracted the WSDL parser out into the [wasabi](http://rubygems.org/gems/wasabi) gem.
|
486
508
|
This should isolate upcoming improvements to the parser.
|
487
509
|
|
488
|
-
|
510
|
+
## 0.9.3 (2011-06-30)
|
489
511
|
|
490
512
|
* Fix: [issue 138](https://github.com/savonrb/savon/issues/138) -
|
491
513
|
Savon now supports setting a global SOAP header via `Savon.soap_header=`.
|
@@ -520,7 +542,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
520
542
|
|
521
543
|
* `Savon::SOAP::Response#basic_hash` is now `Savon::SOAP::Response#hash`.
|
522
544
|
|
523
|
-
|
545
|
+
## 0.9.2 (2011-04-30)
|
524
546
|
|
525
547
|
* Fix: [issue 154](https://github.com/savonrb/savon/pull/154) -
|
526
548
|
Timezone format used by Savon now matches the XML schema spec.
|
@@ -538,7 +560,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
538
560
|
|
539
561
|
* Improvement: WSDL parsing now uses Nokogiri instead of REXML.
|
540
562
|
|
541
|
-
|
563
|
+
## 0.9.1 (2011-04-06)
|
542
564
|
|
543
565
|
* Improvement: if you're only setting the local or remote address of your wsdl document, you can
|
544
566
|
now pass an (optional) String to `Savon::Client.new` to set `wsdl.document`.
|
@@ -554,7 +576,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
554
576
|
response[:authenticate_response][:return]
|
555
577
|
```
|
556
578
|
|
557
|
-
|
579
|
+
## 0.9.0 (2011-04-05)
|
558
580
|
|
559
581
|
* Feature: issues [#158](https://github.com/savonrb/savon/issues/158),
|
560
582
|
[#169](https://github.com/savonrb/savon/issues/169) and [#172](https://github.com/savonrb/savon/issues/172)
|
@@ -606,18 +628,18 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
606
628
|
|
607
629
|
* And if you haven't already seen the new documentation: [savonrb.com](http://savonrb.com)
|
608
630
|
|
609
|
-
|
631
|
+
## 0.8.6 (2011-02-15)
|
610
632
|
|
611
633
|
* Fix for issues [issue #147](https://github.com/savonrb/savon/issues/147) and [#151](https://github.com/savonrb/savon/issues/151)
|
612
634
|
([771194](https://github.com/savonrb/savon/commit/771194)).
|
613
635
|
|
614
|
-
|
636
|
+
## 0.8.5 (2011-01-28)
|
615
637
|
|
616
638
|
* Fix for [issue #146](https://github.com/savonrb/savon/issues/146) ([98655c](https://github.com/savonrb/savon/commit/98655c)).
|
617
639
|
|
618
640
|
* Fix for [issue #147](https://github.com/savonrb/savon/issues/147) ([252670](https://github.com/savonrb/savon/commit/252670)).
|
619
641
|
|
620
|
-
|
642
|
+
## 0.8.4 (2011-01-26)
|
621
643
|
|
622
644
|
* Fix for issues [issue #130](https://github.com/savonrb/savon/issues/130) and [#134](https://github.com/savonrb/savon/issues/134)
|
623
645
|
([4f9847](https://github.com/savonrb/savon/commit/4f9847)).
|
@@ -626,14 +648,14 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
626
648
|
|
627
649
|
* Fix for [issue #135](https://github.com/savonrb/savon/issues/135) ([c9261d](https://github.com/savonrb/savon/commit/c9261d)).
|
628
650
|
|
629
|
-
|
651
|
+
## 0.8.3 (2011-01-11)
|
630
652
|
|
631
653
|
* Moved implementation of `Savon::SOAP::Response#to_array` to a class method at `Savon::SOAP::XML.to_array`
|
632
654
|
([05a7d3](https://github.com/savonrb/savon/commit/05a7d3)).
|
633
655
|
|
634
656
|
* Fix for [issue #131](https://github.com/savonrb/savon/issues/131) ([4e57b3](https://github.com/savonrb/savon/commit/4e57b3)).
|
635
657
|
|
636
|
-
|
658
|
+
## 0.8.2 (2011-01-04)
|
637
659
|
|
638
660
|
* Fix for [issue #127](https://github.com/savonrb/savon/issues/127) ([0eb3da](https://github.com/savonrb/savon/commit/0eb3da4)).
|
639
661
|
|
@@ -665,7 +687,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
665
687
|
end
|
666
688
|
```
|
667
689
|
|
668
|
-
|
690
|
+
## 0.8.1 (2010-12-22)
|
669
691
|
|
670
692
|
* Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.
|
671
693
|
|
@@ -673,7 +695,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
673
695
|
|
674
696
|
* Loosen dependency on builder. Should be quite stable.
|
675
697
|
|
676
|
-
|
698
|
+
## 0.8.0 (2010-12-20)
|
677
699
|
|
678
700
|
* Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/savonrb/savon/commit/51fa0e)) to configure
|
679
701
|
the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
|
@@ -682,7 +704,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
682
704
|
* Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
|
683
705
|
[Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/savonrb/savon/commit/bac4b4)).
|
684
706
|
|
685
|
-
|
707
|
+
## 0.8.0.beta.4 (2010-11-20)
|
686
708
|
|
687
709
|
* Fix for [issue #107](https://github.com/savonrb/savon/issues/107) ([1d6eda](https://github.com/savonrb/savon/commit/1d6eda)).
|
688
710
|
|
@@ -698,12 +720,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
698
720
|
# => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
|
699
721
|
```
|
700
722
|
|
701
|
-
|
723
|
+
## 0.8.0.beta.3 (2010-11-06)
|
702
724
|
|
703
725
|
* Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
|
704
726
|
([c34b42](https://github.com/savonrb/savon/commit/c34b42)).
|
705
727
|
|
706
|
-
|
728
|
+
## 0.8.0.beta.2 (2010-11-05)
|
707
729
|
|
708
730
|
* Added `Savon.response_pattern` ([0a12fb](https://github.com/savonrb/savon/commit/0a12fb)) to automatically walk deeper into
|
709
731
|
the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
|
@@ -746,7 +768,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
746
768
|
|
747
769
|
* Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
|
748
770
|
|
749
|
-
|
771
|
+
## 0.8.0.beta.1 (2010-10-29)
|
750
772
|
|
751
773
|
* Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
|
752
774
|
wsdl, http and wsse objects inside the block to configure your client for a particular service.
|
@@ -839,15 +861,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
839
861
|
|
840
862
|
* Started to remove quite a few core extensions.
|
841
863
|
|
842
|
-
|
864
|
+
## 0.7.9 (2010-06-14)
|
843
865
|
|
844
866
|
* Fix for [issue #53](https://github.com/savonrb/savon/issues/53).
|
845
867
|
|
846
|
-
|
868
|
+
## 0.7.8 (2010-05-09)
|
847
869
|
|
848
870
|
* Fixed gemspec to include missing files in the gem.
|
849
871
|
|
850
|
-
|
872
|
+
## 0.7.7 (2010-05-09)
|
851
873
|
|
852
874
|
* SOAP requests now start with a proper XML declaration.
|
853
875
|
|
@@ -870,7 +892,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
870
892
|
in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
|
871
893
|
it's value should not be escaped.
|
872
894
|
|
873
|
-
|
895
|
+
## 0.7.6 (2010-03-21)
|
874
896
|
|
875
897
|
* Moved documentation from the Github Wiki to the actual class files and established a much nicer
|
876
898
|
documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
|
@@ -886,7 +908,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
886
908
|
* Fix for issues [#39](https://github.com/savonrb/savon/issues/39) and [#49](https://github.com/savonrb/savon/issues/49).
|
887
909
|
Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
|
888
910
|
|
889
|
-
|
911
|
+
## 0.7.5 (2010-02-19)
|
890
912
|
|
891
913
|
* Fix for [issue #34](https://github.com/savonrb/savon/issues/34).
|
892
914
|
|
@@ -896,11 +918,11 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
896
918
|
|
897
919
|
* Changed the key for specifying the order of tags from :@inorder to :order!
|
898
920
|
|
899
|
-
|
921
|
+
## 0.7.4 (2010-02-02)
|
900
922
|
|
901
923
|
* Fix for [issue #33](https://github.com/savonrb/savon/issues/33).
|
902
924
|
|
903
|
-
|
925
|
+
## 0.7.3 (2010-01-31)
|
904
926
|
|
905
927
|
* Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
|
906
928
|
|
@@ -921,7 +943,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
921
943
|
|
922
944
|
* Fix for [issue #25](https://github.com/savonrb/savon/issues/25).
|
923
945
|
|
924
|
-
|
946
|
+
## 0.7.2 (2010-01-17)
|
925
947
|
|
926
948
|
* Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
|
927
949
|
on your `Savon::Response` to access the `Net::HTTP` response object.
|
@@ -934,12 +956,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
|
|
934
956
|
|
935
957
|
* Added support for global header and namespaces. See [issue #9](https://github.com/savonrb/savon/issues/9).
|
936
958
|
|
937
|
-
|
959
|
+
## 0.7.1 (2010-01-10)
|
938
960
|
|
939
961
|
* The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
|
940
962
|
Patch for [issue #8](https://github.com/savonrb/savon/issues/8).
|
941
963
|
|
942
|
-
|
964
|
+
## 0.7.0 (2010-01-09)
|
943
965
|
|
944
966
|
This version comes with several changes to the public API!
|
945
967
|
Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
|
@@ -997,7 +1019,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
997
1019
|
soap.namespace = "http://example.com"
|
998
1020
|
```
|
999
1021
|
|
1000
|
-
|
1022
|
+
## 0.6.8 (2010-01-01)
|
1001
1023
|
|
1002
1024
|
* Improved specifications for various kinds of WSDL documents.
|
1003
1025
|
|
@@ -1014,7 +1036,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1014
1036
|
client.get_api_key { |soap| soap.input = "User.GetApiKey" }
|
1015
1037
|
```
|
1016
1038
|
|
1017
|
-
|
1039
|
+
## 0.6.7 (2009-12-18)
|
1018
1040
|
|
1019
1041
|
* Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
|
1020
1042
|
to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
|
@@ -1024,17 +1046,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1024
1046
|
|
1025
1047
|
* Patch for [issue #10](https://github.com/savonrb/savon/issues/10).
|
1026
1048
|
|
1027
|
-
|
1049
|
+
## 0.6.6 (2009-12-14)
|
1028
1050
|
|
1029
1051
|
* Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
|
1030
1052
|
and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
|
1031
1053
|
your SOAP actions are named any different.
|
1032
1054
|
|
1033
|
-
|
1055
|
+
## 0.6.5 (2009-12-13)
|
1034
1056
|
|
1035
1057
|
* Added an `open_timeout` method to `Savon::Request`.
|
1036
1058
|
|
1037
|
-
|
1059
|
+
## 0.6.4 (2009-12-13)
|
1038
1060
|
|
1039
1061
|
* Refactored specs to be less unit-like.
|
1040
1062
|
|
@@ -1052,7 +1074,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1052
1074
|
0.6.3 192.900000 19.630000 212.530000 (914.031865)
|
1053
1075
|
```
|
1054
1076
|
|
1055
|
-
|
1077
|
+
## 0.6.3 (2009-12-11)
|
1056
1078
|
|
1057
1079
|
* Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
|
1058
1080
|
|
@@ -1076,17 +1098,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1076
1098
|
0.6.2 574.720000 78.380000 653.100000 (1387.778539)
|
1077
1099
|
```
|
1078
1100
|
|
1079
|
-
|
1101
|
+
## 0.6.2 (2009-12-06)
|
1080
1102
|
|
1081
1103
|
* Added support for changing the name of the SOAP input node.
|
1082
1104
|
|
1083
1105
|
* Added a CHANGELOG.
|
1084
1106
|
|
1085
|
-
|
1107
|
+
## 0.6.1 (2009-12-06)
|
1086
1108
|
|
1087
1109
|
* Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
|
1088
1110
|
|
1089
|
-
|
1111
|
+
## 0.6.0 (2009-12-06)
|
1090
1112
|
|
1091
1113
|
* `method_missing` now yields the SOAP and WSSE objects to a given block.
|
1092
1114
|
|
@@ -1094,15 +1116,15 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1094
1116
|
|
1095
1117
|
* Improved SOAP action handling (another problem that came up with issue #1).
|
1096
1118
|
|
1097
|
-
|
1119
|
+
## 0.5.3 (2009-11-30)
|
1098
1120
|
|
1099
1121
|
* Patch for [issue #2](https://github.com/savonrb/savon/issues/2).
|
1100
1122
|
|
1101
|
-
|
1123
|
+
## 0.5.2 (2009-11-30)
|
1102
1124
|
|
1103
1125
|
* Patch for [issue #1](https://github.com/savonrb/savon/issues/1).
|
1104
1126
|
|
1105
|
-
|
1127
|
+
## 0.5.1 (2009-11-29)
|
1106
1128
|
|
1107
1129
|
* Optimized default response process.
|
1108
1130
|
|
@@ -1114,6 +1136,6 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
|
|
1114
1136
|
|
1115
1137
|
* Added specs
|
1116
1138
|
|
1117
|
-
|
1139
|
+
## 0.5.0 (2009-11-29)
|
1118
1140
|
|
1119
1141
|
* 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.
|