sendhub 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sendhub/client.rb +1 -1
- data/lib/sendhub/http.rb +1 -1
- metadata +3 -3
data/lib/sendhub/client.rb
CHANGED
data/lib/sendhub/http.rb
CHANGED
@@ -23,7 +23,7 @@ module Sendhub
|
|
23
23
|
if @uri.scheme == 'https'
|
24
24
|
connection.use_ssl = true
|
25
25
|
connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
26
|
-
connection.ca_file =
|
26
|
+
connection.ca_file = File.expand_path(File.join(File.dirname(__FILE__), "ca.pem"))
|
27
27
|
connection.verify_callback = proc { |preverify_ok, ssl_context| verify_ssl_certificate(preverify_ok, ssl_context) }
|
28
28
|
end
|
29
29
|
connection.start do |http|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sendhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 14
|
10
|
+
version: 0.1.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Taylor
|