savon 2.12.1 → 2.13.0

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 +4 -4
  2. data/.gitignore +2 -0
  3. data/CHANGELOG.md +87 -73
  4. data/CONTRIBUTING.md +15 -19
  5. data/Gemfile +2 -7
  6. data/README.md +14 -16
  7. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  8. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  9. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  10. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  11. data/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  12. data/coverage/assets/0.12.3/application.css +1 -0
  13. data/coverage/assets/0.12.3/application.js +7 -0
  14. data/coverage/assets/0.12.3/colorbox/border.png +0 -0
  15. data/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  16. data/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  17. data/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  18. data/coverage/assets/0.12.3/favicon_green.png +0 -0
  19. data/coverage/assets/0.12.3/favicon_red.png +0 -0
  20. data/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  21. data/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  22. data/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  23. data/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  24. data/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  25. data/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  26. data/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  27. data/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  28. data/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  29. data/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  30. data/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  31. data/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  32. data/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  33. data/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  34. data/coverage/assets/0.12.3/loading.gif +0 -0
  35. data/coverage/assets/0.12.3/magnify.png +0 -0
  36. data/coverage/index.html +21518 -0
  37. data/lib/savon/block_interface.rb +1 -0
  38. data/lib/savon/builder.rb +95 -29
  39. data/lib/savon/client.rb +1 -0
  40. data/lib/savon/core_ext/string.rb +1 -0
  41. data/lib/savon/header.rb +2 -6
  42. data/lib/savon/http_error.rb +4 -4
  43. data/lib/savon/log_message.rb +1 -0
  44. data/lib/savon/message.rb +1 -0
  45. data/lib/savon/mock/expectation.rb +1 -0
  46. data/lib/savon/mock/spec_helper.rb +1 -0
  47. data/lib/savon/mock.rb +1 -0
  48. data/lib/savon/model.rb +1 -0
  49. data/lib/savon/operation.rb +20 -18
  50. data/lib/savon/options.rb +56 -0
  51. data/lib/savon/qualified_message.rb +3 -2
  52. data/lib/savon/request.rb +5 -0
  53. data/lib/savon/request_logger.rb +8 -2
  54. data/lib/savon/response.rb +48 -1
  55. data/lib/savon/soap_fault.rb +1 -0
  56. data/lib/savon/version.rb +2 -1
  57. data/lib/savon.rb +1 -0
  58. data/savon.gemspec +9 -8
  59. data/spec/integration/support/application.rb +33 -1
  60. data/spec/integration/support/server.rb +1 -0
  61. data/spec/integration/zipcode_example_spec.rb +5 -8
  62. data/spec/savon/builder_spec.rb +2 -1
  63. data/spec/savon/client_spec.rb +5 -4
  64. data/spec/savon/core_ext/string_spec.rb +2 -1
  65. data/spec/savon/features/message_tag_spec.rb +2 -1
  66. data/spec/savon/http_error_spec.rb +9 -1
  67. data/spec/savon/log_message_spec.rb +2 -1
  68. data/spec/savon/message_spec.rb +2 -11
  69. data/spec/savon/mock_spec.rb +2 -1
  70. data/spec/savon/model_spec.rb +2 -1
  71. data/spec/savon/multipart_request_spec.rb +46 -0
  72. data/spec/savon/observers_spec.rb +2 -1
  73. data/spec/savon/operation_spec.rb +20 -43
  74. data/spec/savon/options_spec.rb +40 -1
  75. data/spec/savon/qualified_message_spec.rb +2 -1
  76. data/spec/savon/request_logger_spec.rb +2 -1
  77. data/spec/savon/request_spec.rb +47 -6
  78. data/spec/savon/response_spec.rb +2 -1
  79. data/spec/savon/soap_fault_spec.rb +2 -1
  80. data/spec/savon/softlayer_spec.rb +3 -2
  81. data/spec/spec_helper.rb +5 -4
  82. data/spec/support/adapters.rb +1 -0
  83. data/spec/support/endpoint.rb +1 -0
  84. data/spec/support/fixture.rb +1 -0
  85. data/spec/support/integration.rb +1 -0
  86. data/spec/support/stdout.rb +1 -0
  87. metadata +81 -30
  88. data/.travis.yml +0 -26
  89. data/donate.png +0 -0
  90. data/spec/integration/centra_spec.rb +0 -67
  91. data/spec/integration/email_example_spec.rb +0 -32
  92. data/spec/integration/random_quote_spec.rb +0 -23
  93. data/spec/integration/ratp_example_spec.rb +0 -28
  94. data/spec/integration/stockquote_example_spec.rb +0 -34
  95. data/spec/integration/temperature_example_spec.rb +0 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adc5b65f9ac22024b164dae28b0198a4269b97ab14afac694b946e7cef896d7e
