ibm_power_hmc 0.8.7 → 0.8.8

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: 16483135f26b1c5fd1783c55cb0d83f7e195562cda7f5859d5f1470432a1c8a9
4
- data.tar.gz: d41ef9a0875f0b0400d619e9586083a0bdb985b8f36cc90e9869c5063e31e3fa
3
+ metadata.gz: 3ac3d35b91cddabaaf7767cbdbbb91a975c68ecb2ff857db6c888af131f9d281
4
+ data.tar.gz: cfd224e53a20e2dd76672daa631f008fff3019ad363ecf270fe1c8b802bd6145
5
5
  SHA512:
6
- metadata.gz: 2c3aa1f9bd1e5c0994b82046fda92f5d31ef05b2f8d280f59820ad2b8ad986c5bb46e905d844e67caa5739ab3df413d822ae1f12b41777e1dcc2d265974e07f6
7
- data.tar.gz: 7948cc93b4835d3e421292345faaa5622d5fdea6123ff1e234f2e8345845b262c98fd5a0b8d4e1a88de28ac0b507b4a2c1a0824d5456a308e1296446596f4bb0
6
+ metadata.gz: b48e94a5e7208e40de8e488a6456e89c2e63151976cafa36b2e74d25b0f6d51bd40afcf0356c68079e9478db940ceb84b2350f3ee13399aad83e467dcd8c0e03
7
+ data.tar.gz: 53a6000d74d4dfef6dfe3d29aa949a7185108f281214d94020ac514d2843161469cf5f14024c2f2662be2b814e30ff33ab240a808052a7fae842181e8cfc059f
@@ -575,7 +575,11 @@ module IbmPowerHmc
575
575
  # Possible storage types are:
576
576
  # LogicalUnit, PhysicalVolume, VirtualDisk, VirtualOpticalMedia
577
577
  elem = xml.elements["Storage/*[1]"]
578
- Module.const_get("IbmPowerHmc::#{elem.name}").new(elem) unless elem.nil?
578
+ begin
579
+ Module.const_get("IbmPowerHmc::#{elem.name}").new(elem) unless elem.nil?
580
+ rescue
581
+ nil
582
+ end
579
583
  end
580
584
 
581
585
  def device
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IbmPowerHmc
4
- VERSION = "0.8.7"
4
+ VERSION = "0.8.8"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibm_power_hmc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.7
4
+ version: 0.8.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - IBM Power
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-03-07 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.1.4
87
+ rubygems_version: 3.0.3
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: IBM Power HMC Ruby gem.