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 +1 -1
- data/lib/client/cluster_api.rb +4 -2
- data/rbovirt.gemspec +8 -9
- metadata +41 -43
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
data/lib/client/cluster_api.rb
CHANGED
@@ -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
|
-
|
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 =
|
8
|
-
s.version = "0.0.
|
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 =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
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 =
|
49
|
+
s.homepage = "http://github.com/abenari/rbovirt"
|
50
50
|
s.licenses = ["MIT"]
|
51
51
|
s.require_paths = ["lib"]
|
52
|
-
s.rubygems_version =
|
53
|
-
s.summary =
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 7
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
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-
|
19
|
-
default_executable:
|
18
|
+
date: 2012-05-03 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
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
|
-
|
34
|
-
|
35
|
-
- !ruby/object:Gem::Dependency
|
31
|
+
version_requirements: *id001
|
32
|
+
name: nokogiri
|
36
33
|
prerelease: false
|
37
|
-
|
38
|
-
|
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
|
-
|
48
|
-
|
49
|
-
- !ruby/object:Gem::Dependency
|
45
|
+
version_requirements: *id002
|
46
|
+
name: rest-client
|
50
47
|
prerelease: false
|
51
|
-
|
52
|
-
|
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
|
-
|
62
|
-
|
63
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version_requirements: *id003
|
60
|
+
name: shoulda
|
64
61
|
prerelease: false
|
65
|
-
|
66
|
-
|
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
|
-
|
78
|
-
|
79
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version_requirements: *id004
|
76
|
+
name: bundler
|
80
77
|
prerelease: false
|
81
|
-
|
82
|
-
|
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
|
-
|
94
|
-
|
95
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *id005
|
92
|
+
name: jeweler
|
96
93
|
prerelease: false
|
97
|
-
|
98
|
-
|
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
|
-
|
108
|
-
|
109
|
-
- !ruby/object:Gem::Dependency
|
105
|
+
version_requirements: *id006
|
106
|
+
name: rcov
|
110
107
|
prerelease: false
|
111
|
-
|
112
|
-
|
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
|
-
|
123
|
-
|
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.
|
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
|