savon 2.12.0 → 2.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +115 -77
  3. data/README.md +23 -21
  4. data/lib/savon/block_interface.rb +1 -0
  5. data/lib/savon/builder.rb +100 -30
  6. data/lib/savon/client.rb +1 -0
  7. data/lib/savon/header.rb +2 -6
  8. data/lib/savon/http_error.rb +4 -4
  9. data/lib/savon/log_message.rb +1 -0
  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 +20 -18
  16. data/lib/savon/options.rb +57 -1
  17. data/lib/savon/qualified_message.rb +4 -3
  18. data/lib/savon/request.rb +5 -0
  19. data/lib/savon/request_logger.rb +8 -2
  20. data/lib/savon/response.rb +51 -4
  21. data/lib/savon/soap_fault.rb +2 -1
  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 +78 -101
  26. data/.gitignore +0 -14
  27. data/.travis.yml +0 -18
  28. data/.yardopts +0 -6
  29. data/CONTRIBUTING.md +0 -46
  30. data/Gemfile +0 -13
  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/no_body.xml +0 -1
  42. data/spec/fixtures/response/soap_fault.xml +0 -8
  43. data/spec/fixtures/response/soap_fault12.xml +0 -18
  44. data/spec/fixtures/response/soap_fault_funky.xml +0 -8
  45. data/spec/fixtures/response/taxcloud.xml +0 -1
  46. data/spec/fixtures/ssl/client_cert.pem +0 -16
  47. data/spec/fixtures/ssl/client_encrypted_key.pem +0 -30
  48. data/spec/fixtures/ssl/client_encrypted_key_cert.pem +0 -24
  49. data/spec/fixtures/ssl/client_key.pem +0 -15
  50. data/spec/fixtures/wsdl/authentication.xml +0 -63
  51. data/spec/fixtures/wsdl/betfair.xml +0 -2981
  52. data/spec/fixtures/wsdl/brand.xml +0 -624
  53. data/spec/fixtures/wsdl/edialog.xml +0 -15416
  54. data/spec/fixtures/wsdl/interhome.xml +0 -2137
  55. data/spec/fixtures/wsdl/lower_camel.xml +0 -52
  56. data/spec/fixtures/wsdl/multiple_namespaces.xml +0 -92
  57. data/spec/fixtures/wsdl/multiple_types.xml +0 -60
  58. data/spec/fixtures/wsdl/no_message_tag.xml +0 -1267
  59. data/spec/fixtures/wsdl/taxcloud.xml +0 -934
  60. data/spec/fixtures/wsdl/team_software.xml +0 -1
  61. data/spec/fixtures/wsdl/vies.xml +0 -176
  62. data/spec/fixtures/wsdl/wasmuth.xml +0 -153
  63. data/spec/integration/centra_spec.rb +0 -67
  64. data/spec/integration/email_example_spec.rb +0 -32
  65. data/spec/integration/random_quote_spec.rb +0 -23
  66. data/spec/integration/ratp_example_spec.rb +0 -28
  67. data/spec/integration/stockquote_example_spec.rb +0 -34
  68. data/spec/integration/support/application.rb +0 -82
  69. data/spec/integration/support/server.rb +0 -84
  70. data/spec/integration/temperature_example_spec.rb +0 -46
  71. data/spec/integration/zipcode_example_spec.rb +0 -42
  72. data/spec/savon/builder_spec.rb +0 -137
  73. data/spec/savon/client_spec.rb +0 -271
  74. data/spec/savon/core_ext/string_spec.rb +0 -37
  75. data/spec/savon/features/message_tag_spec.rb +0 -61
  76. data/spec/savon/http_error_spec.rb +0 -49
  77. data/spec/savon/log_message_spec.rb +0 -50
  78. data/spec/savon/message_spec.rb +0 -70
  79. data/spec/savon/mock_spec.rb +0 -174
  80. data/spec/savon/model_spec.rb +0 -182
  81. data/spec/savon/observers_spec.rb +0 -92
  82. data/spec/savon/operation_spec.rb +0 -230
  83. data/spec/savon/options_spec.rb +0 -1104
  84. data/spec/savon/qualified_message_spec.rb +0 -101
  85. data/spec/savon/request_logger_spec.rb +0 -37
  86. data/spec/savon/request_spec.rb +0 -540
  87. data/spec/savon/response_spec.rb +0 -275
  88. data/spec/savon/soap_fault_spec.rb +0 -136
  89. data/spec/savon/softlayer_spec.rb +0 -27
  90. data/spec/spec_helper.rb +0 -30
  91. data/spec/support/adapters.rb +0 -48
  92. data/spec/support/endpoint.rb +0 -25
  93. data/spec/support/fixture.rb +0 -39
  94. data/spec/support/integration.rb +0 -9
  95. data/spec/support/stdout.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5f5d529eeeacffdb613697c1e822ae8f66f48405
