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: cdf3f0eb9c240759eb133a19cb34d2c8bba2c6d53eeb931736cf9d7a284e65f4
4
- data.tar.gz: 01ceeb6a893960c3c64580ebc3298acce41766e0f47db9f6f9ae0af2f1bc1523
3
+ metadata.gz: a44dbe3086ebb8d36599b0926da7a93041e20afe0b05259c2192262c1c8d2176
4
+ data.tar.gz: 29b4329fa9e12c6a451a9ba9b0c18ae7a602325d4b48fe2f65c7c126e83d21a5
5
5
  SHA512:
6
- metadata.gz: c9c8854a965387af1299bbbea0925a9d1fe602f72a428f8ec4ff02c78433a9c7c6b81c56a08d7c0e674b697680fcc07535a5e39d5f274f30125554ac5b4c43d6
7
- data.tar.gz: 2fe3b197cb5945f95bb2e377ebcce744b2bd580439ce32b305656ebfff29fd2931900c2bae6f60cc15d9cfce3050d9578cabd389668c13d381a7951e3193c4e1
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
- URI.encode(url)
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).
@@ -8,6 +8,6 @@
8
8
 
9
9
  module VSphereAutomation
10
10
  module Runtime
11
- VERSION = '0.4.6'
11
+ VERSION = '0.4.7'
12
12
  end
13
13
  end
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.6
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: 2019-10-29 00:00:00.000000000 Z
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.0.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: []