vmware_web_service 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: c50f9705793229e2bb90be9e9cd66eb3d5271add4c43c86ae1c768576d6de1da
4
- data.tar.gz: a7c0beba91d970bc794b5ce83936994d67ecd1e9c3e0f0615fb67bfdb3dae9ff
3
+ metadata.gz: 77fcee14b8adf4ff299e6f703078e3d2bbf62aba13be17e4a6253a010cae18f1
4
+ data.tar.gz: 86972a49c90161ae859753f7470e4e415b336e1178a554036aac0f24362588f2
5
5
  SHA512:
6
- metadata.gz: 64b5bb8532b651ddbb528127bc6590767d35762cbb35288e7c730a04c254a86170cdf93d0861d32aa82fbc403ee2c16990ceb9ff9a85b71fc0400e2df2feb7bb
7
- data.tar.gz: cf65edf6a8deab300e7868bb4a83b84443b723a36be3e4721a974e130109df7a3ff10f77f7db666f89431d9da7109dd5b4514d912fb6643c98f921db06d2c44a
6
+ metadata.gz: eb2c3b6c7e80fed7f4b5d2cc63d4556103ffd0a6b57442896b0edc262601de38e0ab394bf2d75b1a2bc7e67788f766d4864668d47ad1c1d3001bcd0395db135d
7
+ data.tar.gz: def519ee4ed00ad05cb3590f7decddbf90a5e8b408b3df34223685a27cb3387675120a210ae5c1e58135a6c1609bb022ad56428a816ef81df6f1190437a91962
@@ -366,7 +366,12 @@ class MiqVimInventory < MiqVimClientBase
366
366
  #
367
367
  # Hash snapshot info by create time.
368
368
  #
369
- ssMorHash[ssObj['createTime']] = ssObj
369
+ # VMware API strips trailing '0's from the fractional seconds
370
+ # which causes the string to not match what .iso8601(6) returns
371
+ #
372
+ # Example 12:12:59.123Z instead of 12:12:59.123000Z
373
+ create_time = Time.parse(ssObj['createTime']).iso8601(6)
374
+ ssMorHash[create_time] = ssObj
370
375
 
371
376
  #
372
377
  # Ensure childSnapshotList is always present and always an array,
@@ -1,3 +1,3 @@
1
1
  module VMwareWebService
2
- VERSION = '2.0.1'.freeze
2
+ VERSION = '2.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmware_web_service
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
  - ManageIQ Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-04 00:00:00.000000000 Z
11
+ date: 2020-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport