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 +4 -4
- data/lib/ibm_power_hmc/parser.rb +5 -1
- data/lib/ibm_power_hmc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ac3d35b91cddabaaf7767cbdbbb91a975c68ecb2ff857db6c888af131f9d281
|
4
|
+
data.tar.gz: cfd224e53a20e2dd76672daa631f008fff3019ad363ecf270fe1c8b802bd6145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48e94a5e7208e40de8e488a6456e89c2e63151976cafa36b2e74d25b0f6d51bd40afcf0356c68079e9478db940ceb84b2350f3ee13399aad83e467dcd8c0e03
|
7
|
+
data.tar.gz: 53a6000d74d4dfef6dfe3d29aa949a7185108f281214d94020ac514d2843161469cf5f14024c2f2662be2b814e30ff33ab240a808052a7fae842181e8cfc059f
|
data/lib/ibm_power_hmc/parser.rb
CHANGED
@@ -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
|
-
|
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
|
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.
|
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-
|
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.
|
87
|
+
rubygems_version: 3.0.3
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: IBM Power HMC Ruby gem.
|