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
- self.http_process.use_ssl = is_ssl?
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)
@@ -1,3 +1,3 @@
1
1
  module LexisNexisApi
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
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: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
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-08-12 00:00:00 -04:00
18
+ date: 2013-11-04 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency