savon 2.11.1 → 2.15.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.
Files changed (92) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +132 -73
  3. data/README.md +35 -20
  4. data/lib/savon/block_interface.rb +1 -0
  5. data/lib/savon/builder.rb +126 -30
  6. data/lib/savon/client.rb +2 -2
  7. data/lib/savon/header.rb +2 -6
  8. data/lib/savon/http_error.rb +4 -4
  9. data/lib/savon/log_message.rb +2 -1
  10. data/lib/savon/message.rb +1 -0
  11. data/lib/savon/mock/expectation.rb +1 -0
  12. data/lib/savon/mock/spec_helper.rb +1 -0
  13. data/lib/savon/mock.rb +1 -0
  14. data/lib/savon/model.rb +4 -3
  15. data/lib/savon/operation.rb +22 -19
  16. data/lib/savon/options.rb +98 -19
  17. data/lib/savon/qualified_message.rb +29 -27
  18. data/lib/savon/request.rb +22 -6
  19. data/lib/savon/request_logger.rb +8 -2
  20. data/lib/savon/response.rb +58 -10
  21. data/lib/savon/soap_fault.rb +3 -4
  22. data/lib/savon/string_utils.rb +17 -0
  23. data/lib/savon/version.rb +2 -1
  24. data/lib/savon.rb +2 -0
  25. metadata +80 -100
  26. data/.gitignore +0 -14
  27. data/.travis.yml +0 -15
  28. data/.yardopts +0 -6
  29. data/CONTRIBUTING.md +0 -46
  30. data/Gemfile +0 -18
  31. data/donate.png +0 -0
  32. data/lib/savon/core_ext/string.rb +0 -29
  33. data/savon.gemspec +0 -46
  34. data/spec/fixtures/gzip/message.gz +0 -0
  35. data/spec/fixtures/response/another_soap_fault.xml +0 -14
  36. data/spec/fixtures/response/authentication.xml +0 -14
  37. data/spec/fixtures/response/f5.xml +0 -39
  38. data/spec/fixtures/response/header.xml +0 -13
  39. data/spec/fixtures/response/list.xml +0 -18
  40. data/spec/fixtures/response/multi_ref.xml +0 -39
  41. data/spec/fixtures/response/soap_fault.xml +0 -8
  42. data/spec/fixtures/response/soap_fault12.xml +0 -18
  43. data/spec/fixtures/response/soap_fault_funky.xml +0 -8
  44. data/spec/fixtures/response/taxcloud.xml +0 -1
  45. data/spec/fixtures/ssl/client_cert.pem +0 -16
  46. data/spec/fixtures/ssl/client_encrypted_key.pem +0 -30
  47. data/spec/fixtures/ssl/client_encrypted_key_cert.pem +0 -24
  48. data/spec/fixtures/ssl/client_key.pem +0 -15
  49. data/spec/fixtures/wsdl/authentication.xml +0 -63
  50. data/spec/fixtures/wsdl/betfair.xml +0 -2981
  51. data/spec/fixtures/wsdl/edialog.xml +0 -15416
  52. data/spec/fixtures/wsdl/interhome.xml +0 -2137
  53. data/spec/fixtures/wsdl/lower_camel.xml +0 -52
  54. data/spec/fixtures/wsdl/multiple_namespaces.xml +0 -92
  55. data/spec/fixtures/wsdl/multiple_types.xml +0 -60
  56. data/spec/fixtures/wsdl/no_message_tag.xml +0 -1267
  57. data/spec/fixtures/wsdl/taxcloud.xml +0 -934
  58. data/spec/fixtures/wsdl/team_software.xml +0 -1
  59. data/spec/fixtures/wsdl/vies.xml +0 -176
  60. data/spec/fixtures/wsdl/wasmuth.xml +0 -153
  61. data/spec/integration/centra_spec.rb +0 -66
  62. data/spec/integration/email_example_spec.rb +0 -32
  63. data/spec/integration/random_quote_spec.rb +0 -23
  64. data/spec/integration/ratp_example_spec.rb +0 -28
  65. data/spec/integration/stockquote_example_spec.rb +0 -28
  66. data/spec/integration/support/application.rb +0 -82
  67. data/spec/integration/support/server.rb +0 -84
  68. data/spec/integration/temperature_example_spec.rb +0 -46
  69. data/spec/integration/zipcode_example_spec.rb +0 -42
  70. data/spec/savon/builder_spec.rb +0 -137
  71. data/spec/savon/client_spec.rb +0 -271
  72. data/spec/savon/core_ext/string_spec.rb +0 -37
  73. data/spec/savon/features/message_tag_spec.rb +0 -61
  74. data/spec/savon/http_error_spec.rb +0 -49
  75. data/spec/savon/log_message_spec.rb +0 -44
  76. data/spec/savon/message_spec.rb +0 -70
  77. data/spec/savon/mock_spec.rb +0 -174
  78. data/spec/savon/model_spec.rb +0 -182
  79. data/spec/savon/observers_spec.rb +0 -92
  80. data/spec/savon/operation_spec.rb +0 -230
  81. data/spec/savon/options_spec.rb +0 -1064
  82. data/spec/savon/qualified_message_spec.rb +0 -20
  83. data/spec/savon/request_logger_spec.rb +0 -37
  84. data/spec/savon/request_spec.rb +0 -496
  85. data/spec/savon/response_spec.rb +0 -270
  86. data/spec/savon/soap_fault_spec.rb +0 -131
  87. data/spec/spec_helper.rb +0 -30
  88. data/spec/support/adapters.rb +0 -48
  89. data/spec/support/endpoint.rb +0 -25
  90. data/spec/support/fixture.rb +0 -39
  91. data/spec/support/integration.rb +0 -9
  92. data/spec/support/stdout.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 504295cfd93728423a78f8523e082e978008dfe4
