docusignsdk 0.1.0 → 0.1.1

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.0
1
+ 0.1.1
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.0"
8
+ s.version = "0.1.1"
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
@@ -21,6 +21,10 @@ module Docusign
21
21
 
22
22
  connection = Docusign::APIServiceSoap.new
23
23
 
24
+ # newly added by Nick for Heroku SSL
25
+ connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
26
+ connection.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
27
+
24
28
  if options[:integrators_key]
25
29
  header = IntegratorsKeyAuthHeaderHandler.new(
26
30
  :email => options.delete(:email),
@@ -46,6 +50,11 @@ module Docusign
46
50
  def credentials(email, password, endpoint_url=nil)
47
51
 
48
52
  connection = Docusign::Credential::CredentialSoap.new
53
+
54
+ # newly added by Nick for Heroku SSL
55
+ connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
56
+ connection.ca_file = '/usr/lib/ssl/certs/ca-certificates.crt'
57
+
49
58
  connection.endpoint_url = endpoint_url if endpoint_url
50
59
 
51
60
  connection.login(:email => email, :password => password).loginResult
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
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: -48618099
135
+ hash: -51166367
136
136
  segments:
137
137
  - 0
138
138
  version: "0"