rbovirt 0.0.14 → 0.0.15

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.14
1
+ 0.0.15
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 = File.read('VERSION')
8
+ s.version = "0.0.15"
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 = "2012-05-03"
12
+ s.date = "2012-11-11"
13
13
  s.description = "A Ruby client for oVirt REST API"
14
14
  s.email = "abenari@redhat.com"
15
15
  s.extra_rdoc_files = [
@@ -41,12 +41,14 @@ Gem::Specification.new do |s|
41
41
  "lib/ovirt/volume.rb",
42
42
  "lib/rbovirt.rb",
43
43
  "rbovirt.gemspec",
44
+ "spec/endpoint.yml.example",
44
45
  "spec/integration/api_spec.rb",
45
46
  "spec/integration/vm_crud_spec.rb",
47
+ "spec/lib/endpoint.rb",
46
48
  "spec/spec_helper.rb",
47
49
  "spec/unit/vm_spec.rb"
48
50
  ]
49
- s.homepage = "http://github.com/abenari/rbovirt"
51
+ s.homepage = "http://github.com/rbovirt/rbovirt"
50
52
  s.licenses = ["MIT"]
51
53
  s.require_paths = ["lib"]
52
54
  s.rubygems_version = "1.8.24"
@@ -0,0 +1,5 @@
1
+
2
+ user: "admin@internal"
3
+ password: "secret"
4
+ hostname: "ovirt.example.com"
5
+ port: ""
@@ -23,7 +23,7 @@ describe "VM Life cycle" do
23
23
  end
24
24
 
25
25
  it "test_should_create_template" do
26
- template_name = "test_template"
26
+ template_name = "tmplt-"+Time.now.to_i.to_s
27
27
  template = @client.create_template(:vm => @vm.id, :name => template_name, :description => "test_template")
28
28
  template.class.to_s.should eql("OVIRT::Template")
29
29
  while !@client.vm(@vm.id).ready? do
@@ -0,0 +1,14 @@
1
+ module OVIRT::RSpec::Endpoint
2
+
3
+ def endpoint
4
+ file = File.expand_path("../endpoint.yml", File.dirname(__FILE__))
5
+ @endpoint ||= YAML.load(File.read(file))
6
+ user = @endpoint['user']
7
+ password= @endpoint['password']
8
+ hostname = @endpoint['hostname']
9
+ port = @endpoint['port']
10
+ url = "http://#{hostname}:#{port}/api"
11
+ return user, password, url
12
+ end
13
+
14
+ end
metadata CHANGED
@@ -1,136 +1,135 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rbovirt
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.14
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 15
10
+ version: 0.0.15
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Amos Benari
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-05-03 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: nokogiri
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
17
+
18
+ date: 2012-11-11 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
22
21
  type: :runtime
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ none: false
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ version_requirements: *id001
32
+ name: nokogiri
23
33
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
34
+ - !ruby/object:Gem::Dependency
35
+ type: :runtime
36
+ requirement: &id002 !ruby/object:Gem::Requirement
25
37
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ hash: 3
42
+ segments:
43
+ - 0
44
+ version: "0"
45
+ version_requirements: *id002
31
46
  name: rest-client
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :runtime
39
47
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
48
+ - !ruby/object:Gem::Dependency
49
+ type: :development
50
+ requirement: &id003 !ruby/object:Gem::Requirement
41
51
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ hash: 3
56
+ segments:
57
+ - 0
58
+ version: "0"
59
+ version_requirements: *id003
47
60
  name: shoulda
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
61
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
63
- name: bundler
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 1.0.0
62
+ - !ruby/object:Gem::Dependency
70
63
  type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
64
+ requirement: &id004 !ruby/object:Gem::Requirement
73
65
  none: false
74
- requirements:
66
+ requirements:
75
67
  - - ~>
76
- - !ruby/object:Gem::Version
68
+ - !ruby/object:Gem::Version
69
+ hash: 23
70
+ segments:
71
+ - 1
72
+ - 0
73
+ - 0
77
74
  version: 1.0.0
