fog-brightbox 1.0.0.rc2 → 1.0.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 +10 -1
- data/README.md +3 -4
- data/lib/fog/brightbox/models/compute/api_client.rb +1 -1
- data/lib/fog/brightbox/models/compute/cloud_ip.rb +1 -1
- data/lib/fog/brightbox/models/compute/collaboration.rb +1 -1
- data/lib/fog/brightbox/models/compute/collaborations.rb +1 -1
- data/lib/fog/brightbox/models/compute/database_server.rb +1 -1
- data/lib/fog/brightbox/models/compute/database_snapshot.rb +1 -1
- data/lib/fog/brightbox/models/compute/firewall_policy.rb +1 -1
- data/lib/fog/brightbox/models/compute/firewall_rule.rb +1 -1
- data/lib/fog/brightbox/models/compute/image.rb +1 -1
- data/lib/fog/brightbox/models/compute/load_balancer.rb +1 -1
- data/lib/fog/brightbox/models/compute/server.rb +1 -1
- data/lib/fog/brightbox/models/compute/server_group.rb +1 -1
- data/lib/fog/brightbox/models/compute/user_collaboration.rb +1 -1
- data/lib/fog/brightbox/models/compute/user_collaborations.rb +1 -1
- data/lib/fog/brightbox/version.rb +1 -1
- data/tests/brightbox/requests/compute/api_client_tests.rb +2 -2
- data/tests/brightbox/requests/compute/application_test.rb +2 -2
- data/tests/brightbox/requests/compute/cloud_ip_tests.rb +2 -2
- data/tests/brightbox/requests/compute/collaboration_tests.rb +2 -2
- data/tests/brightbox/requests/compute/database_server_tests.rb +2 -2
- data/tests/brightbox/requests/compute/database_snapsnot_tests.rb +2 -2
- data/tests/brightbox/requests/compute/firewall_policy_tests.rb +2 -2
- data/tests/brightbox/requests/compute/firewall_rule_tests.rb +2 -2
- data/tests/brightbox/requests/compute/image_tests.rb +2 -2
- data/tests/brightbox/requests/compute/load_balancer_tests.rb +2 -2
- data/tests/brightbox/requests/compute/server_group_tests.rb +2 -2
- data/tests/brightbox/requests/compute/server_tests.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92365de2ab00f6e4c7a66c4acc2d7a6e33e74d26069bedfc68ff418f5dfb2056
|
4
|
+
data.tar.gz: 1211cea76e6b6345d852308cdf8198c9db4a942859e5df3e4dd9aad8dd128d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a7db03027f2d25e710d6562d02f6c373140d90841807961e2deb10d169a48f746bd4b731b4f45a07a48f9fd18bf8b437f14e2fa11dd6b38294e20521117279e
|
7
|
+
data.tar.gz: cd3dd7be1ac30a847d0b60d89a7c9c3ab4c688a26074833870a9baa58e6265ad99c17e7dd8195222485c9f4f350c07850c06b92cfdda98202d627f2476f3d11b
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
###
|
1
|
+
### 1.0.0 / 2018-10-05
|
2
2
|
|
3
3
|
Major Changes:
|
4
4
|
|
@@ -10,6 +10,15 @@ Major Changes:
|
|
10
10
|
did not require identifiers and were treated as the authenticated user.
|
11
11
|
* Remove deprecated `Compute#request` multiple argument version.
|
12
12
|
* Remove deprecated `#destroy_(resource)` requests.
|
13
|
+
* Fix `#destroy_(resource)` references in models.
|
14
|
+
|
15
|
+
### 0.16.1 / 2018-09-07
|
16
|
+
|
17
|
+
Bug fixes:
|
18
|
+
|
19
|
+
* Fix ordering issue between declaration of fog services and `autoload` modules.
|
20
|
+
Changes in `fog-core` would reference modules before available in autoload so
|
21
|
+
caused a name error.
|
13
22
|
|
14
23
|
### 0.16.0 / 2018-09-04
|
15
24
|
|
data/README.md
CHANGED
@@ -39,11 +39,10 @@ and its modules:
|
|
39
39
|
* http://fog.io/
|
40
40
|
* http://rubydoc.info/gems/fog/
|
41
41
|
|
42
|
-
### Ruby
|
42
|
+
### Ruby version support
|
43
43
|
|
44
|
-
|
45
|
-
|
46
|
-
specify in your application's `Gemfile`
|
44
|
+
As required by the main `fog-core` library, support for Ruby 1.9 was dropped in
|
45
|
+
`v1.0.0` of this gem.
|
47
46
|
|
48
47
|
## Contributing
|
49
48
|
|
@@ -38,9 +38,9 @@ Shindo.tests("Fog::Compute[:brightbox] | api client requests", ["brightbox"]) do
|
|
38
38
|
test("new secret is visible") { !result["secret"].nil? }
|
39
39
|
end
|
40
40
|
|
41
|
-
tests("#
|
41
|
+
tests("#delete_api_client('#{@api_client_id}')") do
|
42
42
|
pending if Fog.mocking?
|
43
|
-
result = Fog::Compute[:brightbox].
|
43
|
+
result = Fog::Compute[:brightbox].delete_api_client(@api_client_id)
|
44
44
|
data_matches_schema(Brightbox::Compute::Formats::Full::API_CLIENT, :allow_extra_keys => true) { result }
|
45
45
|
end
|
46
46
|
end
|
@@ -37,9 +37,9 @@ Shindo.tests("Fog::Compute[:brightbox] | api client requests", ["brightbox"]) do
|
|
37
37
|
test("new secret is visible") { !result["secret"].nil? }
|
38
38
|
end
|
39
39
|
|
40
|
-
tests("#
|
40
|
+
tests("#delete_application('#{@application_id}')") do
|
41
41
|
pending if Fog.mocking?
|
42
|
-
result = Fog::Compute[:brightbox].
|
42
|
+
result = Fog::Compute[:brightbox].delete_application(@application_id)
|
43
43
|
data_matches_schema(Brightbox::Compute::Formats::Full::APPLICATION, :allow_extra_keys => true) { result }
|
44
44
|
end
|
45
45
|
end
|
@@ -54,9 +54,9 @@ Shindo.tests("Fog::Compute[:brightbox] | cloud ip requests", ["brightbox"]) do
|
|
54
54
|
result = Fog::Compute[:brightbox].update_cloud_ip(@cloud_ip_id, :reverse_dns => "")
|
55
55
|
end
|
56
56
|
|
57
|
-
tests("#
|
57
|
+
tests("#delete_cloud_ip('#{@cloud_ip_id}')") do
|
58
58
|
pending if Fog.mocking?
|
59
|
-
result = Fog::Compute[:brightbox].
|
59
|
+
result = Fog::Compute[:brightbox].delete_cloud_ip(@cloud_ip_id)
|
60
60
|
data_matches_schema(Brightbox::Compute::Formats::Full::CLOUD_IP, :allow_extra_keys => true) { result }
|
61
61
|
end
|
62
62
|
|
@@ -20,9 +20,9 @@ Shindo.tests("Fog::Compute[:brightbox] | collaboration requests", ["brightbox"])
|
|
20
20
|
formats(Brightbox::Compute::Formats::Full::COLLABORATION, false) { result }
|
21
21
|
end
|
22
22
|
|
23
|
-
tests("#
|
23
|
+
tests("#delete_collaboration") do
|
24
24
|
pending if Fog.mocking?
|
25
|
-
result = Fog::Compute[:brightbox].
|
25
|
+
result = Fog::Compute[:brightbox].delete_collaboration(@collaboration_id)
|
26
26
|
formats(Brightbox::Compute::Formats::Full::COLLABORATION, false) { result }
|
27
27
|
end
|
28
28
|
end
|
@@ -35,8 +35,8 @@ Shindo.tests("Fog::Compute[:brightbox] | database server requests", ["brightbox"
|
|
35
35
|
test("new password is visible") { !result["admin_password"].nil? }
|
36
36
|
end
|
37
37
|
|
38
|
-
tests("#
|
39
|
-
result = Fog::Compute[:brightbox].
|
38
|
+
tests("#delete_database_server('#{@database_server_id}')") do
|
39
|
+
result = Fog::Compute[:brightbox].delete_database_server(@database_server_id)
|
40
40
|
data_matches_schema(Brightbox::Compute::Formats::Full::DATABASE_SERVER, :allow_extra_keys => true) { result }
|
41
41
|
end
|
42
42
|
end
|
@@ -32,8 +32,8 @@ Shindo.tests("Fog::Compute[:brightbox] | database snapshot requests", ["brightbo
|
|
32
32
|
data_matches_schema(Brightbox::Compute::Formats::Full::DATABASE_SNAPSHOT, :allow_extra_keys => true) { result }
|
33
33
|
end
|
34
34
|
|
35
|
-
tests("#
|
36
|
-
result = service.
|
35
|
+
tests("#delete_database_snapshot('#{@database_snapshot_id}')") do
|
36
|
+
result = service.delete_database_snapshot(@database_snapshot_id)
|
37
37
|
data_matches_schema(Brightbox::Compute::Formats::Full::DATABASE_SNAPSHOT, :allow_extra_keys => true) { result }
|
38
38
|
end
|
39
39
|
end
|
@@ -31,8 +31,8 @@ Shindo.tests("Fog::Compute[:brightbox] | firewall policy requests", ["brightbox"
|
|
31
31
|
returns("Fog test policy B") { result["name"] }
|
32
32
|
end
|
33
33
|
|
34
|
-
tests("#
|
35
|
-
result = Fog::Compute[:brightbox].
|
34
|
+
tests("#delete_firewall_policy('#{@firewall_policy_id}')") do
|
35
|
+
result = Fog::Compute[:brightbox].delete_firewall_policy(@firewall_policy_id)
|
36
36
|
data_matches_schema(Brightbox::Compute::Formats::Full::FIREWALL_POLICY, :allow_extra_keys => true) { result }
|
37
37
|
end
|
38
38
|
end
|
@@ -30,8 +30,8 @@ Shindo.tests("Fog::Compute[:brightbox] | firewall rule requests", ["brightbox"])
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
tests("#
|
34
|
-
result = Fog::Compute[:brightbox].
|
33
|
+
tests("#delete_firewall_rule('#{@firewall_rule_id}')") do
|
34
|
+
result = Fog::Compute[:brightbox].delete_firewall_rule(@firewall_rule_id)
|
35
35
|
data_matches_schema(Brightbox::Compute::Formats::Full::FIREWALL_RULE, :allow_extra_keys => true) { result }
|
36
36
|
end
|
37
37
|
|
@@ -34,8 +34,8 @@ Shindo.tests("Fog::Compute[:brightbox] | image requests", ["brightbox"]) do
|
|
34
34
|
# end
|
35
35
|
|
36
36
|
## Same as other tests - can't be deleting them unless part of the test run
|
37
|
-
# tests("#
|
38
|
-
# result = Fog::Compute[:brightbox].
|
37
|
+
# tests("#delete_image('#{@image_id}')") do
|
38
|
+
# result = Fog::Compute[:brightbox].delete_image(@image_id)
|
39
39
|
# formats(Brightbox::Compute::Formats::Full::IMAGE) { result }
|
40
40
|
# end
|
41
41
|
end
|
@@ -85,9 +85,9 @@ Shindo.tests("Fog::Compute[:brightbox] | load balancer requests", ["brightbox"])
|
|
85
85
|
data_matches_schema(Brightbox::Compute::Formats::Full::LOAD_BALANCER, :allow_extra_keys => true) { result }
|
86
86
|
end
|
87
87
|
|
88
|
-
tests("#
|
88
|
+
tests("#delete_load_balancer('#{@load_balancer_id}')") do
|
89
89
|
pending if Fog.mocking?
|
90
|
-
result = Fog::Compute[:brightbox].
|
90
|
+
result = Fog::Compute[:brightbox].delete_load_balancer(@load_balancer_id)
|
91
91
|
data_matches_schema(Brightbox::Compute::Formats::Full::LOAD_BALANCER, :allow_extra_keys => true) { result }
|
92
92
|
end
|
93
93
|
|
@@ -61,9 +61,9 @@ Shindo.tests("Fog::Compute[:brightbox] | server group requests", ["brightbox"])
|
|
61
61
|
test("group is emptied") { result["servers"].empty? }
|
62
62
|
end
|
63
63
|
|
64
|
-
tests("#
|
64
|
+
tests("#delete_server_group('#{@server_group_id}')") do
|
65
65
|
pending if Fog.mocking?
|
66
|
-
result = Fog::Compute[:brightbox].
|
66
|
+
result = Fog::Compute[:brightbox].delete_server_group(@server_group_id)
|
67
67
|
data_matches_schema(Brightbox::Compute::Formats::Full::SERVER_GROUP, :allow_extra_keys => true) { result }
|
68
68
|
end
|
69
69
|
|
@@ -76,9 +76,9 @@ Shindo.tests("Fog::Compute[:brightbox] | server requests", ["brightbox"]) do
|
|
76
76
|
@snapshot.destroy
|
77
77
|
end
|
78
78
|
|
79
|
-
tests("#
|
79
|
+
tests("#delete_server('#{server_id}')") do
|
80
80
|
pending if Fog.mocking?
|
81
|
-
result = Fog::Compute[:brightbox].
|
81
|
+
result = Fog::Compute[:brightbox].delete_server(server_id)
|
82
82
|
data_matches_schema(Brightbox::Compute::Formats::Full::SERVER, :allow_extra_keys => true) { result }
|
83
83
|
end
|
84
84
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-brightbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Thornthwaite
|
@@ -461,9 +461,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
461
461
|
version: '2.0'
|
462
462
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
463
463
|
requirements:
|
464
|
-
- - "
|
464
|
+
- - ">="
|
465
465
|
- !ruby/object:Gem::Version
|
466
|
-
version:
|
466
|
+
version: '0'
|
467
467
|
requirements: []
|
468
468
|
rubyforge_project:
|
469
469
|
rubygems_version: 2.7.6
|