fog-brightbox 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/fog/brightbox.rb +38 -3
- data/lib/fog/brightbox/compute.rb +0 -6
- data/lib/fog/brightbox/compute/shared.rb +0 -2
- data/lib/fog/brightbox/config.rb +0 -2
- data/lib/fog/brightbox/model.rb +0 -3
- data/lib/fog/brightbox/models/compute/account.rb +0 -2
- data/lib/fog/brightbox/models/compute/accounts.rb +0 -1
- data/lib/fog/brightbox/models/compute/api_client.rb +0 -2
- data/lib/fog/brightbox/models/compute/api_clients.rb +0 -1
- data/lib/fog/brightbox/models/compute/application.rb +0 -2
- data/lib/fog/brightbox/models/compute/applications.rb +0 -1
- data/lib/fog/brightbox/models/compute/cloud_ip.rb +1 -2
- data/lib/fog/brightbox/models/compute/cloud_ips.rb +0 -1
- data/lib/fog/brightbox/models/compute/collaboration.rb +0 -2
- data/lib/fog/brightbox/models/compute/collaborations.rb +0 -1
- data/lib/fog/brightbox/models/compute/database_server.rb +0 -3
- data/lib/fog/brightbox/models/compute/database_servers.rb +0 -1
- data/lib/fog/brightbox/models/compute/database_snapshot.rb +0 -1
- data/lib/fog/brightbox/models/compute/database_snapshots.rb +0 -1
- data/lib/fog/brightbox/models/compute/database_type.rb +0 -2
- data/lib/fog/brightbox/models/compute/database_types.rb +0 -1
- data/lib/fog/brightbox/models/compute/event.rb +0 -2
- data/lib/fog/brightbox/models/compute/events.rb +0 -1
- data/lib/fog/brightbox/models/compute/firewall_policies.rb +0 -1
- data/lib/fog/brightbox/models/compute/firewall_policy.rb +0 -2
- data/lib/fog/brightbox/models/compute/firewall_rule.rb +0 -2
- data/lib/fog/brightbox/models/compute/firewall_rules.rb +0 -1
- data/lib/fog/brightbox/models/compute/flavor.rb +0 -2
- data/lib/fog/brightbox/models/compute/flavors.rb +0 -1
- data/lib/fog/brightbox/models/compute/image.rb +0 -3
- data/lib/fog/brightbox/models/compute/images.rb +0 -1
- data/lib/fog/brightbox/models/compute/load_balancer.rb +0 -3
- data/lib/fog/brightbox/models/compute/load_balancers.rb +0 -1
- data/lib/fog/brightbox/models/compute/server.rb +0 -2
- data/lib/fog/brightbox/models/compute/server_group.rb +0 -2
- data/lib/fog/brightbox/models/compute/server_groups.rb +0 -1
- data/lib/fog/brightbox/models/compute/servers.rb +0 -1
- data/lib/fog/brightbox/models/compute/user.rb +0 -2
- data/lib/fog/brightbox/models/compute/user_collaboration.rb +0 -2
- data/lib/fog/brightbox/models/compute/user_collaborations.rb +0 -1
- data/lib/fog/brightbox/models/compute/users.rb +0 -1
- data/lib/fog/brightbox/models/compute/zone.rb +0 -2
- data/lib/fog/brightbox/models/compute/zones.rb +0 -1
- data/lib/fog/brightbox/models/storage/directories.rb +0 -1
- data/lib/fog/brightbox/models/storage/directory.rb +0 -1
- data/lib/fog/brightbox/models/storage/file.rb +0 -2
- data/lib/fog/brightbox/models/storage/files.rb +0 -1
- data/lib/fog/brightbox/storage.rb +0 -6
- data/lib/fog/brightbox/storage/{errors.rb → authentication_required.rb} +0 -3
- data/lib/fog/brightbox/storage/connection.rb +0 -3
- data/lib/fog/brightbox/storage/management_url_unknown.rb +8 -0
- data/lib/fog/brightbox/version.rb +1 -1
- metadata +4 -4
- data/lib/fog/brightbox/core.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc26a1e84e598ef68b0b5fbcabd7b03057c2cd50
|
4
|
+
data.tar.gz: 48e03f4c51600c6d7c367f6291bce1846a9fb5ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34a67830a5a9b119e26755269691e10a55f0374c92c29a995faee18ef5662d2169a77142ef87c0b37dec5de2dbebd23146c93401449f63ff107f45666739431b
|
7
|
+
data.tar.gz: 6d89c9acdcb2c431b661179bf5aa383116cfbc6e60ba9644afc1cba55b8e98c3592a2f8b7e27ee9b0ad1fa39a6010f66009e028ce1859b2ec1462b2ad4104934
|
data/CHANGELOG.md
CHANGED
data/lib/fog/brightbox.rb
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
require "fog/core"
|
2
|
+
require "fog/json"
|
3
|
+
|
1
4
|
# See the main fog gem for more details about the top level class {Fog}
|
2
5
|
#
|
3
6
|
# @see https://github.com/fog/fog
|
@@ -5,7 +8,39 @@
|
|
5
8
|
# @see http://rubydoc.info/gems/fog
|
6
9
|
#
|
7
10
|
module Fog
|
8
|
-
|
11
|
+
module Brightbox
|
12
|
+
extend Fog::Provider
|
13
|
+
|
14
|
+
service(:compute, "Compute")
|
15
|
+
service(:storage, "Storage")
|
16
|
+
|
17
|
+
module Compute
|
18
|
+
autoload :Config, File.expand_path("../brightbox/compute/config", __FILE__)
|
19
|
+
autoload :ImageSelector, File.expand_path("../brightbox/compute/image_selector", __FILE__)
|
20
|
+
autoload :ResourceLocking, File.expand_path("../brightbox/compute/resource_locking", __FILE__)
|
21
|
+
autoload :Shared, File.expand_path("../brightbox/compute/shared", __FILE__)
|
22
|
+
end
|
9
23
|
|
10
|
-
|
11
|
-
|
24
|
+
module Storage
|
25
|
+
autoload :AuthenticationRequest, File.expand_path("../brightbox/storage/authentication_request", __FILE__)
|
26
|
+
autoload :AuthenticationRequired, File.expand_path("../brightbox/storage/authentication_required", __FILE__)
|
27
|
+
autoload :Connection, File.expand_path("../brightbox/storage/connection", __FILE__)
|
28
|
+
autoload :Config, File.expand_path("../brightbox/storage/config", __FILE__)
|
29
|
+
autoload :ManagementUrlUnknown, File.expand_path("../brightbox/storage/management_url_unknown", __FILE__)
|
30
|
+
end
|
31
|
+
|
32
|
+
autoload :Config, File.expand_path("../brightbox/config", __FILE__)
|
33
|
+
autoload :LinkHelper, File.expand_path("../brightbox/link_helper", __FILE__)
|
34
|
+
autoload :Model, File.expand_path("../brightbox/model", __FILE__)
|
35
|
+
autoload :ModelHelper, File.expand_path("../brightbox/model_helper", __FILE__)
|
36
|
+
autoload :OAuth2, File.expand_path("../brightbox/oauth2", __FILE__)
|
37
|
+
end
|
38
|
+
|
39
|
+
module Compute
|
40
|
+
autoload :Brightbox, File.expand_path("../brightbox/compute", __FILE__)
|
41
|
+
end
|
42
|
+
|
43
|
+
module Storage
|
44
|
+
autoload :Brightbox, File.expand_path("../brightbox/storage", __FILE__)
|
45
|
+
end
|
46
|
+
end
|
data/lib/fog/brightbox/config.rb
CHANGED
data/lib/fog/brightbox/model.rb
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
require "fog/brightbox/model"
|
2
|
-
|
3
1
|
module Fog
|
4
2
|
module Compute
|
5
3
|
class Brightbox
|
@@ -14,6 +12,7 @@ module Fog
|
|
14
12
|
|
15
13
|
attribute :reverse_dns
|
16
14
|
attribute :public_ip
|
15
|
+
attribute :fqdn
|
17
16
|
|
18
17
|
# Links - to be replaced
|
19
18
|
attribute :account_id, :aliases => "account", :squash => "id"
|
@@ -1,9 +1,3 @@
|
|
1
|
-
require "fog/brightbox/core"
|
2
|
-
require "fog/brightbox/storage/errors"
|
3
|
-
require "fog/brightbox/storage/config"
|
4
|
-
require "fog/brightbox/storage/authentication_request"
|
5
|
-
require "fog/brightbox/storage/connection"
|
6
|
-
|
7
1
|
module Fog
|
8
2
|
module Storage
|
9
3
|
class Brightbox < Fog::Service
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Thornthwaite
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fog-core
|
@@ -161,7 +161,6 @@ files:
|
|
161
161
|
- lib/fog/brightbox/compute/resource_locking.rb
|
162
162
|
- lib/fog/brightbox/compute/shared.rb
|
163
163
|
- lib/fog/brightbox/config.rb
|
164
|
-
- lib/fog/brightbox/core.rb
|
165
164
|
- lib/fog/brightbox/link_helper.rb
|
166
165
|
- lib/fog/brightbox/model.rb
|
167
166
|
- lib/fog/brightbox/model_helper.rb
|
@@ -343,9 +342,10 @@ files:
|
|
343
342
|
- lib/fog/brightbox/requests/storage/put_static_obj_manifest.rb
|
344
343
|
- lib/fog/brightbox/storage.rb
|
345
344
|
- lib/fog/brightbox/storage/authentication_request.rb
|
345
|
+
- lib/fog/brightbox/storage/authentication_required.rb
|
346
346
|
- lib/fog/brightbox/storage/config.rb
|
347
347
|
- lib/fog/brightbox/storage/connection.rb
|
348
|
-
- lib/fog/brightbox/storage/
|
348
|
+
- lib/fog/brightbox/storage/management_url_unknown.rb
|
349
349
|
- lib/fog/brightbox/version.rb
|
350
350
|
- spec/fog/brightbox/compute/config_spec.rb
|
351
351
|
- spec/fog/brightbox/config_spec.rb
|