savon_with_adapter 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +11 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +1042 -0
- data/CONTRIBUTING.md +46 -0
- data/Gemfile +18 -0
- data/LICENSE +20 -0
- data/README.md +81 -0
- data/Rakefile +14 -0
- data/donate.png +0 -0
- data/lib/savon.rb +27 -0
- data/lib/savon/block_interface.rb +26 -0
- data/lib/savon/builder.rb +166 -0
- data/lib/savon/client.rb +89 -0
- data/lib/savon/core_ext/string.rb +29 -0
- data/lib/savon/header.rb +70 -0
- data/lib/savon/http_error.rb +27 -0
- data/lib/savon/log_message.rb +48 -0
- data/lib/savon/message.rb +35 -0
- data/lib/savon/mock.rb +5 -0
- data/lib/savon/mock/expectation.rb +71 -0
- data/lib/savon/mock/spec_helper.rb +62 -0
- data/lib/savon/model.rb +80 -0
- data/lib/savon/operation.rb +127 -0
- data/lib/savon/options.rb +336 -0
- data/lib/savon/qualified_message.rb +49 -0
- data/lib/savon/request.rb +89 -0
- data/lib/savon/request_logger.rb +48 -0
- data/lib/savon/response.rb +112 -0
- data/lib/savon/soap_fault.rb +48 -0
- data/lib/savon/version.rb +3 -0
- data/savon.gemspec +52 -0
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +14 -0
- data/spec/fixtures/response/authentication.xml +14 -0
- data/spec/fixtures/response/header.xml +13 -0
- data/spec/fixtures/response/list.xml +18 -0
- data/spec/fixtures/response/multi_ref.xml +39 -0
- data/spec/fixtures/response/soap_fault.xml +8 -0
- data/spec/fixtures/response/soap_fault12.xml +18 -0
- data/spec/fixtures/response/taxcloud.xml +1 -0
- data/spec/fixtures/ssl/client_cert.pem +16 -0
- data/spec/fixtures/ssl/client_encrypted_key.pem +30 -0
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +24 -0
- data/spec/fixtures/ssl/client_key.pem +15 -0
- data/spec/fixtures/wsdl/authentication.xml +63 -0
- data/spec/fixtures/wsdl/betfair.xml +2981 -0
- data/spec/fixtures/wsdl/edialog.xml +15416 -0
- data/spec/fixtures/wsdl/interhome.xml +2137 -0
- data/spec/fixtures/wsdl/lower_camel.xml +52 -0
- data/spec/fixtures/wsdl/multiple_namespaces.xml +92 -0
- data/spec/fixtures/wsdl/multiple_types.xml +60 -0
- data/spec/fixtures/wsdl/taxcloud.xml +934 -0
- data/spec/fixtures/wsdl/team_software.xml +1 -0
- data/spec/fixtures/wsdl/vies.xml +176 -0
- data/spec/fixtures/wsdl/wasmuth.xml +153 -0
- data/spec/integration/centra_spec.rb +72 -0
- data/spec/integration/email_example_spec.rb +32 -0
- data/spec/integration/random_quote_spec.rb +23 -0
- data/spec/integration/ratp_example_spec.rb +28 -0
- data/spec/integration/stockquote_example_spec.rb +28 -0
- data/spec/integration/support/application.rb +82 -0
- data/spec/integration/support/server.rb +84 -0
- data/spec/integration/temperature_example_spec.rb +46 -0
- data/spec/integration/zipcode_example_spec.rb +42 -0
- data/spec/savon/builder_spec.rb +86 -0
- data/spec/savon/client_spec.rb +198 -0
- data/spec/savon/core_ext/string_spec.rb +37 -0
- data/spec/savon/features/message_tag_spec.rb +61 -0
- data/spec/savon/http_error_spec.rb +49 -0
- data/spec/savon/log_message_spec.rb +33 -0
- data/spec/savon/message_spec.rb +40 -0
- data/spec/savon/mock_spec.rb +157 -0
- data/spec/savon/model_spec.rb +154 -0
- data/spec/savon/observers_spec.rb +92 -0
- data/spec/savon/operation_spec.rb +211 -0
- data/spec/savon/options_spec.rb +772 -0
- data/spec/savon/request_spec.rb +493 -0
- data/spec/savon/response_spec.rb +258 -0
- data/spec/savon/soap_fault_spec.rb +126 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/endpoint.rb +25 -0
- data/spec/support/fixture.rb +39 -0
- data/spec/support/integration.rb +9 -0
- data/spec/support/stdout.rb +25 -0
- metadata +310 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
module SpecSupport
|
2
|
+
|
3
|
+
def mock_stdout
|
4
|
+
original_stdout = $stdout
|
5
|
+
|
6
|
+
stdout = StringIO.new
|
7
|
+
$stdout = stdout
|
8
|
+
|
9
|
+
yield
|
10
|
+
|
11
|
+
$stdout = original_stdout
|
12
|
+
stdout
|
13
|
+
end
|
14
|
+
|
15
|
+
def silence_stdout
|
16
|
+
original_stdout = $stdout
|
17
|
+
$stdout = StringIO.new
|
18
|
+
|
19
|
+
result = yield
|
20
|
+
|
21
|
+
$stdout = original_stdout
|
22
|
+
result
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,310 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: savon_with_adapter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.4.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Harrington
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-27 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: nori
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.3.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.3.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httpi
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: wasabi_with_adapter
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.2.4
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.2.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: akami
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.2.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gyoku
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.1.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.1.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: builder
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 2.1.2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 2.1.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: nokogiri
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.4.0
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.4.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: puma
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.0.0.b4
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.0.0.b4
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '10.1'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '10.1'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rspec
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ~>
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '2.14'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ~>
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '2.14'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: mocha
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ~>
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0.14'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0.14'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: json
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ~>
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '1.7'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ~>
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '1.7'
|
195
|
+
description: Heavy metal SOAP client that can accept adapter option
|
196
|
+
email: me@rubiii.com
|
197
|
+
executables: []
|
198
|
+
extensions: []
|
199
|
+
extra_rdoc_files: []
|
200
|
+
files:
|
201
|
+
- .gitignore
|
202
|
+
- .travis.yml
|
203
|
+
- .yardopts
|
204
|
+
- CHANGELOG.md
|
205
|
+
- CONTRIBUTING.md
|
206
|
+
- Gemfile
|
207
|
+
- LICENSE
|
208
|
+
- README.md
|
209
|
+
- Rakefile
|
210
|
+
- donate.png
|
211
|
+
- lib/savon.rb
|
212
|
+
- lib/savon/block_interface.rb
|
213
|
+
- lib/savon/builder.rb
|
214
|
+
- lib/savon/client.rb
|
215
|
+
- lib/savon/core_ext/string.rb
|
216
|
+
- lib/savon/header.rb
|
217
|
+
- lib/savon/http_error.rb
|
218
|
+
- lib/savon/log_message.rb
|
219
|
+
- lib/savon/message.rb
|
220
|
+
- lib/savon/mock.rb
|
221
|
+
- lib/savon/mock/expectation.rb
|
222
|
+
- lib/savon/mock/spec_helper.rb
|
223
|
+
- lib/savon/model.rb
|
224
|
+
- lib/savon/operation.rb
|
225
|
+
- lib/savon/options.rb
|
226
|
+
- lib/savon/qualified_message.rb
|
227
|
+
- lib/savon/request.rb
|
228
|
+
- lib/savon/request_logger.rb
|
229
|
+
- lib/savon/response.rb
|
230
|
+
- lib/savon/soap_fault.rb
|
231
|
+
- lib/savon/version.rb
|
232
|
+
- savon.gemspec
|
233
|
+
- spec/fixtures/gzip/message.gz
|
234
|
+
- spec/fixtures/response/another_soap_fault.xml
|
235
|
+
- spec/fixtures/response/authentication.xml
|
236
|
+
- spec/fixtures/response/header.xml
|
237
|
+
- spec/fixtures/response/list.xml
|
238
|
+
- spec/fixtures/response/multi_ref.xml
|
239
|
+
- spec/fixtures/response/soap_fault.xml
|
240
|
+
- spec/fixtures/response/soap_fault12.xml
|
241
|
+
- spec/fixtures/response/taxcloud.xml
|
242
|
+
- spec/fixtures/ssl/client_cert.pem
|
243
|
+
- spec/fixtures/ssl/client_encrypted_key.pem
|
244
|
+
- spec/fixtures/ssl/client_encrypted_key_cert.pem
|
245
|
+
- spec/fixtures/ssl/client_key.pem
|
246
|
+
- spec/fixtures/wsdl/authentication.xml
|
247
|
+
- spec/fixtures/wsdl/betfair.xml
|
248
|
+
- spec/fixtures/wsdl/edialog.xml
|
249
|
+
- spec/fixtures/wsdl/interhome.xml
|
250
|
+
- spec/fixtures/wsdl/lower_camel.xml
|
251
|
+
- spec/fixtures/wsdl/multiple_namespaces.xml
|
252
|
+
- spec/fixtures/wsdl/multiple_types.xml
|
253
|
+
- spec/fixtures/wsdl/taxcloud.xml
|
254
|
+
- spec/fixtures/wsdl/team_software.xml
|
255
|
+
- spec/fixtures/wsdl/vies.xml
|
256
|
+
- spec/fixtures/wsdl/wasmuth.xml
|
257
|
+
- spec/integration/centra_spec.rb
|
258
|
+
- spec/integration/email_example_spec.rb
|
259
|
+
- spec/integration/random_quote_spec.rb
|
260
|
+
- spec/integration/ratp_example_spec.rb
|
261
|
+
- spec/integration/stockquote_example_spec.rb
|
262
|
+
- spec/integration/support/application.rb
|
263
|
+
- spec/integration/support/server.rb
|
264
|
+
- spec/integration/temperature_example_spec.rb
|
265
|
+
- spec/integration/zipcode_example_spec.rb
|
266
|
+
- spec/savon/builder_spec.rb
|
267
|
+
- spec/savon/client_spec.rb
|
268
|
+
- spec/savon/core_ext/string_spec.rb
|
269
|
+
- spec/savon/features/message_tag_spec.rb
|
270
|
+
- spec/savon/http_error_spec.rb
|
271
|
+
- spec/savon/log_message_spec.rb
|
272
|
+
- spec/savon/message_spec.rb
|
273
|
+
- spec/savon/mock_spec.rb
|
274
|
+
- spec/savon/model_spec.rb
|
275
|
+
- spec/savon/observers_spec.rb
|
276
|
+
- spec/savon/operation_spec.rb
|
277
|
+
- spec/savon/options_spec.rb
|
278
|
+
- spec/savon/request_spec.rb
|
279
|
+
- spec/savon/response_spec.rb
|
280
|
+
- spec/savon/soap_fault_spec.rb
|
281
|
+
- spec/spec_helper.rb
|
282
|
+
- spec/support/endpoint.rb
|
283
|
+
- spec/support/fixture.rb
|
284
|
+
- spec/support/integration.rb
|
285
|
+
- spec/support/stdout.rb
|
286
|
+
homepage: https://github.com/savonrb/savon/pull/566
|
287
|
+
licenses:
|
288
|
+
- MIT
|
289
|
+
metadata: {}
|
290
|
+
post_install_message:
|
291
|
+
rdoc_options: []
|
292
|
+
require_paths:
|
293
|
+
- lib
|
294
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - '>='
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
299
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - '>='
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
requirements: []
|
305
|
+
rubyforge_project: savon_with_adapter
|
306
|
+
rubygems_version: 2.2.2
|
307
|
+
signing_key:
|
308
|
+
specification_version: 4
|
309
|
+
summary: Heavy metal SOAP client that can accept adapter option
|
310
|
+
test_files: []
|