winrm 2.3.3 → 2.3.4

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: cdf412e1bbb113065e156e779d1537a4c066967e7e77ec2381cb19b1ebd7446e
4
- data.tar.gz: c37d236becf779ae79b4bf89bc6e83796da39d3a77350a68ebdf2a5c20f5957f
3
+ metadata.gz: a3fe57504656ba3f9273234cea67b48c19927af78611682b7a6ed6f037942260
4
+ data.tar.gz: 8d8d08b8a0af7b33543421a1745c955ebf2d4f54c925f94557c8fef1b93892f1
5
5
  SHA512:
6
- metadata.gz: b553b8e5795af270a8c3d625869780bcce24af3a2df48c1aabe912be1f512e86dbabcce6c082d8ca3eb08ecb5c1f2629f8fa96f1c300ea1ad9e26ff201e3ebec
7
- data.tar.gz: da51371955c3d4e49f4aa2d8698a4dd486ac1ef3673d4e73221b1a261c17e0a55268d4c644c5d7fc03a9462207aa3c352c10f9cc6f14e7d164b860573d1b2071
6
+ metadata.gz: dcc8a6e0743788294da51518d0c10888fbedeb48942438604f432a1213fdfee9ac5a8dca684560a2fe1ed6a52c8bb27cfec2312ec63dc1a9dcf766e5866deed9
7
+ data.tar.gz: d27d5a7fd49283cd340098305551972990368c23eaca0f21ebd3478dbc2c90e5d867cbcb640838a0b7721572264fc9d48367e00d7b1882f4de2a25934094ed1e
@@ -48,6 +48,8 @@ module WinRM
48
48
 
49
49
  def property_hash(prop_name)
50
50
  prop_nodes = REXML::XPath.first(doc, "//*[@N='#{prop_name}']/Props")
51
+ return {} if prop_nodes.nil?
52
+
51
53
  prop_nodes.elements.each_with_object({}) do |node, props|
52
54
  name = node.attributes['N']
53
55
  props[underscore(name).to_sym] = node.text if node.text
@@ -1,5 +1,5 @@
1
1
  # WinRM module
2
2
  module WinRM
3
3
  # The version of the WinRM library
4
- VERSION = '2.3.3'.freeze
4
+ VERSION = '2.3.4'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: winrm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.3
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Wanek
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-11-04 00:00:00.000000000 Z
14
+ date: 2019-12-26 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: builder