4
- data.tar.gz: 13138a12de62757d551a9114b2741501accbbad169a2a00a9dee7f439ad48a78
3
+ metadata.gz: 499960aa27dbd47ffb67df57d2a3f018bb82be1ae2a8fa363a35135067e1daf6
4
+ data.tar.gz: 0e1ee1edde0ed096b91995b47a71c96b2d6dc46a073675075759bd2bffac16fe
5
5
  SHA512:
6
- metadata.gz: 11e3b779fc0376993c46d6ab595e96896a5b0a7ea6f478d3ce93918ebfbd93ff14c4c5ac44c0080ce527c4e30e8615d559b373900acf35b96d2d67b1661b0f28
7
- data.tar.gz: 0a8b5bcacf019b33eaafee305aee4f33c1733c26455d446738c28ad14567d69288c0f1cc0226f2e9c5304687a5b49a7011397465c16350b03b31370626014292
6
+ metadata.gz: 783a1d396caa43ab986d31791e7547b1d4a0f064b6f879de62f9945e754dffd5e73490a2c649089c0f15ce08bd144fba8f6ad6a6bbf812814d3d6e29357c6373
7
+ data.tar.gz: 9cd06cd633717fa2174f6bca31ec881f22045585dc9d6c207772bf4c4a0ec4ab6ccf0fff596445cb7e8b90eb55ef5cd0089cfaabb74d912434f5e705cc8fba85
data/.gitignore CHANGED
@@ -1,4 +1,5 @@
1
1
  .rvmrc
2
+ .byebug_history
2
3
  .DS_Store
3
4
  .yardoc
4
5
  doc
@@ -12,3 +13,4 @@ tmp
12
13
  .rspec
13
14
  Gemfile.lock
14
15
  bin/
