crv_api_client 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c563445f0c5b889da6747d2c4d7a68dd19d57ae52697fdade8e2c68a1583928
4
- data.tar.gz: d5b42fcbd5152d2a292612b80ae85893f5758f467daebfffae4de3536b1b97ec
3
+ metadata.gz: f05420d7bef2921f70c91f90cbbe34b56db1767e82cccc367930990359ffa00a
4
+ data.tar.gz: cdf61f10e8fc8070fa9fd91b73ec9234520283b03506bbfbd16847095e709ba3
5
5
  SHA512:
6
- metadata.gz: 6121950db853da3fc38cf024383a4442ca6ff17eeaf153de0d6399ceb19e90f88afe9069d208ac6264b1c0b8a74bbdcd23fce523f272e848bf24f910817498ce
7
- data.tar.gz: dab9942136865ea5f9fb0efea4bfaa4de2ec4925a34f0fb796ec293264421bc217d61a9d59f082d20881561eee94622e1d7c80a2a71a77f8586ceda93781cf92
6
+ metadata.gz: 76dc5e3362a744b0f45cee4fb5d60865384bf39e3404df2f0753c0698c44eb11f23de7e62545c243e4b0ccb51eb93c725966a3cb0bc854ff3be3629ed35cd56d
7
+ data.tar.gz: 5ccbcb8d42e60675af9098413aeb8078453061f332edf0179ccdf3a18199ee04c0170034a911f35e01e7d76efa06b3395f5987fae3715afa6caf07c7e7d5ffbf
@@ -72,10 +72,13 @@ module CrvApiClient
72
72
 
73
73
  def driver
74
74
  @driver ||= begin
75
+ cert_store = OpenSSL::X509::Store.new
76
+ cert_store.set_default_paths
77
+
75
78
  animal_soap_driver = CrvApiClient::Api::Animals::RsAnimalPortType.new(@endpoint_url)
76
79
  animal_soap_driver.options['protocol.http.connect_timeout'] = CrvApiClient.configuration.http_connect_timeout || 220
77
80
  animal_soap_driver.options['protocol.http.receive_timeout'] = CrvApiClient.configuration.http_receive_timeout || 220
78
- animal_soap_driver.options['protocol.http.ssl_config.verify_mode'] = nil
81
+ animal_soap_driver.options['protocol.http.ssl_config.cert_store'] = cert_store
79
82
  animal_soap_driver.wiredump_file_base = CrvApiClient.configuration.log_file
80
83
  animal_soap_driver
81
84
  end
@@ -75,10 +75,13 @@ module CrvApiClient
75
75
 
76
76
  def driver
77
77
  @driver ||= begin
78
+ cert_store = OpenSSL::X509::Store.new
79
+ cert_store.set_default_paths
80
+
78
81
  animal_soap_driver = CrvApiClient::Api::Reproduction::RsReproductionPortType.new(@endpoint_url)
79
82
  animal_soap_driver.options['protocol.http.connect_timeout'] = CrvApiClient.configuration.http_connect_timeout || 220
80
83
  animal_soap_driver.options['protocol.http.receive_timeout'] = CrvApiClient.configuration.http_receive_timeout || 220
81
- animal_soap_driver.options['protocol.http.ssl_config.verify_mode'] = nil
84
+ animal_soap_driver.options['protocol.http.ssl_config.cert_store'] = cert_store
82
85
  animal_soap_driver.wiredump_file_base = CrvApiClient.configuration.log_file
83
86
  animal_soap_driver
84
87
  end
@@ -1,3 +1,3 @@
1
1
  module CrvApiClient
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crv_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nedap