fog-hyperv 0.0.4 → 0.0.5

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
  SHA1:
3
- metadata.gz: 7d1f016acb31e48e1b25113f74c059dcd1d76eb2
4
- data.tar.gz: a9fa8894c68b1520b9e244c92dee0fc0e2e899cc
3
+ metadata.gz: d413da26ba431799ba2942c0ed4581a7f60f4f40
4
+ data.tar.gz: c6157dfc48592586f7eb9d18a84aea7ddb99d564
5
5
  SHA512:
6
- metadata.gz: ed4973a3d9d1c34e0c5e5374f5048f7d6f9a9f41b16084e9799061cc25109458599a498b98b2e37e7070b2e9f496100bf052297c8c146dcbda361fd2ed0d14b5
7
- data.tar.gz: 2ef22b03209489609a1ac1190e530c2b5dd9a88f8f7838617987a38fca2d1f365763ff3f9fa9443bc170ca6ce700f71d20cb0f33a88d3807834945da12298bc5
6
+ metadata.gz: 9534704bde262413503cbecf96604962b9656fe0d273219b5168cfa998c7596f8fa9104c9a504c8be7f7062831cce9e1aee1a0f001aa3dc12356187116823506
7
+ data.tar.gz: f3b7e93e5cb2d48af3d0de82e42952fe295aa02c7a6fb9c03d2b3658b133989b9a63638d5c419baa1660a009a9c4abae06314d80f00850835bcd7d3da029f89e
@@ -1,3 +1,7 @@
1
+ ## v0.0.5 2017-11-14
2
+
3
+ - Remove lefover debugging outputs
4
+
1
5
  ## v0.0.4 2017-11-14
2
6
 
3
7
  - Adds support for the Kerberos transport
@@ -76,6 +76,8 @@ module Fog
76
76
  to_add = {}
77
77
  to_add[:cluster] = cluster if cluster
78
78
  to_add[:computer] = computer if computer
79
+ to_add[:computer_name] = computer.name if computer
80
+
79
81
  super.merge(to_add)
80
82
  end
81
83
 
@@ -25,10 +25,8 @@ module Fog
25
25
  # FIXME: Prepare a key comparison array in advance
26
26
  if new_#{name}.is_a?(Fixnum)
27
27
  if _values.class.to_s == 'Array' # TODO: Better way to do class comparison in generated code
28
- puts "\#{_values} (\#{_values.class}) Is array"
29
28
  raise Fog::Hyperv::Errors::ServiceError, "\#{new_#{name}} is not in the range (0..\#{_values.length - 1})" unless new_#{name} >= 0 && new_#{name} < _values.length
30
29
  else
31
- puts "\#{_values} (\#{_values.class}) Is not array"
32
30
  raise Fog::Hyperv::Errors::ServiceError, "\#{new_#{name}} is not one of \#{_values.is_a?(Hash) ? _values.keys : _values})" unless (_values.is_a?(Hash) ? _values.keys : _values).include? new_#{name}
33
31
  end
34
32
 
@@ -36,7 +34,6 @@ module Fog
36
34
  elsif new_#{name}.nil?
37
35
  attributes[:#{name}] = nil
38
36
  else
39
- puts "Is string"
40
37
  new_#{name} = new_#{name}.to_s.to_sym unless new_#{name}.is_a? String
41
38
  raise Fog::Hyperv::Errors::ServiceError, "\#{new_#{name}} is not one of \#{_values.is_a?(Hash) ? _values.keys : _values})" unless (_values.is_a?(Hash) ? _values.keys : _values).include? new_#{name}
42
39
  attributes[:#{name}] = new_#{name}
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Hyperv
3
- VERSION = '0.0.4'.freeze
3
+ VERSION = '0.0.5'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-hyperv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Olofsson