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 CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
data/docusignsdk.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{docusignsdk}
8
- s.version = "0.1.3"
8
+ s.version = "0.1.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["nicholas reed"]
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
- #connection.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_PEER
26
- #connection.ssl_config.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
27
- connection.options["protocol.http.ssl_config.verify_mode"] = nil
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.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
57
- #connection.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_PEER
58
- connection.options["protocol.http.ssl_config.verify_mode"] = nil
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
- - 3
9
- version: 0.1.3
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: 555352175
135
+ hash: -465261581
136
136
  segments:
137
137
  - 0
138
138
  version: "0"