docusignsdk 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/docusignsdk.gemspec +1 -1
- data/lib/docusign/base.rb +9 -6
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/docusignsdk.gemspec
CHANGED
data/lib/docusign/base.rb
CHANGED
@@ -22,9 +22,11 @@ module Docusign
|
|
22
22
|
connection = Docusign::APIServiceSoap.new
|
23
23
|
|
24
24
|
# newly added by Nick for Heroku SSL
|
25
|
-
|
26
|
-
#connection.ssl_config.
|
27
|
-
connection.options["protocol.http.ssl_config.
|
25
|
+
#connection.options["protocol.http.ssl_config.verify_mode"] = nil
|
26
|
+
#connection.options["protocol.http.ssl_config.verify_mode"] = OpenSSL::SSL::VERIFY_PEER
|
27
|
+
#connection.options["protocol.http.ssl_config.ca_file"] = '/usr/lib/ssl/certs/ca-certificates.crt'
|
28
|
+
connection.options["protocol.http.ssl_config.verify_mode"] = Docusign::Config[:verify_mode]
|
29
|
+
connection.options["protocol.http.ssl_config.ca_file"] = Docusign::Config[:ca_file]
|
28
30
|
|
29
31
|
if options[:integrators_key]
|
30
32
|
header = IntegratorsKeyAuthHeaderHandler.new(
|
@@ -53,9 +55,10 @@ module Docusign
|
|
53
55
|
connection = Docusign::Credential::CredentialSoap.new
|
54
56
|
|
55
57
|
# newly added by Nick for Heroku SSL
|
56
|
-
#connection.ssl_config.
|
57
|
-
|
58
|
-
connection.options["protocol.http.ssl_config.verify_mode"] =
|
58
|
+
#connection.options["protocol.http.ssl_config.verify_mode"] = OpenSSL::SSL::VERIFY_PEER
|
59
|
+
#connection.options["protocol.http.ssl_config.ca_file"] = '/usr/lib/ssl/certs/ca-certificates.crt'
|
60
|
+
connection.options["protocol.http.ssl_config.verify_mode"] = Docusign::Config[:verify_mode]
|
61
|
+
connection.options["protocol.http.ssl_config.ca_file"] = Docusign::Config[:ca_file]
|
59
62
|
|
60
63
|
connection.endpoint_url = endpoint_url if endpoint_url
|
61
64
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- nicholas reed
|
@@ -132,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
133
133
|
- - ">="
|
134
134
|
- !ruby/object:Gem::Version
|
135
|
-
hash:
|
135
|
+
hash: -465261581
|
136
136
|
segments:
|
137
137
|
- 0
|
138
138
|
version: "0"
|