rbvmomi 2.2.0 → 2.3.0.beta1

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: e2c9c6bec8fc150387730e85d921c5e605508e86d13c4fbf439e53a32bc48b1b
4
- data.tar.gz: 86eb6eafe9ac93c18318ef2f7cc03090e0322e86f80bf21845222e5706f32673
3
+ metadata.gz: 259d96ce6fa1775e4634b524880c46c1afc75b43172792a3dd4e2df36e42d8c4
4
+ data.tar.gz: d0f484b65180f24acec2d1c7ff24a22e5b31c6e4055d71813382e6af8ebc0760
5
5
  SHA512:
6
- metadata.gz: 646abbb727bca29b48022672e32c5d3b0dc0404cff1f6f921bebf4a28559623d6165516d8a9e704d83e59d8ffb74e60c19b2e20e8fd007112558a49982a395e6
7
- data.tar.gz: ca58ea6772f8fb67ef5f62bf04482879873ff2389694e53f435e559bbe34d8bd58ea1d02c52cbf3fd880fbd5c25f730c7766b8ab01d8b1e801f8f1276b38e987
6
+ metadata.gz: 210f7d8387db63576cb1a0e5983490358f9e637525b03488838ed28e903797370a22b4707261ba6cd710ecb84d8f60a849e7b3cd62ff1e70cf5bf3d797a64663
7
+ data.tar.gz: 239677d174c137857d3174e3e667748b3508ad401724836b5f2a7500668e6ce78957399c424711224ce4d7c4071f19d318d5529cd0ffcdaa5bdacb910fcd06bd
@@ -43,11 +43,8 @@ class RbVmomi::TrivialSoap
43
43
  if @opts[:ssl]
44
44
  require 'net/https'
45
45
  @http.use_ssl = true
46
- if @opts[:insecure]
47
- @http.verify_mode = OpenSSL::SSL::VERIFY_NONE
48
- else
49
- @http.verify_mode = OpenSSL::SSL::VERIFY_PEER
50
- end
46
+ @http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @opts[:insecure]
47
+ @http.ca_file = @opts[:ca_file] if @opts[:ca_file]
51
48
  @http.cert = OpenSSL::X509::Certificate.new(@opts[:cert]) if @opts[:cert]
52
49
  @http.key = OpenSSL::PKey::RSA.new(@opts[:key]) if @opts[:key]
53
50
  end
@@ -2,5 +2,5 @@
2
2
  # SPDX-License-Identifier: MIT
3
3
 
4
4
  module RbVmomi
5
- VERSION = '2.2.0'.freeze
5
+ VERSION = '2.3.0.beta1'.freeze
6
6
  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: 2.2.0
4
+ version: 2.3.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-06-13 00:00:00.000000000 Z
12
+ date: 2019-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder
@@ -188,9 +188,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: 1.8.7
189
189
  required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  requirements:
191
- - - ">="
191
+ - - ">"
192
192
  - !ruby/object:Gem::Version
193
- version: '0'
193
+ version: 1.3.1
194
194
  requirements: []
195
195
  rubygems_version: 3.0.3
196
196
  signing_key: