rbvmomi 1.8.4 → 1.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbvmomi/trivial_soap.rb +2 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c4e2b1babfdfd13992878364d9d12fd6ee2576f7921fa04a3f9ff0f9c9dab39
4
- data.tar.gz: af16a4e5301b8ce60273fafcaef5be8bc295d77a2084462502e6c711802e94ea
3
+ metadata.gz: 2971a40037e23e51c5253e553138edc469253ee05747d9761f5c158bd34c5feb
4
+ data.tar.gz: 24742f39140e8d8d961c6ed5248b3d86c2658795ddd7819b3ca868970c7a6461
5
5
  SHA512:
6
- metadata.gz: 7138e19594b7979f06b9fff018414ba6d23a89275017fe812b5774a01a827ec21412f5ee3b18c0aa7c74e582b8b2bc160ccb37d385e74a6fedc52e7de7d8198e
7
- data.tar.gz: d2f513c90a8372074201d8ddeb768d5e98aa2a1250dcb9b33c52de1168aee6694f40f751e2224c007fd543fc4b17110adceb8b0d948ced0fc0d1bae3910246dd
6
+ metadata.gz: c98371ab294a9ccc14ac0b570950eebb0415b821ad85684931ee731837cb7ab176163bc8409f72212cab9577bf0c47846287435fe9db2114bafae1cc91654070
7
+ data.tar.gz: d86ae7c8c6cd4ae0cf359c420f8f9cf7df0e069861cccacdd5a18fc3bf3b21bf1ffcd41ca67a5c2ca18f6dc4a2ced6b7cf333e72e704bc43865311222550f3af
@@ -41,12 +41,11 @@ class RbVmomi::TrivialSoap
41
41
  require 'net/https'
42
42
  @http.use_ssl = true
43
43
  if @opts[:insecure]
44
- @http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @opts[:insecure]
44
+ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
45
45
  else
46
46
  @http.cert_store = OpenSSL::X509::Store.new
47
47
  @http.cert_store.set_default_paths
48
- @http.cert = OpenSSL::X509::Certificate.new(@opts[:cert]) if @opts[:cert]
49
- @http.cert_store.add_cert(@http.cert) if @http.cert
48
+ @http.cert_store.add_file(@opts[:cert]) if @opts[:cert]
50
49
  @http.key = OpenSSL::PKey::RSA.new(@opts[:key]) if @opts[:key]
51
50
  end
52
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbvmomi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-04 00:00:00.000000000 Z
12
+ date: 2020-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri