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 +4 -4
- data/Rakefile +1 -0
- data/lib/rbvmomi/trivial_soap.rb +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c4e2b1babfdfd13992878364d9d12fd6ee2576f7921fa04a3f9ff0f9c9dab39
|
4
|
+
data.tar.gz: af16a4e5301b8ce60273fafcaef5be8bc295d77a2084462502e6c711802e94ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7138e19594b7979f06b9fff018414ba6d23a89275017fe812b5774a01a827ec21412f5ee3b18c0aa7c74e582b8b2bc160ccb37d385e74a6fedc52e7de7d8198e
|
7
|
+
data.tar.gz: d2f513c90a8372074201d8ddeb768d5e98aa2a1250dcb9b33c52de1168aee6694f40f751e2224c007fd543fc4b17110adceb8b0d948ced0fc0d1bae3910246dd
|
data/Rakefile
CHANGED
data/lib/rbvmomi/trivial_soap.rb
CHANGED
@@ -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.
|
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.
|
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-
|
12
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|