soap-object 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/ChangeLog +8 -1
- data/README.md +30 -1
- data/lib/soap-object/version.rb +2 -4
- data/soap-object.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26ae0f7d6449c9ece08643e7b5869428bd6fecbf
|
4
|
+
data.tar.gz: 759d9adccbd16e16153a1c2a13c12ff4a2f51180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f432712ceeebb9ccd8f6afcf990b3f7958800867a8ee1e83f31952dd8e4c000eee13500d9782593436045bc902f46699650ddfd3e59317973948af71f1472f3
|
7
|
+
data.tar.gz: 94ab0a0541699d2b78a8f098ee53307eef533e138fc37c3988d1b973182bf3a27207c2ab89d861e0deafb1f3c61b7907a55b7317d9395939ad1b37af0cdcaed1
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.0.0-
|
1
|
+
ruby-2.0.0-p643
|
data/ChangeLog
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
=== Version 0.6.7 / 2015-10-24
|
2
|
+
* Cleanup
|
3
|
+
|
4
|
+
=== Version 0.6.6 / 2015-10-24
|
5
|
+
* Enhancements
|
6
|
+
* Added ssl_options method.
|
7
|
+
|
1
8
|
=== Version 0.6.5 / 2015-6-3
|
2
9
|
* Enhancements
|
3
10
|
* Added ability to set soap version
|
@@ -9,7 +16,7 @@
|
|
9
16
|
|
10
17
|
=== Version 0.6.3 / 2015-3-26
|
11
18
|
* Enhancements
|
12
|
-
* Added ability to disable ssl verification
|
19
|
+
* Added ability to disable ssl verification
|
13
20
|
|
14
21
|
=== Version 0.6.2 / 2015-3-12
|
15
22
|
* Enhancements
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ Module to make it simpler to tests SOAP web services. The goal is
|
|
4
4
|
to abstract all information about how your call and parse results
|
5
5
|
from the web service within the soap objects.
|
6
6
|
|
7
|
-
## Defining
|
7
|
+
## Defining a soap-object
|
8
8
|
|
9
9
|
````ruby
|
10
10
|
class AirportService
|
@@ -19,6 +19,35 @@ class AirportService
|
|
19
19
|
end
|
20
20
|
````
|
21
21
|
|
22
|
+
#### Client Properties
|
23
|
+
|
24
|
+
By default, the following properties are set on the Savon::Client:
|
25
|
+
|
26
|
+
````ruby
|
27
|
+
log: false
|
28
|
+
ssl_verify_mode: :none
|
29
|
+
ssl_version: :SSLv3
|
30
|
+
````
|
31
|
+
|
32
|
+
The following methods are available to set client properties:
|
33
|
+
|
34
|
+
````ruby
|
35
|
+
proxy 'http://proxy.com:8080'
|
36
|
+
open_timeout 10
|
37
|
+
read_timeout 20
|
38
|
+
soap_header 'Token' => 'secret'
|
39
|
+
encoding 'UTF-16'
|
40
|
+
basic_auth 'steve', 'secret'
|
41
|
+
digest_auth 'digest', 'auth'
|
42
|
+
log_level :error
|
43
|
+
soap_version 2
|
44
|
+
|
45
|
+
ssl_options do |opts|
|
46
|
+
opts.verify_mode = :peer
|
47
|
+
opts.version = :SSLv2
|
48
|
+
end
|
49
|
+
````
|
50
|
+
|
22
51
|
## Usage
|
23
52
|
|
24
53
|
````ruby
|
data/lib/soap-object/version.rb
CHANGED
data/soap-object.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'soap-object/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "soap-object"
|
8
|
-
gem.version =
|
8
|
+
gem.version = SoapObject::VERSION
|
9
9
|
gem.authors = ["Jeffrey S. Morgan", "Doug Morgan"]
|
10
10
|
gem.email = ["jeff.morgan@leandog.com", "douglas.morgan3405@gmail.com"]
|
11
11
|
gem.description = %q{Wrapper around SOAP service calls to make it easy to test}
|