ovirt-engine-sdk 4.1.0.alpha3 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbf161873ec7fa66757455c270b09c3c7ff16fa6
4
- data.tar.gz: 8db4551dfbdc89280fdf1f5ba1c5f41df89eed51
3
+ metadata.gz: 6086640c7de7fbfc55f72c284abca793f76a709c
4
+ data.tar.gz: e48dc4e5af0bac46fc5d1f2a7dbb996f6861d353
5
5
  SHA512:
6
- metadata.gz: df0adf18550076ebdf65e40c6810223f8864022fed0b2fa30bec62210444f4ea298e9b00cb383ad194b10076757213b910717a6d9df2fa668c0dc643adae0bc0
7
- data.tar.gz: 2f0f413601dfc18cf729fee135d80f47fda0284093195d734e250b7512efbbfde7a8d65712483c42a59f7ba4ba975c3ddff2166959859627b0be522d616def60
6
+ metadata.gz: df404b85a4e8f0f9006812ee4992bfe876bdb5378e5cba09018fb97c05c59ab548e9f46f1c475f6304b0807071cb96f9f2ce3f151a5b5b2a7bf783312488d3b8
7
+ data.tar.gz: ee2fcbdcdb43e8ee11581b917fbe2028ae2fe03cd6ed0840b25ead8934e592d930565a954e6a1303fee3b240df33f0f3146a23f3579d8215aaa74eb0e8392677
data/CHANGES.adoc CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  This document describes the relevant changes between releases of the SDK.
4
4
 
5
+ == 4.1.0 / Jan 31 2017
6
+
7
+ This release is mostly identical to `4.1.0-alpha3`, the only difference
8
+ is that it fixes a test failure in Ruby 2.4.0, due to the unification of
9
+ integer types.
10
+
5
11
  == 4.1.0-alpha3 / Jan 27 2017
6
12
 
7
13
  Update to model 4.1.29:
@@ -121,7 +121,7 @@ module OvirtSDK4
121
121
  #
122
122
  # Converts the given text to a decimal value.
123
123
  #
124
- # @return [Fixnum]
124
+ # @return [Float]
125
125
  #
126
126
  def self.parse_decimal(text)
127
127
  return nil if text.nil?
@@ -136,7 +136,7 @@ module OvirtSDK4
136
136
  # Reads a decimal value, assuming that the cursor is positioned at the start element that contains the value.
137
137
  #
138
138
  # @param reader [XmlReader]
139
- # @return [Fixnum]
139
+ # @return [Float]
140
140
  #
141
141
  def self.read_decimal(reader)
142
142
  Reader.parse_decimal(reader.read_element)
@@ -147,7 +147,7 @@ module OvirtSDK4
147
147
  # values.
148
148
  #
149
149
  # @param reader [XmlReader]
150
- # @return [Array<Fixnum>]
150
+ # @return [Array<Float>]
151
151
  #
152
152
  def self.read_decimals(reader)
153
153
  reader.read_elements.map { |text| Reader.parse_decimal(text) }
@@ -2185,7 +2185,7 @@ module OvirtSDK4
2185
2185
  #
2186
2186
  # Returns the value of the `speed` attribute.
2187
2187
  #
2188
- # @return [Fixnum]
2188
+ # @return [Float]
2189
2189
  #
2190
2190
  def speed
2191
2191
  @speed
@@ -2194,7 +2194,7 @@ module OvirtSDK4
2194
2194
  #
2195
2195
  # Sets the value of the `speed` attribute.
2196
2196
  #
2197
- # @param value [Fixnum]
2197
+ # @param value [Float]
2198
2198
  #
2199
2199
  def speed=(value)
2200
2200
  @speed = value
@@ -2262,7 +2262,7 @@ module OvirtSDK4
2262
2262
  #
2263
2263
  # @option opts [String] :name The value of attribute `name`.
2264
2264
  #
2265
- # @option opts [Fixnum] :speed The value of attribute `speed`.
2265
+ # @option opts [Float] :speed The value of attribute `speed`.
2266
2266
  #
2267
2267
  # @option opts [CpuTopology, Hash] :topology The value of attribute `topology`.
2268
2268
  #
@@ -14966,7 +14966,7 @@ module OvirtSDK4
14966
14966
  #
14967
14967
  # Returns the value of the `memory_limit` attribute.
14968
14968
  #
14969
- # @return [Fixnum]
14969
+ # @return [Float]
14970
14970
  #
14971
14971
  def memory_limit
14972
14972
  @memory_limit
@@ -14975,7 +14975,7 @@ module OvirtSDK4
14975
14975
  #
14976
14976
  # Sets the value of the `memory_limit` attribute.
14977
14977
  #
14978
- # @param value [Fixnum]
14978
+ # @param value [Float]
14979
14979
  #
14980
14980
  def memory_limit=(value)