16
+ .rspec_status
data/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
+ # Savon changelog
2
+
3
+ ## Unreleased
4
+
5
+ * Add your PR changelog line here
6
+
7
+ ## 2.13.0 (2022-08-03)
8
+
9
+ * Drop support for ruby 2.6 and below. Added Ruby 3.0 and 3.1 to test matrix.
10
+ * Fix: [#868](https://github.com/savonrb/savon/pull/868) Remove `xmlns:wsa`'s already added elsewhere; select Content-Type HTTP header based on SOAP version.
11
+ * Fix: [#943](https://github.com/savonrb/savon/pull/943) Read all namespaces from wsdl definition if document exists
12
+ * Feature: [#920](https://github.com/savonrb/savon/pull/920) Add a `write_timeout` setter for HTTP requests
13
+ * Feature: [#930](https://github.com/savonrb/savon/pull/930) Add options for SSL min_version/max_version support
14
+ * Feature: [#931](https://github.com/savonrb/savon/pull/931) Add `log_headers` option
1
15
 
2
16
  ## 2.12.1 (2020-07-05)
3
17
 
4
18
  * Fix: [#917](https://github.com/savonrb/savon/pull/917) elementFormDefault="qualified" regression
5
19
  * Fix: [#875](https://github.com/savonrb/savon/pull/875) Fix detecting Soap 1.1 Fault when faultcode and faultstring are empty
6
20
 
7
- # 2.12.0 (2018-01-16)
21
+ ## 2.12.0 (2018-01-16)
8
22
 
9
23
  * Drop support for ruby 2.1 and below.
10
24
  * Fix: [#822](https://github.com/savonrb/savon/pull/822) Raise correct error when SOAP envelope only contains a string
@@ -14,7 +28,7 @@
14
28
  * Feature: [#812](https://github.com/savonrb/savon/pull/812) Allow `proxy` option to be `nil`.
15
29
  * Feature: [#838](https://github.com/savonrb/savon/pull/838) Added ssl_ca_path and ssl_cert_store to globals
16
30
 
17
- # 2.11.2 (2017-08-03)
31
+ ## 2.11.2 (2017-08-03)
18
32
  * Fix: [#676](https://github.com/savonrb/savon/pull/676) Fixes handling of `content!` and `attributes!`
19
33
  * Fix: [#800](https://github.com/savonrb/savon/pull/800) Fix exception calling `SOAPFault#to_s` when http.body is empty
20
34
  * Fix: [#757](https://github.com/savonrb/savon/pull/757) Logging: Use filter without automatic pretty printing
@@ -23,43 +37,43 @@
23
37
  * Feature: [#742](https://github.com/savonrb/savon/pull/742) Add support for local request headers
24
38
  * Feature: [#704](https://github.com/savonrb/savon/pull/704) Add possibility to pass attribute delete_namespace_attributes to Nori
25
39
 
26
- # 2.11.1 (2015-05-27)
40
+ ## 2.11.1 (2015-05-27)
27
41
 
28
42
  * Replace dependency on [uuid](https://rubygems.org/gems/uuid), using SecureRandom.uuid instead.
29
43
 
30
- # 2.11.0 (2015-03-31)
44
+ ## 2.11.0 (2015-03-31)
31
45
 
32
46
  * Formally drop support for 1.8.7.
33
47
 
34
- # 2.10.1 (2015-03-15)
48
+ ## 2.10.1 (2015-03-15)
35
49
 
36
50
  * Feature: [#673](https://github.com/savonrb/savon/pull/673) Adds an :unwrap option that is passed to Gyoku.
37
51
 
38
- # 2.10.0 (2015-03-02)
52
+ ## 2.10.0 (2015-03-02)
39
53
 
40
54
  * Fix: This reverts a purported "fix" to operation names.
41
55
 
42
- # 2.9.0 (2015-01-29)
56
+ ## 2.9.0 (2015-01-29)
43
57
 
44
58
  * Feature: [#655] Wasabi exceptions should be rethrown as Savon errors. This should make it easier to catch errors thrown by Savon::Client.
45
59
  * Feature: [#630] ServiceFaults are correctly identified as Soap Faults.
46
60
 
47
- # 2.8.0 (2014-11-12)
61
+ ## 2.8.0 (2014-11-12)
48
62
 
49
63
  * Feature : [#620](https://github.com/savonrb/savon/pull/620) add #build_request method that builds the actual XML request body, but does not submit it. Useful for debugging, possibly.
50
64
  * Fix : Loosened dependencies on Gyoku, Nori, Akami, and other Savon-dependency gems
51
65
  * Feature: [#636](https://github.com/savonrb/savon/pull/636) Set HTTPI.logger when Savon's logger is configured.
52
66
  * Feature: [#639](https://github.com/savonrb/savon/issues/639) Allow setting any SSL version that OpenSSL provides. See [the relevant HTTPI issue](https://github.com/savonrb/httpi/pull/136) for more information.
53
67
 
54
- # 2.7.2 (2014-09-23)
68
+ ## 2.7.2 (2014-09-23)
55
69
 
56
70
  Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
57
71
 
58
- # 2.7.1 (2014-09-23)
72
+ ## 2.7.1 (2014-09-23)
59
73
 
60
74
  * Fix : Fix a crash in builder when request headers do not contain WSA headers
61
75
 
62
- # 2.7.0 (2014-09-23)
76
+ ## 2.7.0 (2014-09-23)
63
77
 
64
78
  * Feature: Signing requests. Added wsse_signature.
65
79
  ```ruby
@@ -68,7 +82,7 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
68
82
  end
69
83
  ```
70
84
 
71
- # 2.5.0 (2014-05-03)
85
+ ## 2.5.0 (2014-05-03)
72
86
 
73
87
  * Feature: [#573](https://github.com/savonrb/savon/pull/573) Add an `all_operations` method to `Savon::Model` that automatically adds all available operations to the model.
74
88
 
@@ -88,16 +102,16 @@ Fix : Preserve false values (https://github.com/savonrb/savon/issues/321)
88
102
  client = Savon.client(wsdl: "http://example.com/service.wsdl", log: true)
89
103
  ```
90
104
 
91
- ### 2.3.2 (2013-12-09)
105
+ ## 2.3.2 (2013-12-09)
92
106
 
93
107
  * Fix: [#520](https://github.com/savonrb/savon/issues/520) Fixes a regression in message tags in requests and responses.
94
108
 
95
- ### 2.3.1 (2013-12-05)
109
+ ## 2.3.1 (2013-12-05)
96
110
 
97
111
  * Removed dependency on Nokogiri <= 1.4 -- This improves support for ruby 1.9.3 and 2.0.0 and officially begins the end of support for ruby 1.8.7
98
112
  See [issue #487](https://github.com/savonrb/savon/issues/487)
99
113
 
100
- ### 2.3.0 (2013-07-27)
114
+ ## 2.3.0 (2013-07-27)
101
115
 
102
116
  Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
103
117
 
@@ -145,7 +159,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
145
159
  * Fix: [#468](https://github.com/savonrb/savon/issues/468) Changed the dependency on Nokogiri
146
160
  to < 1.6, because Nokogiri 1.6 dropped support for Ruby 1.8.
147
161
 
148
- ### 2.2.0 (2013-04-21)
162
+ ## 2.2.0 (2013-04-21)
149
163
 
150
164
  * Feature: [#416](https://github.com/savonrb/savon/pull/416) The global `namespace_identifier`
151
165
  option can now be set to `nil` to not add a namespace identifier to the message tag.
@@ -183,7 +197,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
183
197
  * Fix: [#423](https://github.com/savonrb/savon/issues/423) fixes a problem where Wasabi was
184
198
  not able to find extension base elements defined in imports it didn't follow.
185
199
 
186
- ### 2.1.0 (2013-02-03)
200
+ ## 2.1.0 (2013-02-03)
187
201
 
188
202
  * Feature: [#372](https://github.com/savonrb/savon/pull/372) added global `ssl_cert_key_password` option.
189
203
 
@@ -215,12 +229,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
215
229
  * Fix: [#376](https://github.com/savonrb/savon/issues/376) added a global `namespaces` option
216
230
  for adding namespaces to the SOAP envelope.
217
231
 
218
- ### 2.0.3 (2013-01-19)
232
+ ## 2.0.3 (2013-01-19)
219
233
 
220
234
  * Upgraded Nori dependency to prevent people from using a version that is vulnerable to
221
235
  the recent [remote code execution bug](https://gist.github.com/4532291).
222
236
 
223
- ### 2.0.2 (2012-12-20)
237
+ ## 2.0.2 (2012-12-20)
224
238
 
225
239
  * Fix: [#297](https://github.com/savonrb/savon/issues/297#issuecomment-11536517) added the global
226
240
  `:ssl_verify_mode` and `:ssl_version` options which were missing.
@@ -228,13 +242,13 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
228
242
  * Fix: [#344](https://github.com/savonrb/savon/issues/344) added missing global ssl cert options
229
243
  `:ssl_cert_file`, `:ssl_cert_key_file` and `:ssl_ca_cert_file`.
230
244
 
231
- ### 2.0.1 (2012-12-19)
245
+ ## 2.0.1 (2012-12-19)
232
246
 
233
247
  * Fix [#342](https://github.com/savonrb/savon/issues/342) fixes an issue where namespaces could
234
248
  not be resolved if the actual operation name to call did not match the operation name passed
235
249
  to the client's `#call` method. For example: `:get_stations` for a `getStations` operation.
236
250
 
237
- ### 2.0.0 (2012-12-18)
251
+ ## 2.0.0 (2012-12-18)
238
252
 
239
253
  * Read about all the changes in the [updated documentation](http://savonrb.com/version2.html).
240
254
 
@@ -249,7 +263,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
249
263
 
250
264
  * Fix: [321](https://github.com/savonrb/savon/issues/321) preserve `[false]` values in Hashes.
251
265
 
252
- ### 1.2.0 (2012-09-15)
266
+ ## 1.2.0 (2012-09-15)
253
267
 
254
268
  * Fix: [#312](https://github.com/savonrb/savon/pull/312) recursively determines the proper namespaces
255
269
  for SOAP body Hashes with nested Arrays of Hashes.
@@ -259,7 +273,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
259
273
 
260
274
  * Refactoring: Use the `Wasabi::Document` with resolver instead of the custom `Savon::Wasabi::Document`.
261
275
 
262
- ### 1.1.0 (2012-06-28)
276
+ ## 1.1.0 (2012-06-28)
263
277
 
264
278
  * Improvement: Changed Savon's core dependencies to be more strict and only allow bug fix changes.
265
279
  Major or minor releases of these dependencies now need a release of Savon so they can be used.
@@ -286,7 +300,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
286
300
  * Refactoring: Moved code that sets the cookies from the last response for the
287
301
  next request to `HTTPI::Request#set_cookies`.
288
302
 
289
- ### 1.0.0 (2012-06-09)
303
+ ## 1.0.0 (2012-06-09)
290
304
 
291
305
  * Fix: `Savon.client` didn't pass the optional block.
292
306
 
@@ -297,15 +311,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
297
311
 
298
312
  As this change affects `savon_spec`, you need to update `savon_spec` to v1.3.0.
299
313
 
300
- ### 0.9.14 (2012-06-07)
314
+ ## 0.9.14 (2012-06-07)
301
315
 
302
316
  * Fix: [#292](https://github.com/savonrb/savon/issues/292) again
303
317
 
304
- ### 0.9.13 (2012-06-07)
318
+ ## 0.9.13 (2012-06-07)
305
319
 
306
320
  * Fix: [#292](https://github.com/savonrb/savon/issues/292)
307
321
 
308
- ### 0.9.12 (2012-06-07)
322
+ ## 0.9.12 (2012-06-07)
309
323
 
310
324
  * Re-added the log method setters to the new config object for backwards compatibility.
311
325
  You should be able to configure the logger as you used to do.
@@ -318,7 +332,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
318
332
  end
319
333
  ```
320
334
 
321
- ### 0.9.11 (2012-06-06)
335
+ ## 0.9.11 (2012-06-06)
322
336
 
323
337
  * Feature: [#264](https://github.com/savonrb/savon/pull/264) - Thanks to @hoverlover, Savon and Akami now support
324
338
  signed messages through WSSE.
@@ -352,7 +366,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
352
366
  </env:Envelope>
353
367
  ```
354
368
 
355
- ### 0.9.10 (2012-06-06)
369
+ ## 0.9.10 (2012-06-06)
356
370
 
357
371
  * Feature: [#289](https://github.com/savonrb/savon/pull/289) - Allow the SOAP envelope header to be set as a String.
358
372
 
@@ -382,7 +396,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
382
396
  * Moved logging to the new `Savon::Logger` object.
383
397
  * Removed the `blank?` extension from `Object`.
384
398
 
385
- ### 0.9.9 (2012-02-17)
399
+ ## 0.9.9 (2012-02-17)
386
400
 
387
401
  * Improvement: [pull request 255](https://github.com/savonrb/savon/pull/255) - Raise an error if fetching
388
402
  a remote WSDL fails. Possible fix for [issue 236](https://github.com/savonrb/savon/issues/236).
@@ -406,7 +420,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
406
420
  * Fix: [pull request 265](https://github.com/savonrb/savon/pull/265) - Fixes gemspec problems when bundling
407
421
  under JRuby 1.6.5. Also fixes [issue 267](https://github.com/savonrb/savon/issues/267).
408
422
 
409
- ### 0.9.8 (2012-02-15)
423
+ ## 0.9.8 (2012-02-15)
410
424
 
411
425
  * Feature: Savon now ships with [Savon::Model](http://rubygems.org/gems/savon_model).
412
426
  Savon::Model is a lightweight DSL to be used inside your domain models. It's been refactored
@@ -440,7 +454,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
440
454
  * Fix: [pull request 250](https://github.com/savonrb/savon/pull/250) - The Content-Length header should
441
455
  be the size in bytes.
442
456
 
443
- ### 0.9.7 (2011-08-25)
457
+ ## 0.9.7 (2011-08-25)
444
458
 
445
459
  * Feature: Merged [pull request 210](https://github.com/savonrb/savon/pull/210) by
446
460
  [mboeh](https://github.com/mboeh) to add `Savon::SOAP::Response#doc` and
@@ -469,7 +483,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
469
483
 
470
484
  * Improvement: [issue 222](https://github.com/savonrb/savon/issues/222) - Set the Content-Length header.
471
485
 
472
- ### 0.9.6 (2011-07-07)
486
+ ## 0.9.6 (2011-07-07)
473
487
 
474
488
  * Improvement/Fix: Updated Savon to use the latest version of [Wasabi](http://rubygems.org/gems/wasabi).
475
489
  This should fix [issue 155](https://github.com/savonrb/savon/issues/155) - Savon can automatically add namespaces
@@ -480,16 +494,16 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
480
494
 
481
495
  * Fix: [issue 143](https://github.com/savonrb/savon/issues/143) - Updating Wasabi should solve this issue.
482
496
 
483
- ### 0.9.5 (2011-07-03)
497
+ ## 0.9.5 (2011-07-03)
484
498
 
485
499
  * Refactoring: Extracted WSSE authentication out into the [akami](http://rubygems.org/gems/akami) gem.
486
500
 
487
- ### 0.9.4 (2011-07-03)
501
+ ## 0.9.4 (2011-07-03)
488
502
 
489
503
  * Refactoring: Extracted the WSDL parser out into the [wasabi](http://rubygems.org/gems/wasabi) gem.
490
504
  This should isolate upcoming improvements to the parser.
491
505
 
492
- ### 0.9.3 (2011-06-30)
506
+ ## 0.9.3 (2011-06-30)
493
507
 
494
508
  * Fix: [issue 138](https://github.com/savonrb/savon/issues/138) -
495
509
  Savon now supports setting a global SOAP header via `Savon.soap_header=`.
@@ -524,7 +538,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
524
538
 
525
539
  * `Savon::SOAP::Response#basic_hash` is now `Savon::SOAP::Response#hash`.
526
540
 
527
- ### 0.9.2 (2011-04-30)
541
+ ## 0.9.2 (2011-04-30)
528
542
 
529
543
  * Fix: [issue 154](https://github.com/savonrb/savon/pull/154) -
530
544
  Timezone format used by Savon now matches the XML schema spec.
@@ -542,7 +556,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
542
556
 
543
557
  * Improvement: WSDL parsing now uses Nokogiri instead of REXML.
544
558
 
545
- ### 0.9.1 (2011-04-06)
559
+ ## 0.9.1 (2011-04-06)
546
560
 
547
561
  * Improvement: if you're only setting the local or remote address of your wsdl document, you can
548
562
  now pass an (optional) String to `Savon::Client.new` to set `wsdl.document`.
@@ -558,7 +572,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
558
572
  response[:authenticate_response][:return]
559
573
  ```
560
574
 
561
- ### 0.9.0 (2011-04-05)
575
+ ## 0.9.0 (2011-04-05)
562
576
 
563
577
  * Feature: issues [#158](https://github.com/savonrb/savon/issues/158),
564
578
  [#169](https://github.com/savonrb/savon/issues/169) and [#172](https://github.com/savonrb/savon/issues/172)
@@ -610,18 +624,18 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
610
624
 
611
625
  * And if you haven't already seen the new documentation: [savonrb.com](http://savonrb.com)
612
626
 
613
- ### 0.8.6 (2011-02-15)
627
+ ## 0.8.6 (2011-02-15)
614
628
 
615
629
  * Fix for issues [issue #147](https://github.com/savonrb/savon/issues/147) and [#151](https://github.com/savonrb/savon/issues/151)
616
630
  ([771194](https://github.com/savonrb/savon/commit/771194)).
617
631
 
618
- ### 0.8.5 (2011-01-28)
632
+ ## 0.8.5 (2011-01-28)
619
633
 
620
634
  * Fix for [issue #146](https://github.com/savonrb/savon/issues/146) ([98655c](https://github.com/savonrb/savon/commit/98655c)).
621
635
 
622
636
  * Fix for [issue #147](https://github.com/savonrb/savon/issues/147) ([252670](https://github.com/savonrb/savon/commit/252670)).
623
637
 
624
- ### 0.8.4 (2011-01-26)
638
+ ## 0.8.4 (2011-01-26)
625
639
 
626
640
  * Fix for issues [issue #130](https://github.com/savonrb/savon/issues/130) and [#134](https://github.com/savonrb/savon/issues/134)
627
641
  ([4f9847](https://github.com/savonrb/savon/commit/4f9847)).
@@ -630,14 +644,14 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
630
644
 
631
645
  * Fix for [issue #135](https://github.com/savonrb/savon/issues/135) ([c9261d](https://github.com/savonrb/savon/commit/c9261d)).
632
646
 
633
- ### 0.8.3 (2011-01-11)
647
+ ## 0.8.3 (2011-01-11)
634
648
 
635
649
  * Moved implementation of `Savon::SOAP::Response#to_array` to a class method at `Savon::SOAP::XML.to_array`
636
650
  ([05a7d3](https://github.com/savonrb/savon/commit/05a7d3)).
637
651
 
638
652
  * Fix for [issue #131](https://github.com/savonrb/savon/issues/131) ([4e57b3](https://github.com/savonrb/savon/commit/4e57b3)).
639
653
 
640
- ### 0.8.2 (2011-01-04)
654
+ ## 0.8.2 (2011-01-04)
641
655
 
642
656
  * Fix for [issue #127](https://github.com/savonrb/savon/issues/127) ([0eb3da](https://github.com/savonrb/savon/commit/0eb3da4)).
643
657
 
@@ -669,7 +683,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
669
683
  end
670
684
  ```
671
685
 
672
- ### 0.8.1 (2010-12-22)
686
+ ## 0.8.1 (2010-12-22)
673
687
 
674
688
  * Update to depend on HTTPI v0.7.5 which comes with a fallback to use Net::HTTP when no other adapter could be required.
675
689
 
@@ -677,7 +691,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
677
691
 
678
692
  * Loosen dependency on builder. Should be quite stable.
679
693
 
680
- ### 0.8.0 (2010-12-20)
694
+ ## 0.8.0 (2010-12-20)
681
695
 
682
696
  * Added `Savon::SOAP::XML#env_namespace` ([51fa0e](https://github.com/savonrb/savon/commit/51fa0e)) to configure
683
697
  the SOAP envelope namespace. It defaults to :env but can also be set to an empty String for SOAP envelope
@@ -686,7 +700,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
686
700
  * Replaced quite a lot of core extensions by moving the Hash to XML translation into a new gem called
687
701
  [Gyoku](http://rubygems.org/gems/gyoku) ([bac4b4](https://github.com/savonrb/savon/commit/bac4b4)).
688
702
 
689
- ### 0.8.0.beta.4 (2010-11-20)
703
+ ## 0.8.0.beta.4 (2010-11-20)
690
704
 
691
705
  * Fix for [issue #107](https://github.com/savonrb/savon/issues/107) ([1d6eda](https://github.com/savonrb/savon/commit/1d6eda)).
692
706
 
@@ -702,12 +716,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
702
716
  # => [{ :id => 1, :name => "foo"}, { :id => 2, :name => "bar"}]
703
717
  ```
704
718
 
705
- ### 0.8.0.beta.3 (2010-11-06)
719
+ ## 0.8.0.beta.3 (2010-11-06)
706
720
 
707
721
  * Fix for [savon_spec](http://rubygems.org/gems/savon_spec) to not send nil to `Savon::SOAP::XML#body`
708
722
  ([c34b42](https://github.com/savonrb/savon/commit/c34b42)).
709
723
 
710
- ### 0.8.0.beta.2 (2010-11-05)
724
+ ## 0.8.0.beta.2 (2010-11-05)
711
725
 
712
726
  * Added `Savon.response_pattern` ([0a12fb](https://github.com/savonrb/savon/commit/0a12fb)) to automatically walk deeper into
713
727
  the SOAP response Hash when a pattern (specified as an Array of Regexps and Symbols) matches the response. If for example
@@ -750,7 +764,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
750
764
 
751
765
  * Added `Savon::SOAP::Response#to_array` (which also uses the response pattern).
752
766
 
753
- ### 0.8.0.beta.1 (2010-10-29)
767
+ ## 0.8.0.beta.1 (2010-10-29)
754
768
 
755
769
  * Changed `Savon::Client.new` to accept a block instead of multiple Hash arguments. You can access the
756
770
  wsdl, http and wsse objects inside the block to configure your client for a particular service.
@@ -843,15 +857,15 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
843
857
 
844
858
  * Started to remove quite a few core extensions.
845
859
 
846
- ### 0.7.9 (2010-06-14)
860
+ ## 0.7.9 (2010-06-14)
847
861
 
848
862
  * Fix for [issue #53](https://github.com/savonrb/savon/issues/53).
849
863
 
850
- ### 0.7.8 (2010-05-09)
864
+ ## 0.7.8 (2010-05-09)
851
865
 
852
866
  * Fixed gemspec to include missing files in the gem.
853
867
 
854
- ### 0.7.7 (2010-05-09)
868
+ ## 0.7.7 (2010-05-09)
855
869
 
856
870
  * SOAP requests now start with a proper XML declaration.
857
871
 
@@ -874,7 +888,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
874
888
  in SOAP request Hash values, but you can now append an exclamation mark to Hash keys specifying that
875
889
  it's value should not be escaped.
876
890
 
877
- ### 0.7.6 (2010-03-21)
891
+ ## 0.7.6 (2010-03-21)
878
892
 
879
893
  * Moved documentation from the Github Wiki to the actual class files and established a much nicer
880
894
  documentation combining examples and implementation (using Hanna) at: http://savon.rubiii.com
@@ -890,7 +904,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
890
904
  * Fix for issues [#39](https://github.com/savonrb/savon/issues/39) and [#49](https://github.com/savonrb/savon/issues/49).
891
905
  Added `Savon::SOAP#xml` which let's you specify completely custom SOAP request XML.
892
906
 
893
- ### 0.7.5 (2010-02-19)
907
+ ## 0.7.5 (2010-02-19)
894
908
 
895
909
  * Fix for [issue #34](https://github.com/savonrb/savon/issues/34).
896
910
 
@@ -900,11 +914,11 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
900
914
 
901
915
  * Changed the key for specifying the order of tags from :@inorder to :order!
902
916
 
903
- ### 0.7.4 (2010-02-02)
917
+ ## 0.7.4 (2010-02-02)
904
918
 
905
919
  * Fix for [issue #33](https://github.com/savonrb/savon/issues/33).
906
920
 
907
- ### 0.7.3 (2010-01-31)
921
+ ## 0.7.3 (2010-01-31)
908
922
 
909
923
  * Added support for Geotrust-style WSDL documents (Julian Kornberger <github.corny@digineo.de>).
910
924
 
@@ -925,7 +939,7 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
925
939
 
926
940
  * Fix for [issue #25](https://github.com/savonrb/savon/issues/25).
927
941
 
928
- ### 0.7.2 (2010-01-17)
942
+ ## 0.7.2 (2010-01-17)
929
943
 
930
944
  * Exposed the `Net::HTTP` response (added by Kevin Ingolfsland). Use the `http` accessor (`response.http`)
931
945
  on your `Savon::Response` to access the `Net::HTTP` response object.
@@ -938,12 +952,12 @@ Combined release ticket: [#481](https://github.com/savonrb/savon/issues/481)
938
952
 
939
953
  * Added support for global header and namespaces. See [issue #9](https://github.com/savonrb/savon/issues/9).
940
954
 
941
- ### 0.7.1 (2010-01-10)
955
+ ## 0.7.1 (2010-01-10)
942
956
 
943
957
  * The Hash of HTTP headers for SOAP calls is now public via `Savon::Request#headers`.
944
958
  Patch for [issue #8](https://github.com/savonrb/savon/issues/8).
945
959
 
946
- ### 0.7.0 (2010-01-09)
960
+ ## 0.7.0 (2010-01-09)
947
961
 
948
962
  This version comes with several changes to the public API!
949
963
  Pay attention to the following list and read the updated Wiki: http://wiki.github.com/savonrb/savon
@@ -1001,7 +1015,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1001
1015
  soap.namespace = "http://example.com"
1002
1016
  ```
1003
1017
 
1004
- ### 0.6.8 (2010-01-01)
1018
+ ## 0.6.8 (2010-01-01)
1005
1019
 
1006
1020
  * Improved specifications for various kinds of WSDL documents.
1007
1021
 
@@ -1018,7 +1032,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1018
1032
  client.get_api_key { |soap| soap.input = "User.GetApiKey" }
1019
1033
  ```
1020
1034
 
1021
- ### 0.6.7 (2009-12-18)
1035
+ ## 0.6.7 (2009-12-18)
1022
1036
 
1023
1037
  * Implemented support for a proxy server. The proxy URI can be set through an optional Hash of options passed
1024
1038
  to instantiating `Savon::Client` (Dave Woodward <dave@futuremint.com>)
@@ -1028,17 +1042,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1028
1042
 
1029
1043
  * Patch for [issue #10](https://github.com/savonrb/savon/issues/10).
1030
1044
 
1031
- ### 0.6.6 (2009-12-14)
1045
+ ## 0.6.6 (2009-12-14)
1032
1046
 
1033
1047
  * Default to use the name of the SOAP action (the method called in a client) in lowerCamelCase for SOAP action
1034
1048
  and input when Savon::WSDL is disabled. You still need to specify soap.action and maybe soap.input in case
1035
1049
  your SOAP actions are named any different.
1036
1050
 
1037
- ### 0.6.5 (2009-12-13)
1051
+ ## 0.6.5 (2009-12-13)
1038
1052
 
1039
1053
  * Added an `open_timeout` method to `Savon::Request`.
1040
1054
 
1041
- ### 0.6.4 (2009-12-13)
1055
+ ## 0.6.4 (2009-12-13)
1042
1056
 
1043
1057
  * Refactored specs to be less unit-like.
1044
1058
 
@@ -1056,7 +1070,7 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1056
1070
  0.6.3 192.900000 19.630000 212.530000 (914.031865)
1057
1071
  ```
1058
1072
 
1059
- ### 0.6.3 (2009-12-11)
1073
+ ## 0.6.3 (2009-12-11)
1060
1074
 
1061
1075
  * Removing 2 ruby deprecation warnings for parenthesized arguments. (Dave Woodward <dave@futuremint.com>)
1062
1076
 
@@ -1080,17 +1094,17 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1080
1094
  0.6.2 574.720000 78.380000 653.100000 (1387.778539)
1081
1095
  ```
1082
1096
 
1083
- ### 0.6.2 (2009-12-06)
1097
+ ## 0.6.2 (2009-12-06)
1084
1098
 
1085
1099
  * Added support for changing the name of the SOAP input node.
1086
1100
 
1087
1101
  * Added a CHANGELOG.
1088
1102
 
1089
- ### 0.6.1 (2009-12-06)
1103
+ ## 0.6.1 (2009-12-06)
1090
1104
 
1091
1105
  * Fixed a problem with WSSE credentials, where every request contained a WSSE authentication header.
1092
1106
 
1093
- ### 0.6.0 (2009-12-06)
1107
+ ## 0.6.0 (2009-12-06)
1094
1108
 
1095
1109
  * `method_missing` now yields the SOAP and WSSE objects to a given block.
1096
1110
 
@@ -1098,15 +1112,15 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1098
1112
 
1099
1113
  * Improved SOAP action handling (another problem that came up with issue #1).
1100
1114
 
1101
- ### 0.5.3 (2009-11-30)
1115
+ ## 0.5.3 (2009-11-30)
1102
1116
 
1103
1117
  * Patch for [issue #2](https://github.com/savonrb/savon/issues/2).
1104
1118
 
1105
- ### 0.5.2 (2009-11-30)
1119
+ ## 0.5.2 (2009-11-30)
1106
1120
 
1107
1121
  * Patch for [issue #1](https://github.com/savonrb/savon/issues/1).
1108
1122
 
1109
- ### 0.5.1 (2009-11-29)
1123
+ ## 0.5.1 (2009-11-29)
1110
1124
 
1111
1125
  * Optimized default response process.
1112
1126
 
@@ -1118,6 +1132,6 @@ Pay attention to the following list and read the updated Wiki: http://wiki.githu
1118
1132
 
1119
1133
  * Added specs
1120
1134
 
1121
- ### 0.5.0 (2009-11-29)
1135
+ ## 0.5.0 (2009-11-29)
1122
1136
 
1123
1137
  * Complete rewrite and public release.
data/CONTRIBUTING.md CHANGED
@@ -3,44 +3,40 @@
3
3
  This page describes how to contribute changes to Savon.
4
4
 
5
5
  Please do not create a pull request without reading this guide first.
6
- Make sure to read the documentation for your version at [savonrb.com](http://savonrb.com/)
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 many information as possible
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 could make this easier for you. Also, provide code and the WSDL of the
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 obviously needs to be fixed. Make sure your new spec is the
20
- only failing one under the `spec` directory. Travis only runs the "unit tests" at `spec/savon`,
21
- but Savon actually has with some additional "integration/example specs" at `spec/integration`,
22
- which you need to run locally to make sure the integration with real world services still works.
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
- Notice that these specs are not run by Travis, because the service's are not guaranteed to work
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 basic workflow for pull requests:
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
- * Update the [Changelog](https://github.com/savonrb/savon/blob/master/CHANGELOG.md)
33
- * [Send a pull request](https://help.github.com/articles/using-pull-requests)
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 issue](https://github.com/savonrb/savon/issues/new) and describe your idea
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 requests and issues on GitHub are meant to be used to discuss problems and ideas,
45
- so please make sure to participate and follow up on questions. In case noone comments
40
+ Pull Requests and Issues on GitHub are meant to be used to discuss problems and ideas,
41
+ so please make sure to participate and follow up on questions. In case no one comments
46
42
  on your ticket, please keep updating the ticket with additional information.
data/Gemfile CHANGED
@@ -1,13 +1,8 @@
1
1
  source 'https://rubygems.org'
2
+
2
3
  gemspec
3
4
 
4
5
  gem "httpclient", "~> 2.7.1"
5
6
 
6
7
  gem "simplecov", :require => false
7
- gem "coveralls", :require => false
8
-
9
- platform :rbx do
10
- gem 'racc'
11
- gem 'rubysl'
12
- gem 'rubinius-coverage'
13
- end
8
+ gem "net-smtp" if RUBY_VERSION >= "3.1.0"