78
- - !ruby/object:Gem::Dependency
79
- name: jeweler
80
- requirement: !ruby/object:Gem::Requirement
75
+ version_requirements: *id004
76
+ name: bundler
77
+ prerelease: false
78
+ - !ruby/object:Gem::Dependency
79
+ type: :development
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
81
  none: false
82
- requirements:
82
+ requirements:
83
83
  - - ~>
84
- - !ruby/object:Gem::Version
84
+ - !ruby/object:Gem::Version
85
+ hash: 7
86
+ segments:
87
+ - 1
88
+ - 6
89
+ - 4
85
90
  version: 1.6.4
86
- type: :development
91
+ version_requirements: *id005
92
+ name: jeweler
87
93
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
94
+ - !ruby/object:Gem::Dependency
95
+ type: :development
96
+ requirement: &id006 !ruby/object:Gem::Requirement
89
97
  none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 1.6.4
94
- - !ruby/object:Gem::Dependency
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
105
+ version_requirements: *id006
95
106
  name: rcov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :development
103
107
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: rspec-rails
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '2.6'
108
+ - !ruby/object:Gem::Dependency
118
109
  type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
110
+ requirement: &id007 !ruby/object:Gem::Requirement
121
111
  none: false
122
- requirements:
112
+ requirements:
123
113
  - - ~>
124
- - !ruby/object:Gem::Version
125
- version: '2.6'
114
+ - !ruby/object:Gem::Version
115
+ hash: 15
116
+ segments:
117
+ - 2
118
+ - 6
119
+ version: "2.6"
120
+ version_requirements: *id007
121
+ name: rspec-rails
122
+ prerelease: false
126
123
  description: A Ruby client for oVirt REST API
127
124
  email: abenari@redhat.com
128
125
  executables: []
126
+
129
127
  extensions: []
130
- extra_rdoc_files:
128
+
129
+ extra_rdoc_files:
131
130
  - LICENSE.txt
132
131
  - README.rdoc
133
- files:
132
+ files:
134
133
  - .document
135
134
  - Gemfile
136
135
  - LICENSE.txt
@@ -155,33 +154,44 @@ files:
155
154
  - lib/ovirt/volume.rb
156
155
  - lib/rbovirt.rb
157
156
  - rbovirt.gemspec
157
+ - spec/endpoint.yml.example
158
158
  - spec/integration/api_spec.rb
159
159
  - spec/integration/vm_crud_spec.rb
160
+ - spec/lib/endpoint.rb
160
161
  - spec/spec_helper.rb
161
162
  - spec/unit/vm_spec.rb
162
- homepage: http://github.com/abenari/rbovirt
163
- licenses:
163
+ homepage: http://github.com/rbovirt/rbovirt
164
+ licenses:
164
165
  - MIT
165
166
  post_install_message:
166
167
  rdoc_options: []
167
- require_paths:
168
+
169
+ require_paths:
168
170
  - lib
169
- required_ruby_version: !ruby/object:Gem::Requirement
171
+ required_ruby_version: !ruby/object:Gem::Requirement
170
172
  none: false
171
- requirements:
172
- - - ! '>='
173
- - !ruby/object:Gem::Version
174
- version: '0'
175
- required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ hash: 3
177
+ segments:
178
+ - 0
179
+ version: "0"
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
176
181
  none: false
177
- requirements:
178
- - - ! '>='
179
- - !ruby/object:Gem::Version
180
- version: '0'
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ hash: 3
186
+ segments:
187
+ - 0
188
+ version: "0"
181
189
  requirements: []
190
+
182
191
  rubyforge_project:
183
- rubygems_version: 1.8.23
192
+ rubygems_version: 1.8.24
184
193
  signing_key:
185
194
  specification_version: 3
186
195
  summary: A Ruby client for oVirt REST API
187
196
  test_files: []
197
+