soapforce 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +1 -1
- data/lib/soapforce/client.rb +6 -2
- data/lib/soapforce/version.rb +1 -1
- data/soapforce.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDZjNzkzNzYxNzA5YmJhZmM4ZjA1ODZhYTgxMTVkYzYwMjU1MTEyYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2Q5MThhZTIzZmQ3NGRiYjQ0MzM0MmViNDM1YThlODhhNTY4OGVmNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGIzYzM3YTk1NjBlM2I5ZmMyOGZjNDYwM2VhYjJjM2UwNTNjODcwODE1ZjZl
|
10
|
+
YjIzZDM1MmQ5MzYyZGU1Mjg3ZjRlYTA2MjMzZDlkNWJmMjU0OTlkYWIzZGZl
|
11
|
+
YWVlNGQ3N2FhNzY1NzlmNDk2NTU3NjNkZWIxMzJmZGU5NmYzOWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmJkNDM4ZmY2NDJkYTNkNDQyMDcxNzMzYzlkYzExN2U3YmIwNzcwMGVkNTNk
|
14
|
+
NTYyMGY5MmU3MTJhYjc3NGU0ZDlhMjIwZjM2NDMwODdlOWNjMGI2MzJmM2Ix
|
15
|
+
OWQ3NDU0YWQzNDIyZDI1ZTM0NDE0NTUzYWM2YTkyZjIzOWQxODg=
|
data/README.md
CHANGED
@@ -50,7 +50,7 @@ client = Soapforce::Client.new(:host => 'test.salesforce.com')
|
|
50
50
|
You can specify a logger by passing a logger. Logging is disabled by default.
|
51
51
|
|
52
52
|
```ruby
|
53
|
-
client = Soapforce::Client.new(:logger =>
|
53
|
+
client = Soapforce::Client.new(:logger => Logger.new(STDOUT))
|
54
54
|
```
|
55
55
|
|
56
56
|
#### Username/Password authentication
|
data/lib/soapforce/client.rb
CHANGED
@@ -26,6 +26,8 @@ module Soapforce
|
|
26
26
|
@login_url = "https://#{@host}/services/Soap/u/#{@version}"
|
27
27
|
|
28
28
|
@logger = options[:logger] || false
|
29
|
+
# Due to recent SSLv3 POODLE vulnerabilty we default to TLSv1
|
30
|
+
@ssl_version = options[:ssl_version] || :TLSv1
|
29
31
|
|
30
32
|
@client = Savon.client(
|
31
33
|
wsdl: @wsdl,
|
@@ -34,7 +36,8 @@ module Soapforce
|
|
34
36
|
pretty_print_xml: true,
|
35
37
|
logger: @logger,
|
36
38
|
log: (@logger != false),
|
37
|
-
endpoint: @login_url
|
39
|
+
endpoint: @login_url,
|
40
|
+
ssl_version: @ssl_version # Sets ssl_version for HTTPI adapter
|
38
41
|
)
|
39
42
|
end
|
40
43
|
|
@@ -84,7 +87,8 @@ module Soapforce
|
|
84
87
|
convert_request_keys_to: :none,
|
85
88
|
logger: @logger,
|
86
89
|
log: (@logger != false),
|
87
|
-
endpoint: @server_url
|
90
|
+
endpoint: @server_url,
|
91
|
+
ssl_version: @ssl_version # Sets ssl_version for HTTPI adapter
|
88
92
|
)
|
89
93
|
|
90
94
|
# If a session_id/server_url were passed in then invoke get_user_info for confirmation.
|
data/lib/soapforce/version.rb
CHANGED
data/soapforce.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency "savon", "
|
21
|
+
spec.add_runtime_dependency "savon", ">= 2.3.0", '< 3.0.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency 'rspec', '~> 2.14.0', '>= 2.14.0'
|
24
24
|
spec.add_development_dependency 'webmock', '~> 1.17.0', '>= 1.17.0'
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soapforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Heth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 2.3.0
|
20
17
|
- - ! '>='
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 2.3.0
|
20
|
+
- - <
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.0.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 2.3.0
|
30
27
|
- - ! '>='
|
31
28
|
- !ruby/object:Gem::Version
|
32
29
|
version: 2.3.0
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.0.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rspec
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|