rbovirt 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rbovirt might be problematic. Click here for more details.

data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.20
1
+ 0.0.21
data/lib/ovirt/vm.rb CHANGED
@@ -119,6 +119,7 @@ module OVIRT
119
119
  :address => ((xml/'display/address').first.text rescue nil),
120
120
  :port => ((xml/'display/port').first.text rescue nil),
121
121
  :secure_port => ((xml/'display/secure_port').first.text rescue nil),
122
+ :subject => ((xml/'display/certificate/subject').first.text rescue nil),
122
123
  :monitors => (xml/'display/monitors').first.text
123
124
  }
124
125
  @cores = ((xml/'cpu/topology').first[:cores].to_i * (xml/'cpu/topology').first[:sockets].to_i rescue nil)
@@ -133,6 +134,7 @@ module OVIRT
133
134
  :type => (xml/'os').first[:type],
134
135
  :boot => (xml/'os/boot').collect {|boot| boot[:dev] }
135
136
  }
137
+ @quota = ((xml/'quota').first[:id] rescue nil)
136
138
  end
137
139
 
138
140
  end
data/lib/ovirt/volume.rb CHANGED
@@ -37,7 +37,8 @@ module OVIRT
37
37
  @sparse = (xml/'sparse').first.text
38
38
  @status = (xml/'status').first.text
39
39
  @vm = Link::new(@client, (xml/'vm').first[:id], (xml/'vm').first[:href]) rescue nil
40
+ @quota = ((xml/'quota').first[:id] rescue nil)
40
41
  end
41
42
 
42
43
  end
43
- end
44
+ end
data/rbovirt.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "rbovirt"
8
- s.version = "0.0.20"
8
+ s.version = "0.0.21"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Amos Benari"]
12
- s.date = "2013-05-21"
12
+ s.date = "2013-07-22"
13
13
  s.description = "A Ruby client for oVirt REST API"
14
14
  s.email = "abenari@redhat.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbovirt
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 20
10
- version: 0.0.20
9
+ - 21
10
+ version: 0.0.21
11
11
  platform: ruby
12
12
  authors:
13
13
  - Amos Benari
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-05-21 00:00:00 Z
18
+ date: 2013-07-22 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  prerelease: false