lexis_nexis_api 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -95,7 +95,12 @@ module LexisNexisApi
|
|
95
95
|
|
96
96
|
def send_request
|
97
97
|
self.http_process = Net::HTTP.new( host_from_url, port_from_url, self.proxy, self.proxy_port )
|
98
|
-
|
98
|
+
|
99
|
+
if is_ssl?
|
100
|
+
self.http_process.ca_file = File.join(File.dirname(__FILE__), "ssl_certs", "ca-bundle.crt")
|
101
|
+
self.http_process.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
102
|
+
self.http_process.use_ssl = true
|
103
|
+
end
|
99
104
|
|
100
105
|
http_process.start
|
101
106
|
resp = http_process.post(self.url, self.body, self.headers)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lexis_nexis_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 6
|
10
|
+
version: 1.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jeff Emminger
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-11-04 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|