4
- data.tar.gz: 107dbcdf6bf87cffefafeb4216eee8e3b1a8c06f
2
+ SHA256:
3
+ metadata.gz: df435a9b3a37060f3dbbfe5ba2f8b36c33ad66b6474afa08771396b6812fb4b3
4
+ data.tar.gz: ac8cccabad1588894528b1d2ad073e576224a6b4a5b25d10a0437fb5a807e538
5
5
  SHA512:
6
- metadata.gz: 49c798231744f066396510436f9eed0a272bb7f189c43395ae54a3bf3a09d012acdd3231fb03cb6d94703d83134fe50f53cfa731f62ec156f05edb2580c45988
7
- data.tar.gz: 65dde0f62c985730aaf4d77c2414dccd04187979d3173c4419cbb6fd1c2feaa0cc79fac7a67b54b45ef66fa03e862f91b1204c76b3429d806c8ef1f06cd5ff10
6
+ metadata.gz: 79a1dd54bd1d171afc117927c9b5419f7c6d2e2a5e2b1cfad0072397e786f5932bb3180b40f7ea9d55a08194c1554afddf3efe558959157cdcc7e8b13243beb9
7
+ data.tar.gz: 9e9f944a60f6f655da4abfed31020befb23a9823bb3437ccb46e527b1b8e091fac81c776fc3057f88985a80bbae3c8bb9746bf8c1e9c3966ac8992bc0ee7f936
data/CHANGELOG.md CHANGED
@@ -1,4 +1,44 @@
1
- # 2.12.0 (2018-01-16)
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)
2
42
 
3
43
  * Drop support for ruby 2.1 and below.
