fog-kubevirt 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fog/compute/kubevirt/models/template.rb +7 -2
- data/lib/fog/kubevirt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b65d74062fb0f9340314202ab14a52c69a189982
|
4
|
+
data.tar.gz: 906dfdd1e950645873c3b1e60efbe82b0249f1a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 313419d7958e41aebfb58eee48c7c112d0952e83879af282e2aef789064c67c4ea9602c235a2fd509ac61d692064dd2a77a42d616e212278b32702a695c91820
|
7
|
+
data.tar.gz: 7381f9b3b41739b0ff6335a1a9a1003f8ef9478a0c4fc67ca45f425e6a7ba4d1e422261704cb2d1d61bb28a117e4ed669e4e6a66ec01d5854c0665d9bcc4d00a
|
@@ -184,9 +184,14 @@ module Fog
|
|
184
184
|
result = object
|
185
185
|
params.each_key do |name|
|
186
186
|
token = "${#{name.upcase}}"
|
187
|
-
|
187
|
+
os_token = "${{#{name.upcase}}}"
|
188
|
+
next unless (object.include?(token) || object.include?(os_token))
|
188
189
|
result = if params[name].kind_of?(String)
|
189
|
-
object.
|
190
|
+
if object.include?(os_token)
|
191
|
+
object.sub!(os_token, params[name])
|
192
|
+
else
|
193
|
+
object.sub!(token, params[name])
|
194
|
+
end
|
190
195
|
else
|
191
196
|
params[name]
|
192
197
|
end
|
data/lib/fog/kubevirt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-kubevirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Kliczewski
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-07-
|
14
|
+
date: 2018-07-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|