4
- data.tar.gz: 65168159c3236ec262c6c14fc5f177cdf110bccf
2
+ SHA256:
3
+ metadata.gz: df435a9b3a37060f3dbbfe5ba2f8b36c33ad66b6474afa08771396b6812fb4b3
4
+ data.tar.gz: ac8cccabad1588894528b1d2ad073e576224a6b4a5b25d10a0437fb5a807e538
5
5
  SHA512:
6
- metadata.gz: efa583a756b8257abf5af2191b4b1eabd4477d4d3486e51bbc468ed9b911c04226416ad87028c7428e1bb0d47374ab8b0ad3488750e6cfc677c50c739a3fde8e
7
- data.tar.gz: d4f6ac8cbd182f6fb6c3f3c8982ef1834fb852b91102b92286d7215e3ac71a040926d554330dfcf46151ef5862c542400918f35c8ec58edb049044865814d269
6
+ metadata.gz: 79a1dd54bd1d171afc117927c9b5419f7c6d2e2a5e2b1cfad0072397e786f5932bb3180b40f7ea9d55a08194c1554afddf3efe558959157cdcc7e8b13243beb9
7
+ data.tar.gz: 9e9f944a60f6f655da4abfed31020befb23a9823bb3437ccb46e527b1b8e091fac81c776fc3057f88985a80bbae3c8bb9746bf8c1e9c3966ac8992bc0ee7f936
data/CHANGELOG.md CHANGED
@@ -1,40 +1,99 @@
1
- # 2.11.1 (2015-05-27)
1
+ # Savon changelog
2
+
3
+ ## Unreleased
4
+ * Add your PR changelog line here
5
+
6
+ ## 2.15.1 (2024-07-08)
7
+
8
+ * Ruby 3.0+ is required in the gemspec.
9
+ * Require httpi 4.x - older versions rely on `Rack::Utils::HeaderHash` which is removed in Rack 3.0.
10
+
11
+ ## 2.15.0 (2024-02-10)
12
+
13
+ * Drop support for ruby 2.7 and below. Added Ruby 3.2 and 3.3 to test matrix.
14
+ * Allows wasabi v5.x, which now supports faraday
15
+
16
+ ## 2.14.0 (2022-12-16)
17
+
18
+ * BC BREAKING Fix: [#985](https://github.com/savonrb/savon/pull/985) Renamed `Savon::Response#hash` to `Savon::Response#full_hash`
19
+ * BC BREAKING Fix: [#988](https://github.com/savonrb/savon/pull/988) Savon no longer monkeypatches `String#snakecase`
20
+ * Fix: [#989](https://github.com/savonrb/savon/pull/989) Do not include xmlns from WSDL, which breaks some servers
21
+
22
+ ## 2.13.1 (2022-09-04)
23
+
24
+ * Fix: [#977](https://github.com/savonrb/savon/pull/977) Prevent "xmlns:xmlns" namespace but allow "xmlns" namespace.
25
+ * Change: Require Ruby 2.7.0+ in the gemspec. [0e0d695f](https://github.com/savonrb/savon/commit/0e0d695f463b719fa0fef0f58a0404b1228957f0)
26
+
27
+ ## 2.13.0 (2022-08-03)
28
+
29
+ * Drop support for ruby 2.6 and below. Added Ruby 3.0 and 3.1 to test matrix.
30
+ * 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.
31
+ * Fix: [#943](https://github.com/savonrb/savon/pull/943) Read all namespaces from wsdl definition if document exists
32
+ * Feature: [#920](https://github.com/savonrb/savon/pull/920) Add a `write_timeout` setter for HTTP requests
33
+ * Feature: [#930](https://github.com/savonrb/savon/pull/930) Add options for SSL min_version/max_version support
34
+ * Feature: [#931](https://github.com/savonrb/savon/pull/931) Add `log_headers` option
35
+
36
+ ## 2.12.1 (2020-07-05)
37
+
38
+ * Fix: [#917](https://github.com/savonrb/savon/pull/917) elementFormDefault="qualified" regression
39
+ * Fix: [#875](https://github.com/savonrb/savon/pull/875) Fix detecting Soap 1.1 Fault when faultcode and faultstring are empty
40
+
41
+ ## 2.12.0 (2018-01-16)
42
+
43
+ * Drop support for ruby 2.1 and below.
44
+ * Fix: [#822](https://github.com/savonrb/savon/pull/822) Raise correct error when SOAP envelope only contains a string
45
+ * Fix: [#833](https://github.com/savonrb/savon/pull/833) Fixes boolean handling regression introduced in 2.11.2
46
+ * Feature: [#794](https://github.com/savonrb/savon/pull/794), add global option ssl_ciphers.
47
+ * Feature: [#753](https://github.com/savonrb/savon/pull/753) Add headers configuration to WSDLRequest#build
48
+ * Feature: [#812](https://github.com/savonrb/savon/pull/812) Allow `proxy` option to be `nil`.
49
+ * Feature: [#838](https://github.com/savonrb/savon/pull/838) Added ssl_ca_path and ssl_cert_store to globals
50
+
51
+ ## 2.11.2 (2017-08-03)
52
+ * Fix: [#676](https://github.com/savonrb/savon/pull/676) Fixes handling of `content!` and `attributes!`
53
+ * Fix: [#800](https://github.com/savonrb/savon/pull/800) Fix exception calling `SOAPFault#to_s` when http.body is empty
54
+ * Fix: [#757](https://github.com/savonrb/savon/pull/757) Logging: Use filter without automatic pretty printing
55
+ * Fix: [#771](https://github.com/savonrb/savon/pull/771) Restore support for cookies when using custom headers
56
+ * Feature: [#744](https://github.com/savonrb/savon/pull/744) Add support for rpc encoded wsdl
57
+ * Feature: [#742](https://github.com/savonrb/savon/pull/742) Add support for local request headers
58
+ * Feature: [#704](https://github.com/savonrb/savon/pull/704) Add possibility to pass attribute delete_namespace_attributes to Nori
59
+
60
+ ## 2.11.1 (2015-05-27)
2
61
 
3
62
  * Replace dependency on [uuid](https://rubygems.org/gems/uuid), using SecureRandom.uuid instead.
4
63
 
5
- # 2.11.0 (2015-03-31)
64
+ ## 2.11.0 (2015-03-31)
6
65
 
7
- * Formally drop support for 1.8.7.
66
+ * Formally drop support for 1.8.7.
8
67
 
9
- # 2.10.1 (2015-03-15)
68
+ ## 2.10.1 (2015-03-15)
10
69
 
11
70
  * Feature: [#673](https://github.com/savonrb/savon/pull/673) Adds an :unwrap option that is passed to Gyoku.
12
71
 
13
- # 2.10.0 (2015-03-02)
72
+ ## 2.10.0 (2015-03-02)
14
73
 
15
74
  * Fix: This reverts a purported "fix" to operation names.
16
75
 
17
- # 2.9.0 (2015-01-29)
76
+ ## 2.9.0 (2015-01-29)
18
77
 
19
78
  * Feature: [#655] Wasabi exceptions should be rethrown as Savon errors. This should make it easier to catch errors thrown by Savon::Client.
20
79
  * Feature: [#630] ServiceFaults are correctly identified as Soap Faults.
21
80
 
22
- # 2.8.0 (2014-11-12)
81
+ ## 2.8.0 (2014-11-12)
23
82
 
24
83
  * 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.
25
84
  * Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
26
85
  * Feature: [#636](https://github.com/savonrb/savon/pull/636) Set HTTPI.logger when Savon's logger is configured.
27
86
  * 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.
28
87
 
29
- # 2.7.2 (2014-09-23)
88
+ ## 2.7.2 (2014-09-23)
30
89
 
31
90
  Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
32
91
 
33
- # 2.7.1 (2014-09-23)
92
+ ## 2.7.1 (2014-09-23)
34
93
 
35
94
  * Fix : Fix a crash in builder when request headers do not contain WSA headers
36
95
 
37
- # 2.7.0 (2014-09-23)
96
+ ## 2.7.0 (2014-09-23)
38
97
 
39
98
  * Feature: Signing requests. Added wsse_signature.
40
99
  ```ruby
@@ -43,7 +102,7 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
43
102
  end
44
103
  ```
45
104
 
46
- # 2.5.0 (2014-05-03)
105
+ ## 2.5.0 (2014-05-03)
47
106
 
48
107
  * 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.
49
108
 
@@ -63,16 +122,16 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
63
122
  client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
64
123
  ```
65
124
 
66
- ### 2.3.2 (2013-12-09)
125
+ ## 2.3.2 (2013-12-09)
67
126
 
68
127
  * Fix: [#520](https://github.com/savonrb/savon/issues/520) Fixes a regression in message tags in requests and responses.
69
128
 
70
- ### 2.3.1 (2013-12-05)
129
+ ## 2.3.1 (2013-12-05)
71
130
 
72
131
  * 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
73
132
  See [issue #487](https://github.com/savonrb/savon/issues/487)
74
133
 
75
- ### 2.3.0 (2013-07-27)
134
+ ## 2.3.0 (2013-07-27)
76
135
 
77
136
  Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
78
137
 
@@ -120,7 +179,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
120
179
  * Fix: [#468](https://github.com/savonrb/savon/issues/468) Changed the dependency on Nokogiri
121
180
  to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
122
181
 
123
- ### 2.2.0 (2013-04-21)
182
+ ## 2.2.0 (2013-04-21)
124
183
 
125
184
  * Feature: [#416](https://github.com/savonrb/savon/pull/416) The global `namespace_identifier`
126
185
  option can now be set to `nil` to not add a namespace identifier to the message tag.
@@ -158,7 +217,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
158
217
  * Fix: [#423](https://github.com/savonrb/savon/issues/423) fixes a problem where Wasabi was
159
218
  not able to find extension base elements defined in imports it didn't follow.
160
219
 
161
- ### 2.1.0 (2013-02-03)
220
+ ## 2.1.0 (2013-02-03)
162
221
 
163
222
  * Feature: [#372](https://github.com/savonrb/savon/pull/372) added global `ssl_cert_key_password` option.
164
223
 
@@ -190,12 +249,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
190
249
  * Fix: [#376](https://github.com/savonrb/savon/issues/376) added a global `namespaces` option
191
250
  for adding namespaces to the SOAP envelope.
192
251
 
193
- ### 2.0.3 (2013-01-19)
252
+ ## 2.0.3 (2013-01-19)
194
253
 
195
254
  * Upgraded Nori dependency to prevent people from using a version that is vulnerable to
196
255
  the recent [remote code execution bug](https://gist.github.com/4532291).
197
256
 
198
- ### 2.0.2 (2012-12-20)
257
+ ## 2.0.2 (2012-12-20)
199
258
 
200
259
  * Fix: [#297](https://github.com/savonrb/savon/issues/297#issuecomment-11536517) added the global
201
260
  `:ssl_verify_mode` and `:ssl_version` options which were missing.
@@ -203,13 +262,13 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
203
262
  * Fix: [#344](https://github.com/savonrb/savon/issues/344) added missing global ssl cert options
204
263
  `:ssl_cert_file`, `:ssl_cert_key_file` and `:ssl_ca_cert_file`.
205
264
 
206
- ### 2.0.1 (2012-12-19)
265
+ ## 2.0.1 (2012-12-19)
207
266
 
208
267
  * Fix [#342](https://github.com/savonrb/savon/issues/342) fixes an issue where namespaces could
209
268
  not be resolved if the actual operation name to call did not match the operation name passed
210
269
  to the client's `#call` method. For example: `:get_stations` for a `getStations` operation.
211
270
 
212
- ### 2.0.0 (2012-12-18)
271
+ ## 2.0.0 (2012-12-18)
213
272
 
214
273
  * Read about all the changes in the [updated documentation](http://savonrb.com/version2.html).
215
274
 
@@ -224,7 +283,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
224
283
 
225
284
  * Fix: [321](https://github.com/savonrb/savon/issues/321) preserve `[false]` values in Hashes.
226
285
 
227
- ### 1.2.0 (2012-09-15)
286
+ ## 1.2.0 (2012-09-15)
228
287
 
229
288
  * Fix: [#312](https://github.com/savonrb/savon/pull/312) recursively determines the proper namespaces
230
289
  for SOAP body Hashes with nested Arrays of Hashes.
@@ -234,7 +293,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
234
293
 
235
294
  * Refactoring: Use the `Wasabi::Document` with resolver instead of the custom `Savon::Wasabi::Document`.
236
295
 
237
- ### 1.1.0 (2012-06-28)
296
+ ## 1.1.0 (2012-06-28)
238
297
 
239
298
  * Improvement: Changed Savon's core dependencies to be more strict and only allow bug fix changes.
240
299
  Major or minor releases of these dependencies now need a release of Savon so they can be used.
@@ -261,7 +320,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
261
320
  * Refactoring: Moved code that sets the cookies from the last response for the
262
321
  next request to `HTTPI::Request#set_cookies`.
263
322
 
264
- ### 1.0.0 (2012-06-09)
323
+ ## 1.0.0 (2012-06-09)
265
324
 
266
325
  * Fix: `Savon.client` didn't pass the optional block.
267
326
 
@@ -272,15 +331,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
272
331
 
273
332
  As this change affects `savon_spec`, you need to update `savon_spec` to v1.3.0.
274
333
 
275
- ### 0.9.14 (2012-06-07)
334
+ ## 0.9.14 (2012-06-07)
276
335
 
277
336
  * Fix: [#292](https://github.com/savonrb/savon/issues/292) again
278
337
 
279
- ### 0.9.13 (2012-06-07)
338
+ ## 0.9.13 (2012-06-07)
280
339
 
281
340
  * Fix: [#292](https://github.com/savonrb/savon/issues/292)
282
341
 
283
- ### 0.9.12 (2012-06-07)
342
+ ## 0.9.12 (2012-06-07)
284
343
 
285
344
  * Re-added the log method setters to the new config object for backwards compatibility.
286
345
  You should be able to configure the logger as you used to do.
@@ -293,7 +352,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
293
352
  end
294
353
  ```
295
354
 
296
- ### 0.9.11 (2012-06-06)
355
+ ## 0.9.11 (2012-06-06)
297
356
 
298
357
  * Feature: [#264](https://github.com/savonrb/savon/pull/264) - Thanks to @hoverlover, Savon and Akami now support
299
358
  signed messages through WSSE.
@@ -327,7 +386,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
327
386
  </env:Envelope>
328
387
  ```
329
388
 
330
- ### 0.9.10 (2012-06-06)
389
+ ## 0.9.10 (2012-06-06)
331
390
 
332
391
  * Feature: [#289](https://github.com/savonrb/savon/pull/289) - Allow the SOAP envelope header to be set as a String.
333
392
 
@@ -357,7 +416,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
357
416
  * Moved logging to the new `Savon::Logger` object.
358
417
  * Removed the `blank?` extension from `Object`.
359
418
 
360
- ### 0.9.9 (2012-02-17)
419
+ ## 0.9.9 (2012-02-17)
361
420
 
362
421
  * Improvement: [pull request 255](https://github.com/savonrb/savon/pull/255) - Raise an error if fetching
363
422
  a remote WSDL fails. Possible fix for [issue 236](https://github.com/savonrb/savon/issues/236).
@@ -381,7 +440,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
381
440
  * Fix: [pull request 265](https://github.com/savonrb/savon/pull/265) - Fixes gemspec problems when bundling
382
441
  under JRuby 1.6.5. Also fixes [issue 267](https://github.com/savonrb/savon/issues/267).
383
442
 
384
- ### 0.9.8 (2012-02-15)
443
+ ## 0.9.8 (2012-02-15)
385
444
 
386
445
  * Feature: Savon now ships with [Savon::Model](http://rubygems.org/gems/savon_model).
387
446
  Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored
@@ -415,7 +474,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
415
474
  * Fix: [pull request 250](https://github.com/savonrb/savon/pull/250) - The Content-Length header should
416
475
  be the size in bytes.
417
476
 
418
- ### 0.9.7 (2011-08-25)
477
+ ## 0.9.7 (2011-08-25)
419
478
 
420
479
  * Feature: Merged [pull request 210](https://github.com/savonrb/savon/pull/210) by
421
480
  [mboeh](https://github.com/mboeh) to add `Savon::SOAP::Response#doc` and
@@ -444,7 +503,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
444
503
 
445
504
  * Improvement: [issue 222](https://github.com/savonrb/savon/issues/222) - Set the Content-Length header.
446
505
 
447
- ### 0.9.6 (2011-07-07)
506
+ ## 0.9.6 (2011-07-07)
448
507
 
449
508
  * Improvement/Fix: Updated Savon to use the latest version of [Wasabi](http://rubygems.org/gems/wasabi).
450
509
  This should fix [issue 155](https://github.com/savonrb/savon/issues/155) - Savon can automatically add namespaces
@@ -455,16 +514,16 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
455
514
 
456
515
  * Fix: [issue 143](https://github.com/savonrb/savon/issues/143) - Updating Wasabi should solve this issue.
457
516
 
458
- ### 0.9.5 (2011-07-03)
517
+ ## 0.9.5 (2011-07-03)
459
518
 
460
519
  * Refactoring: Extracted WSSE authentication out into the [akami](http://rubygems.org/gems/akami) gem.
461
520
 
462
- ### 0.9.4 (2011-07-03)
521
+ ## 0.9.4 (2011-07-03)
463
522
 
464
523
  * Refactoring: Extracted the WSDL parser out into the [wasabi](http://rubygems.org/gems/wasabi) gem.
465
524
  This should isolate upcoming improvements to the parser.
466
525
 
467
- ### 0.9.3 (2011-06-30)
526
+ ## 0.9.3 (2011-06-30)
468
527
 
469
528
  * Fix: [issue 138](https://github.com/savonrb/savon/issues/138) -
470
529
  Savon now supports setting a global SOAP header via `Savon.soap_header=`.
@@ -483,7 +542,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
483
542
 
484
543
  * `Hash#map_soap_response` and some of its helpers are moved to [Nori v1.0.0](http://rubygems.org/gems/nori/versions/1.0.0).
485
544
  Along with replacing core extensions with a proper implementation, Nori now contains a number of methods
486
- for [configuring its default behavior](https://github.com/savonrb/nori/blob/master/CHANGELOG.md):
545
+ for [configuring its default behavior](https://github.com/savonrb/nori/blob/main/CHANGELOG.md):
487
546
 
488
547
  * The option whether to strip namespaces was moved to Nori.strip_namespaces
489
548
  * You can disable "advanced typecasting" for SOAP response values
@@ -499,7 +558,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
499
558
 
500
559
  * `Savon::SOAP::Response#basic_hash` is now `Savon::SOAP::Response#hash`.
501
560
 
502
- ### 0.9.2 (2011-04-30)
561
+ ## 0.9.2 (2011-04-30)
503
562
 
504
563
  * Fix: [issue 154](https://github.com/savonrb/savon/pull/154) -
505
564
  Timezone format used by Savon now matches the XML schema spec.
@@ -517,7 +576,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
517
576
 
518
577
  * Improvement: WSDL parsing now uses Nokogiri instead of REXML.
519
578
 
520
- ### 0.9.1 (2011-04-06)
579
+ ## 0.9.1 (2011-04-06)
521
580
 
522
581
  * Improvement: if you're only setting the local or remote address of your wsdl document, you can
523
582
  now pass an (optional) String to `Savon::Client.new` to set `wsdl.document`.
@@ -533,7 +592,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
533
592
  response[:authenticate_response][:return]
534
593
  ```
535
594
 
536
- ### 0.9.0 (2011-04-05)
595
+ ## 0.9.0 (2011-04-05)
537
596
 
538
597
  * Feature: issues [#158](https://github.com/savonrb/savon/issues/158),
539
598
  [#169](https://github.com/savonrb/savon/issues/169) and [#172](https://github.com/savonrb/savon/issues/172)
@@ -585,18 +644,18 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
585
644
 
586
645
  * And if you haven't already seen the new documentation: [savonrb.com](http://savonrb.com)
587
646
 
588
- ### 0.8.6 (2011-02-15)
647
+ ## 0.8.6 (2011-02-15)
589
648
 
590
649
  * Fix for issues [issue #147](https://github.com/savonrb/savon/issues/147) and [#151](https://github.com/savonrb/savon/issues/151)
591
650
  ([771194](https://github.com/savonrb/savon/commit/771194)).
592
651
 
593
- ### 0.8.5 (2011-01-28)
652
+ ## 0.8.5 (2011-01-28)
594
653
 
595
654
  * Fix for [issue #146](https://github.com/savonrb/savon/issues/146) ([98655c](https://github.com/savonrb/savon/commit/98655c)).
596
655
 
597
656
  * Fix for [issue #147](https://github.com/savonrb/savon/issues/147) ([252670](https://github.com/savonrb/savon/commit/252670)).
598
657
 
599
- ### 0.8.4 (2011-01-26)
658
+ ## 0.8.4 (2011-01-26)
600
659
 
601
660
  * Fix for issues [issue #130](https://github.com/savonrb/savon/issues/130) and [#134](https://github.com/savonrb/savon/issues/134)
602
661
  ([4f9847](https://github.com/savonrb/savon/commit/4f9847)).
@@ -605,14 +664,14 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
605
664
 
606
665
  * Fix for [issue #135](https://github.com/savonrb/savon/issues/135) ([c9261d](https://github.com/savonrb/savon/commit/c9261d)).
607
666
 
608
- ### 0.8.3 (2011-01-11)
667
+ ## 0.8.3 (2011-01-11)
609
668
 
610
669
  * Moved implementation of `Savon::SOAP::Response#to_array` to a class method at `Savon::SOAP::XML.to_array`
611
670
  ([05a7d3](https://github.com/savonrb/savon/commit/05a7d3)).
612
671
 
613
672
  * Fix for [issue #131](https://github.com/savonrb/savon/issues/131) ([4e57b3](https://github.com/savonrb/savon/commit/4e57b3)).
614
673
 
615
- ### 0.8.2 (2011-01-04)
674
+ ## 0.8.2 (2011-01-04)
616
675
 
617
676
  * Fix for [issue #127](https://github.com/savonrb/savon/issues/127) ([0eb3da](https://github.com/savonrb/savon/commit/0eb3da4)).
618
677
 
@@ -644,7 +703,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
644
703
  end
645
704
  ```
646
705
 
647
- ### 0.8.1 (2010-12-22)
706
+ ## 0.8.1 (2010-12-22)
648
707
 
649
708
  * Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.
650
709
 
@@ -652,7 +711,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
652
711
 
653
712
  * Loosen dependency on builder. Should be quite stable.
654
713
 
655
- ### 0.8.0 (2010-12-20)
714
+ ## 0.8.0 (2010-12-20)
656
715
 
657
716
  * Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/savonrb/savon/commit/51fa0e)) to configure
658
717
  the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
@@ -661,7 +720,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
661
720
  * Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
662
721
  [Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/savonrb/savon/commit/bac4b4)).
663
722
 
664
- ### 0.8.0.beta.4 (2010-11-20)
723
+ ## 0.8.0.beta.4 (2010-11-20)
665
724
 
666
725
  * Fix for [issue #107](https://github.com/savonrb/savon/issues/107) ([1d6eda](https://github.com/savonrb/savon/commit/1d6eda)).
667
726
 
@@ -677,12 +736,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
677
736
  # => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
678
737
  ```
679
738
 
680
- ### 0.8.0.beta.3 (2010-11-06)
739
+ ## 0.8.0.beta.3 (2010-11-06)
681
740
 
682
741
  * Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
683
742
  ([c34b42](https://github.com/savonrb/savon/commit/c34b42)).
684
743
 
685
- ### 0.8.0.beta.2 (2010-11-05)
744
+ ## 0.8.0.beta.2 (2010-11-05)
686
745
 
687
746
  * Added `Savon.response_pattern` ([0a12fb](https://github.com/savonrb/savon/commit/0a12fb)) to automatically walk deeper into
688
747
  the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
@@ -725,7 +784,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
725
784
 
726
785
  * Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
727
786
 
728
- ### 0.8.0.beta.1 (2010-10-29)
787
+ ## 0.8.0.beta.1 (2010-10-29)
729
788
 
730
789
  * Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
731
790
  wsdl, http and wsse objects inside the block to configure your client for a particular service.
@@ -818,15 +877,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
818
877
 
819
878
  * Started to remove quite a few core extensions.
820
879
 
821
- ### 0.7.9 (2010-06-14)
880
+ ## 0.7.9 (2010-06-14)
822
881
 
823
882
  * Fix for [issue #53](https://github.com/savonrb/savon/issues/53).
824
883
 
825
- ### 0.7.8 (2010-05-09)
884
+ ## 0.7.8 (2010-05-09)
826
885
 
827
886
  * Fixed gemspec to include missing files in the gem.
828
887
 
829
- ### 0.7.7 (2010-05-09)
888
+ ## 0.7.7 (2010-05-09)
830
889
 
831
890
  * SOAP requests now start with a proper XML declaration.
832
891
 
@@ -849,7 +908,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
849
908
  in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
850
909
  it's value should not be escaped.
851
910
 
852
- ### 0.7.6 (2010-03-21)
911
+ ## 0.7.6 (2010-03-21)
853
912
 
854
913
  * Moved documentation from the Github Wiki to the actual class files and established a much nicer
855
914
  documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
@@ -865,7 +924,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
865
924
  * Fix for issues [#39](https://github.com/savonrb/savon/issues/39) and [#49](https://github.com/savonrb/savon/issues/49).
866
925
  Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
867
926
 
868
- ### 0.7.5 (2010-02-19)
927
+ ## 0.7.5 (2010-02-19)
869
928
 
870
929
  * Fix for [issue #34](https://github.com/savonrb/savon/issues/34).
871
930
 
@@ -875,11 +934,11 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
875
934
 
876
935
  * Changed the key for specifying the order of tags from :@inorder to :order!
877
936
 
878
- ### 0.7.4 (2010-02-02)
937
+ ## 0.7.4 (2010-02-02)
879
938
 
880
939
  * Fix for [issue #33](https://github.com/savonrb/savon/issues/33).
881
940
 
882
- ### 0.7.3 (2010-01-31)
941
+ ## 0.7.3 (2010-01-31)
883
942
 
884
943
  * Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
885
944
 
@@ -900,7 +959,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
900
959
 
901
960
  * Fix for [issue #25](https://github.com/savonrb/savon/issues/25).
902
961
 
903
- ### 0.7.2 (2010-01-17)
962
+ ## 0.7.2 (2010-01-17)
904
963
 
905
964
  * Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
906
965
  on your `Savon::Response` to access the `Net::HTTP` response object.
@@ -913,12 +972,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
913
972
 
914
973
  * Added support for global header and namespaces. See [issue #9](https://github.com/savonrb/savon/issues/9).
915
974
 
916
- ### 0.7.1 (2010-01-10)
975
+ ## 0.7.1 (2010-01-10)
917
976
 
918
977
  * The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
919
978
  Patch for [issue #8](https://github.com/savonrb/savon/issues/8).
920
979
 
921
- ### 0.7.0 (2010-01-09)
980
+ ## 0.7.0 (2010-01-09)
922
981
 
923
982
  This version comes with several changes to the public API!
924
983
  Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
@@ -976,7 +1035,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
976
1035
  soap.namespace = "http://example.com"
977
1036
  ```
978
1037
 
979
- ### 0.6.8 (2010-01-01)
1038
+ ## 0.6.8 (2010-01-01)
980
1039
 
981
1040
  * Improved specifications for various kinds of WSDL documents.
982
1041
 
@@ -993,7 +1052,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
993
1052
  client.get_api_key { |soap| soap.input = "User.GetApiKey" }
994
1053
  ```
995
1054
 
996
- ### 0.6.7 (2009-12-18)
1055
+ ## 0.6.7 (2009-12-18)
997
1056
 
998
1057
  * Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
999
1058
  to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
@@ -1003,17 +1062,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1003
1062
 
1004
1063
  * Patch for [issue #10](https://github.com/savonrb/savon/issues/10).
1005
1064
 
1006
- ### 0.6.6 (2009-12-14)
1065
+ ## 0.6.6 (2009-12-14)
1007
1066
 
1008
1067
  * Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
1009
1068
  and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
1010
1069
  your SOAP actions are named any different.
1011
1070
 
1012
- ### 0.6.5 (2009-12-13)
1071
+ ## 0.6.5 (2009-12-13)
1013
1072
 
1014
1073
  * Added an `open_timeout` method to `Savon::Request`.
1015
1074
 
1016
- ### 0.6.4 (2009-12-13)
1075
+ ## 0.6.4 (2009-12-13)
1017
1076
 
1018
1077
  * Refactored specs to be less unit-like.
1019
1078
 
@@ -1031,7 +1090,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1031
1090
  0.6.3 192.900000 19.630000 212.530000 (914.031865)
1032
1091
  ```
1033
1092
 
1034
- ### 0.6.3 (2009-12-11)
1093
+ ## 0.6.3 (2009-12-11)
1035
1094
 
1036
1095
  * Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
1037
1096
 
@@ -1055,17 +1114,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1055
1114
  0.6.2 574.720000 78.380000 653.100000 (1387.778539)
1056
1115
  ```
1057
1116
 
1058
- ### 0.6.2 (2009-12-06)
1117
+ ## 0.6.2 (2009-12-06)
1059
1118
 
1060
1119
  * Added support for changing the name of the SOAP input node.
1061
1120
 
1062
1121
  * Added a CHANGELOG.
1063
1122
 
1064
- ### 0.6.1 (2009-12-06)
1123
+ ## 0.6.1 (2009-12-06)
1065
1124
 
1066
1125
  * Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
1067
1126
 
1068
- ### 0.6.0 (2009-12-06)
1127
+ ## 0.6.0 (2009-12-06)
1069
1128
 
1070
1129
  * `method_missing` now yields the SOAP and WSSE objects to a given block.
1071
1130
 
@@ -1073,15 +1132,15 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1073
1132
 
1074
1133
  * Improved SOAP action handling (another problem that came up with issue #1).
1075
1134
 
1076
- ### 0.5.3 (2009-11-30)
1135
+ ## 0.5.3 (2009-11-30)
1077
1136
 
1078
1137
  * Patch for [issue #2](https://github.com/savonrb/savon/issues/2).
1079
1138
 
1080
- ### 0.5.2 (2009-11-30)
1139
+ ## 0.5.2 (2009-11-30)
1081
1140
 
1082
1141
  * Patch for [issue #1](https://github.com/savonrb/savon/issues/1).
1083
1142
 
1084
- ### 0.5.1 (2009-11-29)
1143
+ ## 0.5.1 (2009-11-29)
1085
1144
 
1086
1145
  * Optimized default response process.
1087
1146
 
@@ -1093,6 +1152,6 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1093
1152
 
1094
1153
  * Added specs
1095
1154
 
1096
- ### 0.5.0 (2009-11-29)
1155
+ ## 0.5.0 (2009-11-29)
1097
1156
 
1098
1157
  * Complete rewrite and public release.