4
44
  * Fix: [#822](https://github.com/savonrb/savon/pull/822) Raise correct error when SOAP envelope only contains a string
@@ -7,10 +47,8 @@
7
47
  * Feature: [#753](https://github.com/savonrb/savon/pull/753) Add headers configuration to WSDLRequest#build
8
48
  * Feature: [#812](https://github.com/savonrb/savon/pull/812) Allow `proxy` option to be `nil`.
9
49
  * 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
50
 
13
- # 2.11.2 (2017-08-03)
51
+ ## 2.11.2 (2017-08-03)
14
52
  * Fix: [#676](https://github.com/savonrb/savon/pull/676) Fixes handling of `content!` and `attributes!`
15
53
  * Fix: [#800](https://github.com/savonrb/savon/pull/800) Fix exception calling `SOAPFault#to_s` when http.body is empty
16
54
  * Fix: [#757](https://github.com/savonrb/savon/pull/757) Logging: Use filter without automatic pretty printing
@@ -19,43 +57,43 @@
19
57
  * Feature: [#742](https://github.com/savonrb/savon/pull/742) Add support for local request headers
20
58
  * Feature: [#704](https://github.com/savonrb/savon/pull/704) Add possibility to pass attribute delete_namespace_attributes to Nori
21
59
 
22
- # 2.11.1 (2015-05-27)
60
+ ## 2.11.1 (2015-05-27)
23
61
 
24
62
  * Replace dependency on [uuid](https://rubygems.org/gems/uuid), using SecureRandom.uuid instead.
25
63
 
26
- # 2.11.0 (2015-03-31)
64
+ ## 2.11.0 (2015-03-31)
27
65
 
28
- * Formally drop support for 1.8.7.
66
+ * Formally drop support for 1.8.7.
29
67
 
30
- # 2.10.1 (2015-03-15)
68
+ ## 2.10.1 (2015-03-15)
31
69
 
32
70
  * Feature: [#673](https://github.com/savonrb/savon/pull/673) Adds an :unwrap option that is passed to Gyoku.
33
71
 
34
- # 2.10.0 (2015-03-02)
72
+ ## 2.10.0 (2015-03-02)
35
73
 
36
74
  * Fix: This reverts a purported "fix" to operation names.
37
75
 
38
- # 2.9.0 (2015-01-29)
76
+ ## 2.9.0 (2015-01-29)
39
77
 
40
78
  * Feature: [#655] Wasabi exceptions should be rethrown as Savon errors. This should make it easier to catch errors thrown by Savon::Client.
41
79
  * Feature: [#630] ServiceFaults are correctly identified as Soap Faults.
42
80
 
43
- # 2.8.0 (2014-11-12)
81
+ ## 2.8.0 (2014-11-12)
44
82
 
45
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.
46
84
  * Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
47
85
  * Feature: [#636](https://github.com/savonrb/savon/pull/636) Set HTTPI.logger when Savon's logger is configured.
48
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.
49
87
 
50
- # 2.7.2 (2014-09-23)
88
+ ## 2.7.2 (2014-09-23)
51
89
 
52
90
  Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
53
91
 
54
- # 2.7.1 (2014-09-23)
92
+ ## 2.7.1 (2014-09-23)
55
93
 
56
94
  * Fix : Fix a crash in builder when request headers do not contain WSA headers
57
95
 
58
- # 2.7.0 (2014-09-23)
96
+ ## 2.7.0 (2014-09-23)
59
97
 
60
98
  * Feature: Signing requests. Added wsse_signature.
61
99
  ```ruby
@@ -64,7 +102,7 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
64
102
  end
65
103
  ```
66
104
 
67
- # 2.5.0 (2014-05-03)
105
+ ## 2.5.0 (2014-05-03)
68
106
 
69
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.
70
108
 
@@ -84,16 +122,16 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
84
122
  client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
85
123
  ```
86
124
 
87
- ### 2.3.2 (2013-12-09)
125
+ ## 2.3.2 (2013-12-09)
88
126
 
89
127
  * Fix: [#520](https://github.com/savonrb/savon/issues/520) Fixes a regression in message tags in requests and responses.
90
128
 
91
- ### 2.3.1 (2013-12-05)
129
+ ## 2.3.1 (2013-12-05)
92
130
 
93
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
94
132
  See [issue #487](https://github.com/savonrb/savon/issues/487)
95
133
 
96
- ### 2.3.0 (2013-07-27)
134
+ ## 2.3.0 (2013-07-27)
97
135
 
98
136
  Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
99
137
 
@@ -141,7 +179,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
141
179
  * Fix: [#468](https://github.com/savonrb/savon/issues/468) Changed the dependency on Nokogiri
142
180
  to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
143
181
 
144
- ### 2.2.0 (2013-04-21)
182
+ ## 2.2.0 (2013-04-21)
145
183
 
146
184
  * Feature: [#416](https://github.com/savonrb/savon/pull/416) The global `namespace_identifier`
147
185
  option can now be set to `nil` to not add a namespace identifier to the message tag.
@@ -179,7 +217,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
179
217
  * Fix: [#423](https://github.com/savonrb/savon/issues/423) fixes a problem where Wasabi was
180
218
  not able to find extension base elements defined in imports it didn't follow.
181
219
 
182
- ### 2.1.0 (2013-02-03)
220
+ ## 2.1.0 (2013-02-03)
183
221
 
184
222
  * Feature: [#372](https://github.com/savonrb/savon/pull/372) added global `ssl_cert_key_password` option.
185
223
 
@@ -211,12 +249,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
211
249
  * Fix: [#376](https://github.com/savonrb/savon/issues/376) added a global `namespaces` option
212
250
  for adding namespaces to the SOAP envelope.
213
251
 
214
- ### 2.0.3 (2013-01-19)
252
+ ## 2.0.3 (2013-01-19)
215
253
 
216
254
  * Upgraded Nori dependency to prevent people from using a version that is vulnerable to
217
255
  the recent [remote code execution bug](https://gist.github.com/4532291).
218
256
 
219
- ### 2.0.2 (2012-12-20)
257
+ ## 2.0.2 (2012-12-20)
220
258
 
221
259
  * Fix: [#297](https://github.com/savonrb/savon/issues/297#issuecomment-11536517) added the global
222
260
  `:ssl_verify_mode` and `:ssl_version` options which were missing.
@@ -224,13 +262,13 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
224
262
  * Fix: [#344](https://github.com/savonrb/savon/issues/344) added missing global ssl cert options
225
263
  `:ssl_cert_file`, `:ssl_cert_key_file` and `:ssl_ca_cert_file`.
226
264
 
227
- ### 2.0.1 (2012-12-19)
265
+ ## 2.0.1 (2012-12-19)
228
266
 
229
267
  * Fix [#342](https://github.com/savonrb/savon/issues/342) fixes an issue where namespaces could
230
268
  not be resolved if the actual operation name to call did not match the operation name passed
231
269
  to the client's `#call` method. For example: `:get_stations` for a `getStations` operation.
232
270
 
233
- ### 2.0.0 (2012-12-18)
271
+ ## 2.0.0 (2012-12-18)
234
272
 
235
273
  * Read about all the changes in the [updated documentation](http://savonrb.com/version2.html).
236
274
 
@@ -245,7 +283,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
245
283
 
246
284
  * Fix: [321](https://github.com/savonrb/savon/issues/321) preserve `[false]` values in Hashes.
247
285
 
248
- ### 1.2.0 (2012-09-15)
286
+ ## 1.2.0 (2012-09-15)
249
287
 
250
288
  * Fix: [#312](https://github.com/savonrb/savon/pull/312) recursively determines the proper namespaces
251
289
  for SOAP body Hashes with nested Arrays of Hashes.
@@ -255,7 +293,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
255
293
 
256
294
  * Refactoring: Use the `Wasabi::Document` with resolver instead of the custom `Savon::Wasabi::Document`.
257
295
 
258
- ### 1.1.0 (2012-06-28)
296
+ ## 1.1.0 (2012-06-28)
259
297
 
260
298
  * Improvement: Changed Savon's core dependencies to be more strict and only allow bug fix changes.
261
299
  Major or minor releases of these dependencies now need a release of Savon so they can be used.
@@ -282,7 +320,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
282
320
  * Refactoring: Moved code that sets the cookies from the last response for the
283
321
  next request to `HTTPI::Request#set_cookies`.
284
322
 
285
- ### 1.0.0 (2012-06-09)
323
+ ## 1.0.0 (2012-06-09)
286
324
 
287
325
  * Fix: `Savon.client` didn't pass the optional block.
288
326
 
@@ -293,15 +331,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
293
331
 
294
332
  As this change affects `savon_spec`, you need to update `savon_spec` to v1.3.0.
295
333
 
296
- ### 0.9.14 (2012-06-07)
334
+ ## 0.9.14 (2012-06-07)
297
335
 
298
336
  * Fix: [#292](https://github.com/savonrb/savon/issues/292) again
299
337
 
300
- ### 0.9.13 (2012-06-07)
338
+ ## 0.9.13 (2012-06-07)
301
339
 
302
340
  * Fix: [#292](https://github.com/savonrb/savon/issues/292)
303
341
 
304
- ### 0.9.12 (2012-06-07)
342
+ ## 0.9.12 (2012-06-07)
305
343
 
306
344
  * Re-added the log method setters to the new config object for backwards compatibility.
307
345
  You should be able to configure the logger as you used to do.
@@ -314,7 +352,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
314
352
  end
315
353
  ```
316
354
 
317
- ### 0.9.11 (2012-06-06)
355
+ ## 0.9.11 (2012-06-06)
318
356
 
319
357
  * Feature: [#264](https://github.com/savonrb/savon/pull/264) - Thanks to @hoverlover, Savon and Akami now support
320
358
  signed messages through WSSE.
@@ -348,7 +386,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
348
386
  </env:Envelope>
349
387
  ```
350
388
 
351
- ### 0.9.10 (2012-06-06)
389
+ ## 0.9.10 (2012-06-06)
352
390
 
353
391
  * Feature: [#289](https://github.com/savonrb/savon/pull/289) - Allow the SOAP envelope header to be set as a String.
354
392
 
@@ -378,7 +416,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
378
416
  * Moved logging to the new `Savon::Logger` object.
379
417
  * Removed the `blank?` extension from `Object`.
380
418
 
381
- ### 0.9.9 (2012-02-17)
419
+ ## 0.9.9 (2012-02-17)
382
420
 
383
421
  * Improvement: [pull request 255](https://github.com/savonrb/savon/pull/255) - Raise an error if fetching
384
422
  a remote WSDL fails. Possible fix for [issue 236](https://github.com/savonrb/savon/issues/236).
@@ -402,7 +440,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
402
440
  * Fix: [pull request 265](https://github.com/savonrb/savon/pull/265) - Fixes gemspec problems when bundling
403
441
  under JRuby 1.6.5. Also fixes [issue 267](https://github.com/savonrb/savon/issues/267).
404
442
 
405
- ### 0.9.8 (2012-02-15)
443
+ ## 0.9.8 (2012-02-15)
406
444
 
407
445
  * Feature: Savon now ships with [Savon::Model](http://rubygems.org/gems/savon_model).
408
446
  Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored
@@ -436,7 +474,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
436
474
  * Fix: [pull request 250](https://github.com/savonrb/savon/pull/250) - The Content-Length header should
437
475
  be the size in bytes.
438
476
 
439
- ### 0.9.7 (2011-08-25)
477
+ ## 0.9.7 (2011-08-25)
440
478
 
441
479
  * Feature: Merged [pull request 210](https://github.com/savonrb/savon/pull/210) by
442
480
  [mboeh](https://github.com/mboeh) to add `Savon::SOAP::Response#doc` and
@@ -465,7 +503,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
465
503
 
466
504
  * Improvement: [issue 222](https://github.com/savonrb/savon/issues/222) - Set the Content-Length header.
467
505
 
468
- ### 0.9.6 (2011-07-07)
506
+ ## 0.9.6 (2011-07-07)
469
507
 
470
508
  * Improvement/Fix: Updated Savon to use the latest version of [Wasabi](http://rubygems.org/gems/wasabi).
471
509
  This should fix [issue 155](https://github.com/savonrb/savon/issues/155) - Savon can automatically add namespaces
@@ -476,16 +514,16 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
476
514
 
477
515
  * Fix: [issue 143](https://github.com/savonrb/savon/issues/143) - Updating Wasabi should solve this issue.
478
516
 
479
- ### 0.9.5 (2011-07-03)
517
+ ## 0.9.5 (2011-07-03)
480
518
 
481
519
  * Refactoring: Extracted WSSE authentication out into the [akami](http://rubygems.org/gems/akami) gem.
482
520
 
483
- ### 0.9.4 (2011-07-03)
521
+ ## 0.9.4 (2011-07-03)
484
522
 
485
523
  * Refactoring: Extracted the WSDL parser out into the [wasabi](http://rubygems.org/gems/wasabi) gem.
486
524
  This should isolate upcoming improvements to the parser.
487
525
 
488
- ### 0.9.3 (2011-06-30)
526
+ ## 0.9.3 (2011-06-30)
489
527
 
490
528
  * Fix: [issue 138](https://github.com/savonrb/savon/issues/138) -
491
529
  Savon now supports setting a global SOAP header via `Savon.soap_header=`.
@@ -504,7 +542,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
504
542
 
505
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).
506
544
  Along with replacing core extensions with a proper implementation, Nori now contains a number of methods
507
- 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):
508
546
 
509
547
  * The option whether to strip namespaces was moved to Nori.strip_namespaces
510
548
  * You can disable "advanced typecasting" for SOAP response values
@@ -520,7 +558,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
520
558
 
521
559
  * `Savon::SOAP::Response#basic_hash` is now `Savon::SOAP::Response#hash`.
522
560
 
523
- ### 0.9.2 (2011-04-30)
561
+ ## 0.9.2 (2011-04-30)
524
562
 
525
563
  * Fix: [issue 154](https://github.com/savonrb/savon/pull/154) -
526
564
  Timezone format used by Savon now matches the XML schema spec.
@@ -538,7 +576,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
538
576
 
539
577
  * Improvement: WSDL parsing now uses Nokogiri instead of REXML.
540
578
 
541
- ### 0.9.1 (2011-04-06)
579
+ ## 0.9.1 (2011-04-06)
542
580
 
543
581
  * Improvement: if you're only setting the local or remote address of your wsdl document, you can
544
582
  now pass an (optional) String to `Savon::Client.new` to set `wsdl.document`.
@@ -554,7 +592,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
554
592
  response[:authenticate_response][:return]
555
593
  ```
556
594
 
557
- ### 0.9.0 (2011-04-05)
595
+ ## 0.9.0 (2011-04-05)
558
596
 
559
597
  * Feature: issues [#158](https://github.com/savonrb/savon/issues/158),
560
598
  [#169](https://github.com/savonrb/savon/issues/169) and [#172](https://github.com/savonrb/savon/issues/172)
@@ -606,18 +644,18 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
606
644
 
607
645
  * And if you haven't already seen the new documentation: [savonrb.com](http://savonrb.com)
608
646
 
609
- ### 0.8.6 (2011-02-15)
647
+ ## 0.8.6 (2011-02-15)
610
648
 
611
649
  * Fix for issues [issue #147](https://github.com/savonrb/savon/issues/147) and [#151](https://github.com/savonrb/savon/issues/151)
612
650
  ([771194](https://github.com/savonrb/savon/commit/771194)).
613
651
 
614
- ### 0.8.5 (2011-01-28)
652
+ ## 0.8.5 (2011-01-28)
615
653
 
616
654
  * Fix for [issue #146](https://github.com/savonrb/savon/issues/146) ([98655c](https://github.com/savonrb/savon/commit/98655c)).
617
655
 
618
656
  * Fix for [issue #147](https://github.com/savonrb/savon/issues/147) ([252670](https://github.com/savonrb/savon/commit/252670)).
619
657
 
620
- ### 0.8.4 (2011-01-26)
658
+ ## 0.8.4 (2011-01-26)
621
659
 
622
660
  * Fix for issues [issue #130](https://github.com/savonrb/savon/issues/130) and [#134](https://github.com/savonrb/savon/issues/134)
623
661
  ([4f9847](https://github.com/savonrb/savon/commit/4f9847)).
@@ -626,14 +664,14 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
626
664
 
627
665
  * Fix for [issue #135](https://github.com/savonrb/savon/issues/135) ([c9261d](https://github.com/savonrb/savon/commit/c9261d)).
628
666
 
629
- ### 0.8.3 (2011-01-11)
667
+ ## 0.8.3 (2011-01-11)
630
668
 
631
669
  * Moved implementation of `Savon::SOAP::Response#to_array` to a class method at `Savon::SOAP::XML.to_array`
632
670
  ([05a7d3](https://github.com/savonrb/savon/commit/05a7d3)).
633
671
 
634
672
  * Fix for [issue #131](https://github.com/savonrb/savon/issues/131) ([4e57b3](https://github.com/savonrb/savon/commit/4e57b3)).
635
673
 
636
- ### 0.8.2 (2011-01-04)
674
+ ## 0.8.2 (2011-01-04)
637
675
 
638
676
  * Fix for [issue #127](https://github.com/savonrb/savon/issues/127) ([0eb3da](https://github.com/savonrb/savon/commit/0eb3da4)).
639
677
 
@@ -665,7 +703,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
665
703
  end
666
704
  ```
667
705
 
668
- ### 0.8.1 (2010-12-22)
706
+ ## 0.8.1 (2010-12-22)
669
707
 
670
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.
671
709
 
@@ -673,7 +711,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
673
711
 
674
712
  * Loosen dependency on builder. Should be quite stable.
675
713
 
676
- ### 0.8.0 (2010-12-20)
714
+ ## 0.8.0 (2010-12-20)
677
715
 
678
716
  * Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/savonrb/savon/commit/51fa0e)) to configure
679
717
  the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
@@ -682,7 +720,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
682
720
  * Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
683
721
  [Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/savonrb/savon/commit/bac4b4)).
684
722
 
685
- ### 0.8.0.beta.4 (2010-11-20)
723
+ ## 0.8.0.beta.4 (2010-11-20)
686
724
 
687
725
  * Fix for [issue #107](https://github.com/savonrb/savon/issues/107) ([1d6eda](https://github.com/savonrb/savon/commit/1d6eda)).
688
726
 
@@ -698,12 +736,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
698
736
  # => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
699
737
  ```
700
738
 
701
- ### 0.8.0.beta.3 (2010-11-06)
739
+ ## 0.8.0.beta.3 (2010-11-06)
702
740
 
703
741
  * Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
704
742
  ([c34b42](https://github.com/savonrb/savon/commit/c34b42)).
705
743
 
706
- ### 0.8.0.beta.2 (2010-11-05)
744
+ ## 0.8.0.beta.2 (2010-11-05)
707
745
 
708
746
  * Added `Savon.response_pattern` ([0a12fb](https://github.com/savonrb/savon/commit/0a12fb)) to automatically walk deeper into
709
747
  the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
@@ -746,7 +784,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
746
784
 
747
785
  * Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
748
786
 
749
- ### 0.8.0.beta.1 (2010-10-29)
787
+ ## 0.8.0.beta.1 (2010-10-29)
750
788
 
751
789
  * Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
752
790
  wsdl, http and wsse objects inside the block to configure your client for a particular service.
@@ -839,15 +877,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
839
877
 
840
878
  * Started to remove quite a few core extensions.
841
879
 
842
- ### 0.7.9 (2010-06-14)
880
+ ## 0.7.9 (2010-06-14)
843
881
 
844
882
  * Fix for [issue #53](https://github.com/savonrb/savon/issues/53).
845
883
 
846
- ### 0.7.8 (2010-05-09)
884
+ ## 0.7.8 (2010-05-09)
847
885
 
848
886
  * Fixed gemspec to include missing files in the gem.
849
887
 
850
- ### 0.7.7 (2010-05-09)
888
+ ## 0.7.7 (2010-05-09)
851
889
 
852
890
  * SOAP requests now start with a proper XML declaration.
853
891
 
@@ -870,7 +908,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
870
908
  in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
871
909
  it's value should not be escaped.
872
910
 
873
- ### 0.7.6 (2010-03-21)
911
+ ## 0.7.6 (2010-03-21)
874
912
 
875
913
  * Moved documentation from the Github Wiki to the actual class files and established a much nicer
876
914
  documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
@@ -886,7 +924,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
886
924
  * Fix for issues [#39](https://github.com/savonrb/savon/issues/39) and [#49](https://github.com/savonrb/savon/issues/49).
887
925
  Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
888
926
 
889
- ### 0.7.5 (2010-02-19)
927
+ ## 0.7.5 (2010-02-19)
890
928
 
891
929
  * Fix for [issue #34](https://github.com/savonrb/savon/issues/34).
892
930
 
@@ -896,11 +934,11 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
896
934
 
897
935
  * Changed the key for specifying the order of tags from :@inorder to :order!
898
936
 
899
- ### 0.7.4 (2010-02-02)
937
+ ## 0.7.4 (2010-02-02)
900
938
 
901
939
  * Fix for [issue #33](https://github.com/savonrb/savon/issues/33).
902
940
 
903
- ### 0.7.3 (2010-01-31)
941
+ ## 0.7.3 (2010-01-31)
904
942
 
905
943
  * Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
906
944
 
@@ -921,7 +959,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
921
959
 
922
960
  * Fix for [issue #25](https://github.com/savonrb/savon/issues/25).
923
961
 
924
- ### 0.7.2 (2010-01-17)
962
+ ## 0.7.2 (2010-01-17)
925
963
 
926
964
  * Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
927
965
  on your `Savon::Response` to access the `Net::HTTP` response object.
@@ -934,12 +972,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
934
972
 
935
973
  * Added support for global header and namespaces. See [issue #9](https://github.com/savonrb/savon/issues/9).
936
974
 
937
- ### 0.7.1 (2010-01-10)
975
+ ## 0.7.1 (2010-01-10)
938
976
 
939
977
  * The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
940
978
  Patch for [issue #8](https://github.com/savonrb/savon/issues/8).
941
979
 
942
- ### 0.7.0 (2010-01-09)
980
+ ## 0.7.0 (2010-01-09)
943
981
 
944
982
  This version comes with several changes to the public API!
945
983
  Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
@@ -997,7 +1035,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
997
1035
  soap.namespace = "http://example.com"
998
1036
  ```
999
1037
 
1000
- ### 0.6.8 (2010-01-01)
1038
+ ## 0.6.8 (2010-01-01)
1001
1039
 
1002
1040
  * Improved specifications for various kinds of WSDL documents.
1003
1041
 
@@ -1014,7 +1052,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1014
1052
  client.get_api_key { |soap| soap.input = "User.GetApiKey" }
1015
1053
  ```
1016
1054
 
1017
- ### 0.6.7 (2009-12-18)
1055
+ ## 0.6.7 (2009-12-18)
1018
1056
 
1019
1057
  * Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
1020
1058
  to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
@@ -1024,17 +1062,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1024
1062
 
1025
1063
  * Patch for [issue #10](https://github.com/savonrb/savon/issues/10).
1026
1064
 
1027
- ### 0.6.6 (2009-12-14)
1065
+ ## 0.6.6 (2009-12-14)
1028
1066
 
1029
1067
  * Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
1030
1068
  and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
1031
1069
  your SOAP actions are named any different.
1032
1070
 
1033
- ### 0.6.5 (2009-12-13)
1071
+ ## 0.6.5 (2009-12-13)
1034
1072
 
1035
1073
  * Added an `open_timeout` method to `Savon::Request`.
1036
1074
 
1037
- ### 0.6.4 (2009-12-13)
1075
+ ## 0.6.4 (2009-12-13)
1038
1076
 
1039
1077
  * Refactored specs to be less unit-like.
1040
1078
 
@@ -1052,7 +1090,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1052
1090
  0.6.3 192.900000 19.630000 212.530000 (914.031865)
1053
1091
  ```
1054
1092
 
1055
- ### 0.6.3 (2009-12-11)
1093
+ ## 0.6.3 (2009-12-11)
1056
1094
 
1057
1095
  * Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
1058
1096
 
@@ -1076,17 +1114,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1076
1114
  0.6.2 574.720000 78.380000 653.100000 (1387.778539)
1077
1115
  ```
1078
1116
 
1079
- ### 0.6.2 (2009-12-06)
1117
+ ## 0.6.2 (2009-12-06)
1080
1118
 
1081
1119
  * Added support for changing the name of the SOAP input node.
1082
1120
 
1083
1121
  * Added a CHANGELOG.
1084
1122
 
1085
- ### 0.6.1 (2009-12-06)
1123
+ ## 0.6.1 (2009-12-06)
1086
1124
 
1087
1125
  * Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
1088
1126
 
1089
- ### 0.6.0 (2009-12-06)
1127
+ ## 0.6.0 (2009-12-06)
1090
1128
 
1091
1129
  * `method_missing` now yields the SOAP and WSSE objects to a given block.
1092
1130
 
@@ -1094,15 +1132,15 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1094
1132
 
1095
1133
  * Improved SOAP action handling (another problem that came up with issue #1).
1096
1134
 
1097
- ### 0.5.3 (2009-11-30)
1135
+ ## 0.5.3 (2009-11-30)
1098
1136
 
1099
1137
  * Patch for [issue #2](https://github.com/savonrb/savon/issues/2).
1100
1138
 
1101
- ### 0.5.2 (2009-11-30)
1139
+ ## 0.5.2 (2009-11-30)
1102
1140
 
1103
1141
  * Patch for [issue #1](https://github.com/savonrb/savon/issues/1).
1104
1142
 
1105
- ### 0.5.1 (2009-11-29)
1143
+ ## 0.5.1 (2009-11-29)
1106
1144
 
1107
1145
  * Optimized default response process.
1108
1146
 
@@ -1114,6 +1152,6 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1114
1152
 
1115
1153
  * Added specs
1116
1154
 
1117
- ### 0.5.0 (2009-11-29)
1155
+ ## 0.5.0 (2009-11-29)
1118
1156
 
1119
1157
  * Complete rewrite and public release.