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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c337ff2c2a840dbac40190eeb2f68142439c7ce
4
- data.tar.gz: d1cf9a63c550417736ccccb088b2a3eab636808b
3
+ metadata.gz: b65d74062fb0f9340314202ab14a52c69a189982
4
+ data.tar.gz: 906dfdd1e950645873c3b1e60efbe82b0249f1a8
5
5
  SHA512:
6
- metadata.gz: ad5568f12fd77a0301de97b524b3b427eb65c75bb5be393d238fd226c34b4014870236a09f985a707f4393b856d221e4b339cb33340756ae263c52bf1a06f120
7
- data.tar.gz: b2101735200e5f5f2f4c69e490ed886f49d43b4723bec949e68088dc439c452cf451113c33d8a304136fe834378f47040e8d5541c4fbec85600c2b73f006257b
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
- next unless object.include?(token)
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.sub!(token, params[name])
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
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Kubevirt
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
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.5
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-04 00:00:00.000000000 Z
14
+ date: 2018-07-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler