fog-ovirt 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fog-ovirt.gemspec +6 -6
- data/lib/fog/ovirt/compute.rb +0 -2
- data/lib/fog/ovirt/version.rb +1 -1
- data/lib/fog/ovirt.rb +30 -1
- metadata +27 -28
- data/lib/fog/ovirt/core.rb +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b94675a38a2f78d4700f9c3a58ff1ee8a4c3e6a
|
4
|
+
data.tar.gz: 6869fa8820faaffbcbd1c512de48ff507c8dd206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a5ee7eeb4f70938d3d9e7573bb73a9508d437bd212fb35cbc79e0a67e1c1d754ff0e6ee3beec06c51c1a12576374683a0797b56f65a0d241634217266ad393f
|
7
|
+
data.tar.gz: 44655837e13b3fffb191eddee238f160d6809ed95cba4e8205561a423610349a4e5aa1fa249b7ca40f62808f09caf079897821273975464925548290e0a9eccc
|
data/fog-ovirt.gemspec
CHANGED
@@ -20,15 +20,15 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_dependency("fog-core"
|
23
|
+
spec.add_dependency("fog-core")
|
24
24
|
spec.add_dependency("fog-json")
|
25
|
-
spec.add_dependency("fog-xml"
|
25
|
+
spec.add_dependency("fog-xml")
|
26
26
|
spec.add_dependency("ovirt-engine-sdk", ">= 4.1.3")
|
27
27
|
spec.add_dependency("rbovirt", "~> 0.1.5")
|
28
28
|
|
29
|
-
spec.add_development_dependency "bundler"
|
30
|
-
spec.add_development_dependency "pry"
|
31
|
-
spec.add_development_dependency "rake"
|
29
|
+
spec.add_development_dependency "bundler"
|
30
|
+
spec.add_development_dependency "pry"
|
31
|
+
spec.add_development_dependency "rake"
|
32
32
|
spec.add_development_dependency "rubocop", "~> 0.52"
|
33
|
-
spec.add_development_dependency "shindo"
|
33
|
+
spec.add_development_dependency "shindo"
|
34
34
|
end
|
data/lib/fog/ovirt/compute.rb
CHANGED
data/lib/fog/ovirt/version.rb
CHANGED
data/lib/fog/ovirt.rb
CHANGED
@@ -1 +1,30 @@
|
|
1
|
-
require "fog/
|
1
|
+
require "fog/core"
|
2
|
+
require "fog/xml"
|
3
|
+
|
4
|
+
module Fog
|
5
|
+
module Compute
|
6
|
+
autoload :Ovirt, File.expand_path('../ovirt/compute', __FILE__)
|
7
|
+
end
|
8
|
+
|
9
|
+
module Ovirt
|
10
|
+
extend Fog::Provider
|
11
|
+
|
12
|
+
module Errors
|
13
|
+
class ServiceError < Fog::Errors::Error; end
|
14
|
+
class SecurityError < ServiceError; end
|
15
|
+
class NotFound < ServiceError; end
|
16
|
+
class OvirtError < Fog::Errors::Error; end
|
17
|
+
|
18
|
+
class OvirtEngineError < OvirtError
|
19
|
+
attr_reader :orig_exception
|
20
|
+
|
21
|
+
def initialize(exception)
|
22
|
+
@orig_exception = exception
|
23
|
+
super("Ovirt client returned an error: #{@orig_exception.message}")
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
service(:compute, "Compute")
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-ovirt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ori Rabin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fog-json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: fog-xml
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ovirt-engine-sdk
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,44 +84,44 @@ dependencies:
|
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: pry
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0
|
103
|
+
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0
|
110
|
+
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rake
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,16 +140,16 @@ dependencies:
|
|
140
140
|
name: shindo
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0
|
145
|
+
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0
|
152
|
+
version: '0'
|
153
153
|
description: This library can be used as a module for `fog`.
|
154
154
|
email:
|
155
155
|
- orabin@redhat.com
|
@@ -173,7 +173,6 @@ files:
|
|
173
173
|
- lib/fog/ovirt/compute.rb
|
174
174
|
- lib/fog/ovirt/compute/v3.rb
|
175
175
|
- lib/fog/ovirt/compute/v4.rb
|
176
|
-
- lib/fog/ovirt/core.rb
|
177
176
|
- lib/fog/ovirt/models/compute/affinity_group.rb
|
178
177
|
- lib/fog/ovirt/models/compute/affinity_groups.rb
|
179
178
|
- lib/fog/ovirt/models/compute/cluster.rb
|
@@ -353,7 +352,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
352
|
version: '0'
|
354
353
|
requirements: []
|
355
354
|
rubyforge_project:
|
356
|
-
rubygems_version: 2.6.
|
355
|
+
rubygems_version: 2.6.12
|
357
356
|
signing_key:
|
358
357
|
specification_version: 4
|
359
358
|
summary: Module for the 'fog' gem to support Ovirt.
|
data/lib/fog/ovirt/core.rb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
require "fog/core"
|
2
|
-
require "fog/xml"
|
3
|
-
|
4
|
-
module Fog
|
5
|
-
module Ovirt
|
6
|
-
extend Fog::Provider
|
7
|
-
|
8
|
-
module Errors
|
9
|
-
class ServiceError < Fog::Errors::Error; end
|
10
|
-
class SecurityError < ServiceError; end
|
11
|
-
class NotFound < ServiceError; end
|
12
|
-
class OvirtError < Fog::Errors::Error; end
|
13
|
-
|
14
|
-
class OvirtEngineError < OvirtError
|
15
|
-
attr_reader :orig_exception
|
16
|
-
|
17
|
-
def initialize(exception)
|
18
|
-
@orig_exception = exception
|
19
|
-
super("Ovirt client returned an error: #{@orig_exception.message}")
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
service(:compute, "Compute")
|
25
|
-
end
|
26
|
-
end
|