rbvmomi 1.8.3 → 1.8.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: c0cb057d978ff7f963c2a62cd3f26a7ff21fa18131a503cc43df1be6967de5f7
4
- data.tar.gz: 430b2f11d4752e57ee59d96deebfc6386cdf2fefdb526fa64295e30da1861889
3
+ metadata.gz: 6c4e2b1babfdfd13992878364d9d12fd6ee2576f7921fa04a3f9ff0f9c9dab39
4
+ data.tar.gz: af16a4e5301b8ce60273fafcaef5be8bc295d77a2084462502e6c711802e94ea
5
5
  SHA512:
6
- metadata.gz: 9690c422bb19f32b5eb3179c9a6900792c5e9b51bc8115c8f5a36214485cb2b1a1308dee5785534ff145726d27a7714974f0cfc8a02e691d0bc6212f5231282b
7
- data.tar.gz: 5c07bf5d82edbb7f05dd21b3082b5bcfb04b873d40ddc2ebfc591fde5bb0dd7facbfa46e3ca4d30084dc6b11ca67726a6ed9dcde6b80712fcb806f90c0f750dd
6
+ metadata.gz: 7138e19594b7979f06b9fff018414ba6d23a89275017fe812b5774a01a827ec21412f5ee3b18c0aa7c74e582b8b2bc160ccb37d385e74a6fedc52e7de7d8198e
7
+ data.tar.gz: d2f513c90a8372074201d8ddeb768d5e98aa2a1250dcb9b33c52de1168aee6694f40f751e2224c007fd543fc4b17110adceb8b0d948ced0fc0d1bae3910246dd
data/Rakefile CHANGED
@@ -17,6 +17,7 @@ begin
17
17
  gem.required_ruby_version = '>= 1.8.7'
18
18
  gem.files.include 'vmodl.db'
19
19
  gem.files.include '.yardopts'
20
+ gem.version = '1.8.4'
20
21
  end
21
22
  rescue LoadError
22
23
  puts "Jeweler not available. Install it with: gem install jeweler"
@@ -1,3 +1,4 @@
1
+
1
2
  # Copyright (c) 2010 VMware, Inc. All Rights Reserved.
2
3
  require 'rubygems'
3
4
  require 'builder'
@@ -40,15 +41,14 @@ class RbVmomi::TrivialSoap
40
41
  require 'net/https'
41
42
  @http.use_ssl = true
42
43
  if @opts[:insecure]
43
- @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
44
+ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @opts[:insecure]
44
45
  else
45
- @http.verify_mode = OpenSSL::SSL::VERIFY_PEER
46
+ @http.cert_store = OpenSSL::X509::Store.new
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
50
+ @http.key = OpenSSL::PKey::RSA.new(@opts[:key]) if @opts[:key]
46
51
  end
47
- @http.cert_store = OpenSSL::X509::Store.new
48
- @http.cert_store.set_default_paths
49
- @http.cert = OpenSSL::X509::Certificate.new(@opts[:cert]) if @opts[:cert]
50
- @http.cert_store.add_cert(@http.cert)
51
- @http.key = OpenSSL::PKey::RSA.new(@opts[:key]) if @opts[:key]
52
52
  end
53
53
  @http.set_debug_output(STDERR) if $DEBUG
54
54
  @http.read_timeout = 1000000
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.3
4
+ version: 1.8.4
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-11-25 00:00:00.000000000 Z
12
+ date: 2019-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri