fog-ovirt 2.0.1 → 2.0.2

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: 4cbc3f253a473c063a6f22507ecab2acb156f3be60d256184c7b2d024f4345f7
4
- data.tar.gz: e7bccecc60f21d95f398fb99c8818c92c118d448b5d35da5ffb626eb7b67c14b
3
+ metadata.gz: 4823155b520813d343004cc89023ce9fd5aafc124e6cdce4a75ea04986977645
4
+ data.tar.gz: dbcfa93d8371eef22b8f638fb765bd9bd5996370d4538b51722bc7226201d462
5
5
  SHA512:
6
- metadata.gz: 994e7f0826dde7c4fff25941e25065b098e3877493d5457a92edee03b7c951c993c4e4237a567b8e3c7c9091ededb0246c1b93ef363964b64e82dcf7ae22beb2
7
- data.tar.gz: 0a8f71fd767765a45aff2524f2a4ea5467b84e6e66b7e7d8bf7efafa7a26ef87e05b9387d32823456efff68defba06203db36f58419705e23eb9581cc291566d
6
+ metadata.gz: 8aa5dd0e6bd07d9b8545689d00e8720cebcd1aa0867171b67539dbfb067e3c1a18711bc86fe5dcae2a8b66f9e38bd2dd2be8306577684f34c0d7516783bcf5a1
7
+ data.tar.gz: f9db399c50da5e33b31aa92156f0d934804ba972512559000b3a6c59797e9e9955038d1ee9529ebe61b8cd50de768bc2be4292f037717e6144dcf7df246acbdd
@@ -9,7 +9,7 @@ module Fog
9
9
  vm_service = client.system_service.vms_service.vm_service(attrs[:id])
10
10
 
11
11
  if attrs[:cores].present?
12
- cpu_topology = OvirtSDK4::CpuTopology.new(:cores => attrs[:cores], :sockets => "1")
12
+ cpu_topology = OvirtSDK4::CpuTopology.new(:cores => attrs[:cores], :sockets => attrs[:sockets] || 1)
13
13
  attrs[:cpu] = OvirtSDK4::Cpu.new(:topology => cpu_topology)
14
14
  end
15
15
  wrap_attribute(attrs, :cluster, OvirtSDK4::Cluster)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Ovirt
3
- VERSION = "2.0.1".freeze
3
+ VERSION = "2.0.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-ovirt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ori Rabin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-20 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -275,7 +275,7 @@ homepage: https://github.com/fog/fog-ovirt
275
275
  licenses:
276
276
  - MIT
277
277
  metadata: {}
278
- post_install_message:
278
+ post_install_message:
279
279
  rdoc_options: []
280
280
  require_paths:
281
281
  - lib
@@ -290,8 +290,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
290
  - !ruby/object:Gem::Version
291
291
  version: '0'
292
292
  requirements: []
293
- rubygems_version: 3.0.8
294
- signing_key:
293
+ rubygems_version: 3.1.6
294
+ signing_key:
295
295
  specification_version: 4
296
296
  summary: Module for the 'fog' gem to support Ovirt.
297
297
  test_files: