rbovirt 0.0.11 → 0.0.12

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.11
1
+ 0.0.12
@@ -9,8 +9,10 @@ module OVIRT
9
9
  headers = {:accept => "application/xml; detail=datacenters"}
10
10
  search= opts[:search] || ("datacenter=%s" % current_datacenter.name)
11
11
  http_get("/clusters?search=%s" % CGI.escape(search), headers).xpath('/clusters/cluster').collect do |cl|
12
- OVIRT::Cluster.new(self, cl)
13
- end
12
+ cluster = OVIRT::Cluster.new(self, cl)
13
+ #the following line is needed as a work-around a bug in RHEV 3.0 rest-api
14
+ cluster if cluster.datacenter.id == current_datacenter.id
15
+ end.compact
14
16
  end
15
17
 
16
18
  def cluster(cluster_id)
data/rbovirt.gemspec CHANGED
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{rbovirt}
8
- s.version = "0.0.11"
7
+ s.name = "rbovirt"
8
+ s.version = "0.0.12"
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 = %q{2012-04-16}
13
- s.description = %q{A Ruby client for oVirt REST API}
14
- s.email = %q{abenari@redhat.com}
12
+ s.date = "2012-05-03"
13
+ s.description = "A Ruby client for oVirt REST API"
14
+ s.email = "abenari@redhat.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -46,14 +46,13 @@ Gem::Specification.new do |s|
46
46
  "spec/spec_helper.rb",
47
47
  "spec/unit/vm_spec.rb"
48
48
  ]
49
- s.homepage = %q{http://github.com/abenari/rbovirt}
49
+ s.homepage = "http://github.com/abenari/rbovirt"
50
50
  s.licenses = ["MIT"]
51
51
  s.require_paths = ["lib"]
52
- s.rubygems_version = %q{1.3.7}
53
- s.summary = %q{A Ruby client for oVirt REST API}
52
+ s.rubygems_version = "1.8.24"
53
+ s.summary = "A Ruby client for oVirt REST API"
54
54
 
55
55
  if s.respond_to? :specification_version then
56
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
57
56
  s.specification_version = 3
58
57
 
59
58
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
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: 9
5
- prerelease: false
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Amos Benari
@@ -15,13 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-16 00:00:00 +03:00
19
- default_executable:
18
+ date: 2012-05-03 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- name: nokogiri
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
21
+ type: :runtime
22
+ requirement: &id001 !ruby/object:Gem::Requirement
25
23
  none: false
26
24
  requirements:
27
25
  - - ">="
@@ -30,12 +28,12 @@ dependencies:
30
28
  segments:
31
29
  - 0
32
30
  version: "0"
33
- requirement: *id001
34
- type: :runtime
35
- - !ruby/object:Gem::Dependency
31
+ version_requirements: *id001
32
+ name: nokogiri
36
33
  prerelease: false
37
- name: rest-client
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
34
+ - !ruby/object:Gem::Dependency
35
+ type: :runtime
36
+ requirement: &id002 !ruby/object:Gem::Requirement
39
37
  none: false
40
38
  requirements:
41
39
  - - ">="
@@ -44,12 +42,12 @@ dependencies:
44
42
  segments:
45
43
  - 0
46
44
  version: "0"
47
- requirement: *id002
48
- type: :runtime
49
- - !ruby/object:Gem::Dependency
45
+ version_requirements: *id002
46
+ name: rest-client
50
47
  prerelease: false
51
- name: shoulda
52
- version_requirements: &id003 !ruby/object:Gem::Requirement
48
+ - !ruby/object:Gem::Dependency
49
+ type: :development
50
+ requirement: &id003 !ruby/object:Gem::Requirement
53
51
  none: false
54
52
  requirements:
55
53
  - - ">="
@@ -58,12 +56,12 @@ dependencies:
58
56
  segments:
59
57
  - 0
60
58
  version: "0"
61
- requirement: *id003
62
- type: :development
63
- - !ruby/object:Gem::Dependency
59
+ version_requirements: *id003
60
+ name: shoulda
64
61
  prerelease: false
65
- name: bundler
66
- version_requirements: &id004 !ruby/object:Gem::Requirement
62
+ - !ruby/object:Gem::Dependency
63
+ type: :development
64
+ requirement: &id004 !ruby/object:Gem::Requirement
67
65
  none: false
68
66
  requirements:
69
67
  - - ~>
@@ -74,12 +72,12 @@ dependencies:
74
72
  - 0
75
73
  - 0
76
74
  version: 1.0.0
77
- requirement: *id004
78
- type: :development
79
- - !ruby/object:Gem::Dependency
75
+ version_requirements: *id004
76
+ name: bundler
80
77
  prerelease: false
81
- name: jeweler
82
- version_requirements: &id005 !ruby/object:Gem::Requirement
78
+ - !ruby/object:Gem::Dependency
79
+ type: :development
80
+ requirement: &id005 !ruby/object:Gem::Requirement
83
81
  none: false
84
82
  requirements:
85
83
  - - ~>
@@ -90,12 +88,12 @@ dependencies:
90
88
  - 6
91
89
  - 4
92
90
  version: 1.6.4
93
- requirement: *id005
94
- type: :development
95
- - !ruby/object:Gem::Dependency
91
+ version_requirements: *id005
92
+ name: jeweler
96
93
  prerelease: false
97
- name: rcov
98
- version_requirements: &id006 !ruby/object:Gem::Requirement
94
+ - !ruby/object:Gem::Dependency
95
+ type: :development
96
+ requirement: &id006 !ruby/object:Gem::Requirement
99
97
  none: false
100
98
  requirements:
101
99
  - - ">="
@@ -104,12 +102,12 @@ dependencies:
104
102
  segments:
105
103
  - 0
106
104
  version: "0"
107
- requirement: *id006
108
- type: :development
109
- - !ruby/object:Gem::Dependency
105
+ version_requirements: *id006
106
+ name: rcov
110
107
  prerelease: false
111
- name: rspec-rails
112
- version_requirements: &id007 !ruby/object:Gem::Requirement
108
+ - !ruby/object:Gem::Dependency
109
+ type: :development
110
+ requirement: &id007 !ruby/object:Gem::Requirement
113
111
  none: false
114
112
  requirements:
115
113
  - - ~>
@@ -119,8 +117,9 @@ dependencies:
119
117
  - 2
120
118
  - 6
121
119
  version: "2.6"
122
- requirement: *id007
123
- type: :development
120
+ version_requirements: *id007
121
+ name: rspec-rails
122
+ prerelease: false
124
123
  description: A Ruby client for oVirt REST API
125
124
  email: abenari@redhat.com
126
125
  executables: []
@@ -159,7 +158,6 @@ files:
159
158
  - spec/integration/vm_crud_spec.rb
160
159
  - spec/spec_helper.rb
161
160
  - spec/unit/vm_spec.rb
162
- has_rdoc: true
163
161
  homepage: http://github.com/abenari/rbovirt
164
162
  licenses:
165
163
  - MIT
@@ -189,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
187
  requirements: []
190
188
 
191
189
  rubyforge_project:
192
- rubygems_version: 1.3.7
190
+ rubygems_version: 1.8.24
193
191
  signing_key:
194
192
  specification_version: 3
195
193
  summary: A Ruby client for oVirt REST API