14981
14981
  @memory_limit = value
@@ -14984,7 +14984,7 @@ module OvirtSDK4
14984
14984
  #
14985
14985
  # Returns the value of the `memory_usage` attribute.
14986
14986
  #
14987
- # @return [Fixnum]
14987
+ # @return [Float]
14988
14988
  #
14989
14989
  def memory_usage
14990
14990
  @memory_usage
@@ -14993,7 +14993,7 @@ module OvirtSDK4
14993
14993
  #
14994
14994
  # Sets the value of the `memory_usage` attribute.
14995
14995
  #
14996
- # @param value [Fixnum]
14996
+ # @param value [Float]
14997
14997
  #
14998
14998
  def memory_usage=(value)
14999
14999
  @memory_usage = value
@@ -15093,9 +15093,9 @@ module OvirtSDK4
15093
15093
  #
15094
15094
  # @option opts [String] :id The value of attribute `id`.
15095
15095
  #
15096
- # @option opts [Fixnum] :memory_limit The value of attribute `memory_limit`.
15096
+ # @option opts [Float] :memory_limit The value of attribute `memory_limit`.
15097
15097
  #
15098
- # @option opts [Fixnum] :memory_usage The value of attribute `memory_usage`.
15098
+ # @option opts [Float] :memory_usage The value of attribute `memory_usage`.
15099
15099
  #
15100
15100
  # @option opts [String] :name The value of attribute `name`.
15101
15101
  #
@@ -15289,7 +15289,7 @@ module OvirtSDK4
15289
15289
  #
15290
15290
  # Returns the value of the `usage` attribute.
15291
15291
  #
15292
- # @return [Fixnum]
15292
+ # @return [Float]
15293
15293
  #
15294
15294
  def usage
15295
15295
  @usage
@@ -15298,7 +15298,7 @@ module OvirtSDK4
15298
15298
  #
15299
15299
  # Sets the value of the `usage` attribute.
15300
15300
  #
15301
- # @param value [Fixnum]
15301
+ # @param value [Float]
15302
15302
  #
15303
15303
  def usage=(value)
15304
15304
  @usage = value
@@ -15325,7 +15325,7 @@ module OvirtSDK4
15325
15325
  #
15326
15326
  # @option opts [StorageDomain, Hash] :storage_domain The value of attribute `storage_domain`.
15327
15327
  #
15328
- # @option opts [Fixnum] :usage The value of attribute `usage`.
15328
+ # @option opts [Float] :usage The value of attribute `usage`.
15329
15329
  #
15330
15330
  #
15331
15331
  def initialize(opts = {})
@@ -21563,7 +21563,7 @@ module OvirtSDK4
21563
21563
  #
21564
21564
  # Returns the value of the `datum` attribute.
21565
21565
  #
21566
- # @return [Fixnum]
21566
+ # @return [Float]
21567
21567
  #
21568
21568
  def datum
21569
21569
  @datum
@@ -21572,7 +21572,7 @@ module OvirtSDK4
21572
21572
  #
21573
21573
  # Sets the value of the `datum` attribute.
21574
21574
  #
21575
- # @param value [Fixnum]
21575
+ # @param value [Float]
21576
21576
  #
21577
21577
  def datum=(value)
21578
21578
  @datum = value
@@ -21603,7 +21603,7 @@ module OvirtSDK4
21603
21603
  # should be symbols corresponding to the names of the attributes. The values of the hash
21604
21604
  # should be the values of the attributes.
21605
21605
  #
21606
- # @option opts [Fixnum] :datum The value of attribute `datum`.
21606
+ # @option opts [Float] :datum The value of attribute `datum`.
21607
21607
  #
21608
21608
  # @option opts [String] :detail The value of attribute `detail`.
21609
21609
  #
@@ -16,5 +16,5 @@
16
16
 
17
17
 
18
18
  module OvirtSDK4
19
- VERSION = '4.1.0.alpha3'.freeze
19
+ VERSION = '4.1.0'.freeze
20
20
  end
@@ -78,7 +78,7 @@ module OvirtSDK4
78
78
  #
79
79
  # Converts the given decimal value to an string.
80
80
  #
81
- # @param value [Fixnum]
81
+ # @param value [Float]
82
82
  # @return [String]
83
83
  #
84
84
  def self.render_decimal(value)
@@ -90,7 +90,7 @@ module OvirtSDK4
90
90
  #
91
91
  # @param writer [XmlWriter]
92
92
  # @param name [String]
93
- # @param value [Fixnum]
93
+ # @param value [Float]
94
94
  #
95
95
  def self.write_decimal(writer, name, value)
96
96
  writer.write_element(name, Writer.render_decimal(value))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ovirt-engine-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0.alpha3
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Hernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -149,9 +149,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
149
  version: '2.0'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ">"
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 1.3.1
154
+ version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
157
  rubygems_version: 2.5.1