vsphere-automation-runtime 0.4.6 → 0.4.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a44dbe3086ebb8d36599b0926da7a93041e20afe0b05259c2192262c1c8d2176
|
4
|
+
data.tar.gz: 29b4329fa9e12c6a451a9ba9b0c18ae7a602325d4b48fe2f65c7c126e83d21a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c3eafd9e60935b0ba8f54f4a006b0c87915d1f2b42d36919c79cd574104d16b0d5b6432b5b7502fe5ec4c86837a8f7b8c63c74f96babdb6e7c1fb46abcdd036
|
7
|
+
data.tar.gz: 2cb2e9fb2439069c45a5d667e17de3a0182f38ba89e0ec9210c51033f448d0dd345144cf99407d0f206b939dc490869d80da9bc55588c713be0c0e7480ea6dc7
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
# runtime - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
7
|
|
8
|
-
|
8
|
+
require 'cgi'
|
9
9
|
require 'uri'
|
10
10
|
|
11
11
|
module VSphereAutomation
|
@@ -171,7 +171,11 @@ module VSphereAutomation
|
|
171
171
|
|
172
172
|
def base_url
|
173
173
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
174
|
-
|
174
|
+
if RUBY_VERSION.to_f < 2.7
|
175
|
+
URI.encode(url)
|
176
|
+
else
|
177
|
+
CGI.escapeHTML(url)
|
178
|
+
end
|
175
179
|
end
|
176
180
|
|
177
181
|
# Gets API key (with prefix if set).
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vsphere-automation-runtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- J.R. Garcia
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -125,7 +125,7 @@ homepage: https://github.com/vmware/vsphere-automation-sdk-ruby
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata: {}
|
128
|
-
post_install_message:
|
128
|
+
post_install_message:
|
129
129
|
rdoc_options: []
|
130
130
|
require_paths:
|
131
131
|
- lib
|
@@ -140,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
144
|
-
signing_key:
|
143
|
+
rubygems_version: 3.1.2
|
144
|
+
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: A Ruby SDK for the vSphere APIs (Runtime)
|
147
147
|
test_files: []
|