brightbox-cli 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/brightbox-cli.gemspec +10 -9
- data/lib/brightbox-cli/commands/servers-activate-console.rb +1 -1
- data/lib/brightbox-cli/commands/types-show.rb +5 -4
- data/lib/brightbox-cli/config.rb +1 -1
- data/lib/brightbox-cli/detailed_server.rb +2 -1
- data/lib/brightbox-cli/gli_global_hooks.rb +1 -8
- data/lib/brightbox-cli/server_groups.rb +4 -0
- data/lib/brightbox-cli/servers.rb +5 -13
- data/lib/brightbox-cli/types.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/.gitignore +1 -0
- data/lib/brightbox-cli/vendor/fog/README.rdoc +1 -1
- data/lib/brightbox-cli/vendor/fog/Rakefile +4 -3
- data/lib/brightbox-cli/vendor/fog/changelog.txt +213 -0
- data/lib/brightbox-cli/vendor/fog/docs/compute/index.markdown +15 -1
- data/lib/brightbox-cli/vendor/fog/docs/index.markdown +1 -1
- data/lib/brightbox-cli/vendor/fog/docs/storage/index.markdown +4 -4
- data/lib/brightbox-cli/vendor/fog/examples/compute_tests.rb +18 -6
- data/lib/brightbox-cli/vendor/fog/examples/dns_tests.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/examples/storage_tests.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/fog.gemspec +4 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws.rb +16 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/auto_scaling.rb +2 -17
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/cloud_formation.rb +1 -16
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/cloud_watch.rb +2 -17
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/compute.rb +10 -21
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/elasticache.rb +1 -7
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/elb.rb +34 -24
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/emr.rb +5 -4
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/iam.rb +16 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/auto_scaling/group.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/cloud_watch/metric_statistic.rb +1 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/compute/security_group.rb +3 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/compute/security_groups.rb +25 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/compute/server.rb +4 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/dns/records.rb +3 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/listener.rb +9 -7
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/elb/load_balancer.rb +6 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/storage/directory.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/storage/file.rb +19 -5
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/models/storage/files.rb +4 -4
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/describe_instances.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/compute/describe_security_groups.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/sqs/receive_message.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/rds.rb +41 -18
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/compute/create_security_group.rb +6 -4
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/compute/create_tags.rb +3 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/compute/describe_availability_zones.rb +3 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/compute/describe_security_groups.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_app_cookie_stickiness_policy.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_lb_cookie_stickiness_policy.rb +3 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_load_balancer.rb +7 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/create_load_balancer_listeners.rb +10 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/delete_load_balancer_policy.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/describe_load_balancers.rb +5 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/set_load_balancer_listener_ssl_certificate.rb +27 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/elb/set_load_balancer_policies_of_listener.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/emr/run_job_flow.rb +9 -7
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/add_user_to_group.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_access_key.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_group.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/create_user.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_access_key.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_group.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_user.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/delete_user_policy.rb +16 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_access_keys.rb +21 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_groups.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_groups_for_user.rb +24 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_user_policies.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/list_users.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/put_user_policy.rb +18 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/remove_user_from_group.rb +19 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/iam/upload_server_certificate.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +30 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_instance.rb +67 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/create_db_security_group.rb +19 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_instance.rb +19 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/delete_db_security_group.rb +11 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_instances.rb +56 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_reserved_instances.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/describe_db_security_groups.rb +44 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/modify_db_instance.rb +26 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb +17 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/revoke_db_security_group_ingress.rb +27 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/change_message_visibility.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/delete_message.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/sqs/receive_message.rb +13 -14
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/copy_object.rb +14 -6
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/delete_object.rb +73 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_bucket.rb +3 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +95 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_bucket_versioning.rb +32 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_object.rb +27 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_object_http_url.rb +4 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/get_object_https_url.rb +4 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/put_bucket_versioning.rb +41 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/put_bucket_website.rb +17 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/storage/put_object.rb +25 -9
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/ses.rb +2 -7
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/simpledb.rb +4 -17
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/sns.rb +1 -14
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/sqs.rb +5 -11
- data/lib/brightbox-cli/vendor/fog/lib/fog/aws/storage.rb +6 -22
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/aws.rb +9 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/bin/voxel.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/brightbox/models/compute/server.rb +1 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute.rb +6 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/compute/models/server.rb +11 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core.rb +0 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/connection.rb +0 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/errors.rb +5 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/scp.rb +18 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/core/wait_for.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/dnsmadeeasy/dns.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/dynect/models/dns/records.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/dynect/requests/dns/get_node_list.rb +2 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/compute.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/add_backup_internet_service.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/add_internet_service.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/add_node.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/clone_vapp.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/configure_internet_service.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/configure_network.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/configure_network_ip.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/configure_vapp.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/ecloud/requests/compute/instantiate_vapp_template.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/libvirt/compute.rb +7 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/libvirt/models/compute/nodes.rb +1 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/libvirt/models/compute/server.rb +93 -99
- data/lib/brightbox-cli/vendor/fog/lib/fog/libvirt/models/compute/servers.rb +2 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/libvirt/models/compute/util.rb +1 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/providers.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/dns.rb +10 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/load_balancers.rb +3 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/compute/flavor.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/compute/server.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/dns/callback.rb +3 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/dns/record.rb +4 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/load_balancers/load_balancer.rb +18 -8
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/models/storage/directory.rb +5 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/compute/create_image.rb +1 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/delete_nodes.rb +1 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/rackspace/requests/load_balancers/list_load_balancers.rb +8 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/storm_on_demand/compute.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/compute.rb +91 -30
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/catalog.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/catalog_item.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/catalogs.rb +5 -8
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/ip.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/network.rb +9 -51
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/networks.rb +21 -7
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/server.rb +38 -58
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/servers.rb +12 -18
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/task.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/tasks.rb +1 -3
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/vdc.rb +14 -29
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/models/compute/vdcs.rb +6 -11
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/clone_vapp.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/configure_network.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/configure_network_ip.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/configure_vapp.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/configure_vm.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/instantiate_vapp_template.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vcloud/requests/compute/login.rb +8 -4
- data/lib/brightbox-cli/vendor/fog/lib/fog/virtual_box/compute.rb +4 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/vsphere/compute.rb +1 -0
- data/lib/brightbox-cli/vendor/fog/lib/fog/vsphere/models/compute/server.rb +7 -1
- data/lib/brightbox-cli/vendor/fog/lib/fog/vsphere/requests/compute/list_virtual_machines.rb +86 -86
- data/lib/brightbox-cli/vendor/fog/lib/fog/vsphere/requests/compute/vm_clone.rb +43 -8
- data/lib/brightbox-cli/vendor/fog/lib/fog/zerigo/models/dns/record.rb +7 -5
- data/lib/brightbox-cli/vendor/fog/lib/fog/zerigo/requests/dns/update_host.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/spec/ecloud/spec_helper.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/tests/aws/models/elb/model_tests.rb +15 -6
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/compute/instance_tests.rb +37 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/compute/security_group_tests.rb +6 -4
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/helper.rb +33 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/listener_tests.rb +22 -4
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/elb/policy_tests.rb +13 -0
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/access_key_tests.rb +2 -7
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/group_tests.rb +1 -4
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/user_policy_tests.rb +4 -11
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/iam/user_tests.rb +19 -12
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/helper.rb +38 -3
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/rds/instance_tests.rb +3 -1
- data/lib/brightbox-cli/vendor/fog/tests/aws/requests/storage/bucket_tests.rb +66 -1
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/account_tests.rb +3 -3
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/api_client_tests.rb +6 -6
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/cloud_ip_tests.rb +15 -9
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/helper.rb +6 -2
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/image_tests.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/interface_tests.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/load_balancer_tests.rb +9 -9
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/server_group_tests.rb +8 -8
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/server_tests.rb +17 -13
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/server_type_tests.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/user_tests.rb +3 -3
- data/lib/brightbox-cli/vendor/fog/tests/brightbox/requests/compute/zone_tests.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/tests/glesys/requests/compute/helper.rb +87 -64
- data/lib/brightbox-cli/vendor/fog/tests/glesys/requests/compute/ip_tests.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/tests/glesys/requests/compute/server_tests.rb +4 -4
- data/lib/brightbox-cli/vendor/fog/tests/helpers/formats_helper.rb +1 -1
- data/lib/brightbox-cli/vendor/fog/tests/helpers/mock_helper.rb +2 -0
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/dns/dns_tests.rb +4 -2
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/load_balancers/helper.rb +27 -11
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/load_balancers/load_balancer_tests.rb +4 -1
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/requests/load_balancers/node_tests.rb +24 -25
- data/lib/brightbox-cli/vendor/fog/tests/slicehost/requests/compute/slice_tests.rb +2 -2
- data/lib/brightbox-cli/vendor/fog/tests/storm_on_demand/requests/compute/server_tests.rb +3 -3
- data/lib/brightbox-cli/vendor/fog/tests/vcloud/models/compute/servers_tests.rb +18 -90
- data/lib/brightbox-cli/vendor/fog/tests/vsphere/requests/compute/vm_clone_tests.rb +16 -4
- data/lib/brightbox-cli/vendor/fog/tests/vsphere/requests/compute/vm_power_on_tests.rb +1 -1
- data/lib/brightbox-cli/version.rb +1 -1
- data/spec/cloud_ips_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/list_cloud_ip.yml +58 -26
- data/spec/fixtures/vcr_cassettes/server_show.yml +143 -102
- data/spec/servers_spec.rb +3 -2
- data/spec/spec_helper.rb +4 -0
- metadata +128 -213
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_list_tests.rb +0 -12
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_lists_tests.rb +0 -12
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancer_tests.rb +0 -116
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancers_tests.rb +0 -19
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/node_tests.rb +0 -19
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/nodes_tests.rb +0 -12
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ip_tests.rb +0 -16
- data/lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ips_tests.rb +0 -12
data/spec/cloud_ips_spec.rb
CHANGED
@@ -1,36 +1,68 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: POST
|
5
|
+
uri: https://api.gb1s.brightbox.com:443/token
|
6
|
+
body: ! '{"client_id":"cli-cfv8i","grant_type":"none"}'
|
7
|
+
headers:
|
8
|
+
authorization:
|
9
|
+
- Basic Y2xpLWNmdjhpOjMwcjE3cWJ3cWFsb2VtZw==
|
10
|
+
content-type:
|
11
|
+
- application/json
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Thu, 23 Feb 2012 11:19:10 GMT
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
cache-control:
|
22
|
+
- no-store
|
23
|
+
content-length:
|
24
|
+
- '77'
|
25
|
+
status:
|
26
|
+
- '200'
|
27
|
+
vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
content-type:
|
30
|
+
- application/json
|
31
|
+
body: ! '{"expires_in":7200,"access_token":"9b1d6a22503562503acde9740b410b89e2444009"}'
|
32
|
+
http_version:
|
33
|
+
- !ruby/struct:VCR::HTTPInteraction
|
34
|
+
request: !ruby/struct:VCR::Request
|
4
35
|
method: GET
|
5
36
|
uri: https://api.gb1s.brightbox.com:443/1.0/cloud_ips
|
6
37
|
body:
|
7
|
-
headers:
|
8
|
-
|
38
|
+
headers:
|
39
|
+
authorization:
|
40
|
+
- OAuth 9b1d6a22503562503acde9740b410b89e2444009
|
41
|
+
content-type:
|
9
42
|
- application/json
|
10
|
-
|
11
|
-
|
12
|
-
response: !ruby/struct:VCR::Response
|
13
|
-
status: !ruby/struct:VCR::ResponseStatus
|
43
|
+
response: !ruby/struct:VCR::Response
|
44
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
45
|
code: 200
|
15
46
|
message:
|
16
|
-
headers:
|
17
|
-
|
18
|
-
-
|
19
|
-
|
20
|
-
- application/json; charset=utf-8
|
21
|
-
server:
|
47
|
+
headers:
|
48
|
+
date:
|
49
|
+
- Thu, 23 Feb 2012 11:19:11 GMT
|
50
|
+
server:
|
22
51
|
- Apache
|
23
|
-
|
24
|
-
-
|
25
|
-
x-runtime:
|
26
|
-
-
|
27
|
-
|
28
|
-
- "2980"
|
29
|
-
cache-control:
|
52
|
+
etag:
|
53
|
+
- ! '"99340bd6fc2084a8fc85d34f409dcfe1"'
|
54
|
+
x-runtime:
|
55
|
+
- '66'
|
56
|
+
cache-control:
|
30
57
|
- private, max-age=0, must-revalidate
|
31
|
-
|
32
|
-
-
|
33
|
-
|
58
|
+
content-length:
|
59
|
+
- '904'
|
60
|
+
status:
|
61
|
+
- '200'
|
62
|
+
vary:
|
34
63
|
- Accept-Encoding
|
35
|
-
|
64
|
+
content-type:
|
65
|
+
- application/json; charset=utf-8
|
66
|
+
body: ! '[{"id":"cip-6r5a4","resource_type":"cloud_ip","url":"https://api.gb1.brightbox.com/1.0/cloud_ips/cip-6r5a4","reverse_dns":"cip-109-107-39-29.gb1s.brightbox.com","status":"mapped","public_ip":"109.107.39.29","account":{"id":"acc-998rf","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/account","name":"Brighbox
|
67
|
+
Systems","status":"active"},"server":{"id":"srv-egjzh","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-egjzh","name":"test1","fqdn":"srv-egjzh.gb1s.","created_at":"2011-11-02T08:07:45Z","deleted_at":null,"hostname":"srv-egjzh","started_at":"2011-12-16T15:47:45Z","status":"active"},"interface":{"id":"int-rbob6","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-rbob6","mac_address":"02:24:19:fa:bc:ee","ipv4_address":"10.250.188.238","ipv6_address":"2a02:1348:14a:af3b:24:19ff:fefa:bcee"},"load_balancer":null}]'
|
36
68
|
http_version:
|
@@ -1,141 +1,182 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: POST
|
5
|
+
uri: https://api.gb1s.brightbox.com:443/token
|
6
|
+
body: ! '{"client_id":"cli-cfv8i","grant_type":"none"}'
|
7
|
+
headers:
|
8
|
+
authorization:
|
9
|
+
- Basic Y2xpLWNmdjhpOjMwcjE3cWJ3cWFsb2VtZw==
|
10
|
+
content-type:
|
11
|
+
- application/json
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message:
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Thu, 23 Feb 2012 11:27:40 GMT
|
19
|
+
server:
|
20
|
+
- Apache
|
21
|
+
cache-control:
|
22
|
+
- no-store
|
23
|
+
content-length:
|
24
|
+
- '77'
|
25
|
+
status:
|
26
|
+
- '200'
|
27
|
+
vary:
|
28
|
+
- Accept-Encoding
|
29
|
+
content-type:
|
30
|
+
- application/json
|
31
|
+
body: ! '{"expires_in":7200,"access_token":"f9f6a5d76a65da83199db1cbdb73482ea6327f80"}'
|
32
|
+
http_version:
|
33
|
+
- !ruby/struct:VCR::HTTPInteraction
|
34
|
+
request: !ruby/struct:VCR::Request
|
4
35
|
method: GET
|
5
|
-
uri: https://api.gb1s.brightbox.com:443/1.0/servers/srv-
|
36
|
+
uri: https://api.gb1s.brightbox.com:443/1.0/servers/srv-egjzh
|
6
37
|
body:
|
7
|
-
headers:
|
8
|
-
|
38
|
+
headers:
|
39
|
+
authorization:
|
40
|
+
- OAuth f9f6a5d76a65da83199db1cbdb73482ea6327f80
|
41
|
+
content-type:
|
9
42
|
- application/json
|
10
|
-
|
11
|
-
|
12
|
-
response: !ruby/struct:VCR::Response
|
13
|
-
status: !ruby/struct:VCR::ResponseStatus
|
43
|
+
response: !ruby/struct:VCR::Response
|
44
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
45
|
code: 200
|
15
46
|
message:
|
16
|
-
headers:
|
17
|
-
|
18
|
-
-
|
19
|
-
|
20
|
-
- application/json; charset=utf-8
|
21
|
-
server:
|
47
|
+
headers:
|
48
|
+
date:
|
49
|
+
- Thu, 23 Feb 2012 11:27:41 GMT
|
50
|
+
server:
|
22
51
|
- Apache
|
23
|
-
|
24
|
-
-
|
25
|
-
x-runtime:
|
26
|
-
-
|
27
|
-
|
28
|
-
- "1779"
|
29
|
-
cache-control:
|
52
|
+
etag:
|
53
|
+
- ! '"5b99e72aae961dd40f97e980875fbff9"'
|
54
|
+
x-runtime:
|
55
|
+
- '88'
|
56
|
+
cache-control:
|
30
57
|
- private, max-age=0, must-revalidate
|
31
|
-
|
32
|
-
-
|
33
|
-
|
58
|
+
content-length:
|
59
|
+
- '1888'
|
60
|
+
status:
|
61
|
+
- '200'
|
62
|
+
vary:
|
34
63
|
- Accept-Encoding
|
35
|
-
|
64
|
+
content-type:
|
65
|
+
- application/json; charset=utf-8
|
66
|
+
body: ! '{"id":"srv-egjzh","resource_type":"server","url":"https://api.gb1.brightbox.com/1.0/servers/srv-egjzh","name":"test1","fqdn":"srv-egjzh.gb1s.","created_at":"2011-11-02T08:07:45Z","deleted_at":null,"console_token_expires":null,"console_url":null,"console_token":null,"started_at":"2011-12-16T15:47:45Z","hostname":"srv-egjzh","status":"active","user_data":null,"server_type":{"id":"typ-eir7x","resource_type":"server_type","url":"https://api.gb1.brightbox.com/1.0/server_types/typ-eir7x","name":"nano","cores":2,"handle":"nano","disk_size":20480,"ram":512,"status":"available"},"zone":{"id":"zon-uvinx","resource_type":"zone","url":"https://api.gb1.brightbox.com/1.0/zones/zon-uvinx","handle":"gb1s-b"},"cloud_ips":[{"id":"cip-6r5a4","resource_type":"cloud_ip","url":"https://api.gb1.brightbox.com/1.0/cloud_ips/cip-6r5a4","reverse_dns":"cip-109-107-39-29.gb1s.brightbox.com","status":"mapped","public_ip":"109.107.39.29"}],"account":{"id":"acc-998rf","resource_type":"account","url":"https://api.gb1.brightbox.com/1.0/account","name":"Brighbox
|
67
|
+
Systems","status":"active"},"snapshots":[],"interfaces":[{"id":"int-rbob6","resource_type":"interface","url":"https://api.gb1.brightbox.com/1.0/interfaces/int-rbob6","mac_address":"02:24:19:fa:bc:ee","ipv4_address":"10.250.188.238","ipv6_address":"2a02:1348:14a:af3b:24:19ff:fefa:bcee"}],"server_groups":[{"id":"grp-th4pa","resource_type":"server_group","url":"https://api.gb1.brightbox.com/1.0/server_groups/grp-th4pa","name":"load
|
68
|
+
balanced","created_at":"2011-11-02T13:09:29Z","default":false,"description":null}],"image":{"id":"img-ymfuq","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-ymfuq","name":"Ubuntu
|
69
|
+
Lucid 10.04 server","created_at":"2011-06-01T15:43:38Z","username":"ubuntu","arch":"i686","description":"login:
|
70
|
+
ubuntu using stored ssh key","status":"available","source":"lucid.img","owner":"acc-kg71m"}}'
|
36
71
|
http_version:
|
37
|
-
- !ruby/struct:VCR::HTTPInteraction
|
38
|
-
request: !ruby/struct:VCR::Request
|
72
|
+
- !ruby/struct:VCR::HTTPInteraction
|
73
|
+
request: !ruby/struct:VCR::Request
|
39
74
|
method: GET
|
40
75
|
uri: https://api.gb1s.brightbox.com:443/1.0/images/img-ymfuq
|
41
76
|
body:
|
42
|
-
headers:
|
43
|
-
|
77
|
+
headers:
|
78
|
+
authorization:
|
79
|
+
- OAuth f9f6a5d76a65da83199db1cbdb73482ea6327f80
|
80
|
+
content-type:
|
44
81
|
- application/json
|
45
|
-
|
46
|
-
|
47
|
-
response: !ruby/struct:VCR::Response
|
48
|
-
status: !ruby/struct:VCR::ResponseStatus
|
82
|
+
response: !ruby/struct:VCR::Response
|
83
|
+
status: !ruby/struct:VCR::ResponseStatus
|
49
84
|
code: 200
|
50
85
|
message:
|
51
|
-
headers:
|
52
|
-
|
53
|
-
-
|
54
|
-
|
55
|
-
- application/json; charset=utf-8
|
56
|
-
server:
|
86
|
+
headers:
|
87
|
+
date:
|
88
|
+
- Thu, 23 Feb 2012 11:27:42 GMT
|
89
|
+
server:
|
57
90
|
- Apache
|
58
|
-
|
59
|
-
-
|
60
|
-
x-runtime:
|
61
|
-
-
|
62
|
-
|
63
|
-
- "432"
|
64
|
-
cache-control:
|
91
|
+
etag:
|
92
|
+
- ! '"66c3c1ee5a081759ba5daa44354de1aa"'
|
93
|
+
x-runtime:
|
94
|
+
- '24'
|
95
|
+
cache-control:
|
65
96
|
- private, max-age=0, must-revalidate
|
66
|
-
|
67
|
-
-
|
68
|
-
|
97
|
+
content-length:
|
98
|
+
- '466'
|
99
|
+
status:
|
100
|
+
- '200'
|
101
|
+
vary:
|
69
102
|
- Accept-Encoding
|
70
|
-
|
103
|
+
content-type:
|
104
|
+
- application/json; charset=utf-8
|
105
|
+
body: ! '{"id":"img-ymfuq","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-ymfuq","name":"Ubuntu
|
106
|
+
Lucid 10.04 server","created_at":"2011-06-01T15:43:38Z","public":true,"disk_size":538,"official":true,"arch":"i686","username":"ubuntu","compatibility_mode":false,"source_type":"upload","description":"login:
|
107
|
+
ubuntu using stored ssh key","source":"lucid.img","status":"available","owner":"acc-kg71m","min_ram":null,"virtual_size":1409,"ancestor":null}'
|
71
108
|
http_version:
|
72
|
-
- !ruby/struct:VCR::HTTPInteraction
|
73
|
-
request: !ruby/struct:VCR::Request
|
109
|
+
- !ruby/struct:VCR::HTTPInteraction
|
110
|
+
request: !ruby/struct:VCR::Request
|
74
111
|
method: GET
|
75
112
|
uri: https://api.gb1s.brightbox.com:443/1.0/images/img-ymfuq
|
76
113
|
body:
|
77
|
-
headers:
|
78
|
-
|
114
|
+
headers:
|
115
|
+
authorization:
|
116
|
+
- OAuth f9f6a5d76a65da83199db1cbdb73482ea6327f80
|
117
|
+
content-type:
|
79
118
|
- application/json
|
80
|
-
|
81
|
-
|
82
|
-
response: !ruby/struct:VCR::Response
|
83
|
-
status: !ruby/struct:VCR::ResponseStatus
|
119
|
+
response: !ruby/struct:VCR::Response
|
120
|
+
status: !ruby/struct:VCR::ResponseStatus
|
84
121
|
code: 200
|
85
122
|
message:
|
86
|
-
headers:
|
87
|
-
|
88
|
-
-
|
89
|
-
|
90
|
-
- application/json; charset=utf-8
|
91
|
-
server:
|
123
|
+
headers:
|
124
|
+
date:
|
125
|
+
- Thu, 23 Feb 2012 11:27:43 GMT
|
126
|
+
server:
|
92
127
|
- Apache
|
93
|
-
|
94
|
-
-
|
95
|
-
x-runtime:
|
96
|
-
-
|
97
|
-
|
98
|
-
- "432"
|
99
|
-
cache-control:
|
128
|
+
etag:
|
129
|
+
- ! '"66c3c1ee5a081759ba5daa44354de1aa"'
|
130
|
+
x-runtime:
|
131
|
+
- '26'
|
132
|
+
cache-control:
|
100
133
|
- private, max-age=0, must-revalidate
|
101
|
-
|
102
|
-
-
|
103
|
-
|
134
|
+
content-length:
|
135
|
+
- '466'
|
136
|
+
status:
|
137
|
+
- '200'
|
138
|
+
vary:
|
104
139
|
- Accept-Encoding
|
105
|
-
|
140
|
+
content-type:
|
141
|
+
- application/json; charset=utf-8
|
142
|
+
body: ! '{"id":"img-ymfuq","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-ymfuq","name":"Ubuntu
|
143
|
+
Lucid 10.04 server","created_at":"2011-06-01T15:43:38Z","public":true,"disk_size":538,"official":true,"arch":"i686","username":"ubuntu","compatibility_mode":false,"source_type":"upload","description":"login:
|
144
|
+
ubuntu using stored ssh key","source":"lucid.img","status":"available","owner":"acc-kg71m","min_ram":null,"virtual_size":1409,"ancestor":null}'
|
106
145
|
http_version:
|
107
|
-
- !ruby/struct:VCR::HTTPInteraction
|
108
|
-
request: !ruby/struct:VCR::Request
|
146
|
+
- !ruby/struct:VCR::HTTPInteraction
|
147
|
+
request: !ruby/struct:VCR::Request
|
109
148
|
method: GET
|
110
149
|
uri: https://api.gb1s.brightbox.com:443/1.0/images/img-ymfuq
|
111
150
|
body:
|
112
|
-
headers:
|
113
|
-
|
151
|
+
headers:
|
152
|
+
authorization:
|
153
|
+
- OAuth f9f6a5d76a65da83199db1cbdb73482ea6327f80
|
154
|
+
content-type:
|
114
155
|
- application/json
|
115
|
-
|
116
|
-
|
117
|
-
response: !ruby/struct:VCR::Response
|
118
|
-
status: !ruby/struct:VCR::ResponseStatus
|
156
|
+
response: !ruby/struct:VCR::Response
|
157
|
+
status: !ruby/struct:VCR::ResponseStatus
|
119
158
|
code: 200
|
120
159
|
message:
|
121
|
-
headers:
|
122
|
-
|
123
|
-
-
|
124
|
-
|
125
|
-
- application/json; charset=utf-8
|
126
|
-
server:
|
160
|
+
headers:
|
161
|
+
date:
|
162
|
+
- Thu, 23 Feb 2012 11:27:44 GMT
|
163
|
+
server:
|
127
164
|
- Apache
|
128
|
-
|
129
|
-
-
|
130
|
-
x-runtime:
|
131
|
-
-
|
132
|
-
|
133
|
-
- "432"
|
134
|
-
cache-control:
|
165
|
+
etag:
|
166
|
+
- ! '"66c3c1ee5a081759ba5daa44354de1aa"'
|
167
|
+
x-runtime:
|
168
|
+
- '24'
|
169
|
+
cache-control:
|
135
170
|
- private, max-age=0, must-revalidate
|
136
|
-
|
137
|
-
-
|
138
|
-
|
171
|
+
content-length:
|
172
|
+
- '466'
|
173
|
+
status:
|
174
|
+
- '200'
|
175
|
+
vary:
|
139
176
|
- Accept-Encoding
|
140
|
-
|
177
|
+
content-type:
|
178
|
+
- application/json; charset=utf-8
|
179
|
+
body: ! '{"id":"img-ymfuq","resource_type":"image","url":"https://api.gb1.brightbox.com/1.0/images/img-ymfuq","name":"Ubuntu
|
180
|
+
Lucid 10.04 server","created_at":"2011-06-01T15:43:38Z","public":true,"disk_size":538,"official":true,"arch":"i686","username":"ubuntu","compatibility_mode":false,"source_type":"upload","description":"login:
|
181
|
+
ubuntu using stored ssh key","source":"lucid.img","status":"available","owner":"acc-kg71m","min_ram":null,"virtual_size":1409,"ancestor":null}'
|
141
182
|
http_version:
|
data/spec/servers_spec.rb
CHANGED
@@ -19,14 +19,15 @@ describe "Server" do
|
|
19
19
|
describe "Server show" do
|
20
20
|
use_vcr_cassette('server_show')
|
21
21
|
before do
|
22
|
-
@servers = Brightbox::DetailedServer.find_or_call(["srv-
|
22
|
+
@servers = Brightbox::DetailedServer.find_or_call(["srv-egjzh"])
|
23
23
|
end
|
24
24
|
it "should show detailed attributes of a server" do
|
25
25
|
output = capture_stdout {
|
26
26
|
Brightbox.render_table(@servers,{:vertical => true})
|
27
27
|
}
|
28
|
-
output.should match("10.
|
28
|
+
output.should match("10.250.188.238")
|
29
29
|
output.should match(/ram: 512/)
|
30
|
+
output.should match(/disk: 20480/)
|
30
31
|
end
|
31
32
|
end
|
32
33
|
|
data/spec/spec_helper.rb
CHANGED
@@ -15,6 +15,10 @@ RSpec.configure do |config|
|
|
15
15
|
config.mock_framework = :mocha
|
16
16
|
config.extend VCR::RSpec::Macros
|
17
17
|
config.include CommonHelpers
|
18
|
+
config.before {
|
19
|
+
test_config = File.join(File.dirname(__FILE__),"brightbox")
|
20
|
+
Brightbox::BBConfig.any_instance.stubs(:default_config_dir).returns(test_config)
|
21
|
+
}
|
18
22
|
end
|
19
23
|
|
20
24
|
VCR.config do |c|
|
metadata
CHANGED
@@ -1,239 +1,174 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightbox-cli
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 17
|
9
|
-
- 1
|
10
|
-
version: 0.17.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.17.2
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- John Leach
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-03-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: json
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70240587891900 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
18
|
+
requirements:
|
27
19
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 5
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 5
|
33
|
-
- 3
|
20
|
+
- !ruby/object:Gem::Version
|
34
21
|
version: 1.5.3
|
35
22
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: hirb
|
39
23
|
prerelease: false
|
40
|
-
|
24
|
+
version_requirements: *70240587891900
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: builder
|
27
|
+
requirement: &70240587889940 !ruby/object:Gem::Requirement
|
41
28
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
- 3
|
49
|
-
- 5
|
50
|
-
version: 0.3.5
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
51
33
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: formatador
|
55
34
|
prerelease: false
|
56
|
-
|
35
|
+
version_requirements: *70240587889940
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: excon
|
38
|
+
requirement: &70240587904940 !ruby/object:Gem::Requirement
|
57
39
|
none: false
|
58
|
-
requirements:
|
40
|
+
requirements:
|
59
41
|
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
|
62
|
-
segments:
|
63
|
-
- 0
|
64
|
-
- 2
|
65
|
-
- 0
|
66
|
-
version: 0.2.0
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.9.0
|
67
44
|
type: :runtime
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: excon
|
71
45
|
prerelease: false
|
72
|
-
|
46
|
+
version_requirements: *70240587904940
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: formatador
|
49
|
+
requirement: &70240587904360 !ruby/object:Gem::Requirement
|
73
50
|
none: false
|
74
|
-
requirements:
|
51
|
+
requirements:
|
75
52
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
|
78
|
-
segments:
|
79
|
-
- 0
|
80
|
-
- 6
|
81
|
-
- 1
|
82
|
-
version: 0.6.1
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.2.0
|
83
55
|
type: :runtime
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: builder
|
87
56
|
prerelease: false
|
88
|
-
|
89
|
-
|
90
|
-
requirements:
|
91
|
-
- - ">="
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
hash: 3
|
94
|
-
segments:
|
95
|
-
- 0
|
96
|
-
version: "0"
|
97
|
-
type: :runtime
|
98
|
-
version_requirements: *id005
|
99
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *70240587904360
|
58
|
+
- !ruby/object:Gem::Dependency
|
100
59
|
name: mime-types
|
101
|
-
|
102
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70240587903660 !ruby/object:Gem::Requirement
|
103
61
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
|
108
|
-
segments:
|
109
|
-
- 0
|
110
|
-
version: "0"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
111
66
|
type: :runtime
|
112
|
-
version_requirements: *id006
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: net-ssh
|
115
67
|
prerelease: false
|
116
|
-
|
68
|
+
version_requirements: *70240587903660
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: net-ssh
|
71
|
+
requirement: &70240587902360 !ruby/object:Gem::Requirement
|
117
72
|
none: false
|
118
|
-
requirements:
|
119
|
-
- -
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
|
122
|
-
segments:
|
123
|
-
- 2
|
124
|
-
- 2
|
125
|
-
- 1
|
126
|
-
version: 2.2.1
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.1.3
|
127
77
|
type: :runtime
|
128
|
-
version_requirements: *id007
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: net-scp
|
131
78
|
prerelease: false
|
132
|
-
|
79
|
+
version_requirements: *70240587902360
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: net-scp
|
82
|
+
requirement: &70240587899840 !ruby/object:Gem::Requirement
|
133
83
|
none: false
|
134
|
-
requirements:
|
84
|
+
requirements:
|
135
85
|
- - ~>
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
hash: 31
|
138
|
-
segments:
|
139
|
-
- 1
|
140
|
-
- 0
|
141
|
-
- 4
|
86
|
+
- !ruby/object:Gem::Version
|
142
87
|
version: 1.0.4
|
143
88
|
type: :runtime
|
144
|
-
version_requirements: *id008
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: nokogiri
|
147
89
|
prerelease: false
|
148
|
-
|
90
|
+
version_requirements: *70240587899840
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: nokogiri
|
93
|
+
requirement: &70240587898480 !ruby/object:Gem::Requirement
|
149
94
|
none: false
|
150
|
-
requirements:
|
151
|
-
- -
|
152
|
-
- !ruby/object:Gem::Version
|
153
|
-
|
154
|
-
segments:
|
155
|
-
- 1
|
156
|
-
- 5
|
157
|
-
- 0
|
158
|
-
version: 1.5.0
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 1.4.0
|
159
99
|
type: :runtime
|
160
|
-
|
161
|
-
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *70240587898480
|
102
|
+
- !ruby/object:Gem::Dependency
|
162
103
|
name: ruby-hmac
|
104
|
+
requirement: &70240587898020 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
163
111
|
prerelease: false
|
164
|
-
|
112
|
+
version_requirements: *70240587898020
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: hirb
|
115
|
+
requirement: &70240587897180 !ruby/object:Gem::Requirement
|
165
116
|
none: false
|
166
|
-
requirements:
|
167
|
-
- -
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
|
170
|
-
segments:
|
171
|
-
- 0
|
172
|
-
version: "0"
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 0.6.0
|
173
121
|
type: :runtime
|
174
|
-
version_requirements: *id010
|
175
|
-
- !ruby/object:Gem::Dependency
|
176
|
-
name: rake
|
177
122
|
prerelease: false
|
178
|
-
|
123
|
+
version_requirements: *70240587897180
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: rake
|
126
|
+
requirement: &70240587912980 !ruby/object:Gem::Requirement
|
179
127
|
none: false
|
180
|
-
requirements:
|
128
|
+
requirements:
|
181
129
|
- - ~>
|
182
|
-
- !ruby/object:Gem::Version
|
183
|
-
hash: 63
|
184
|
-
segments:
|
185
|
-
- 0
|
186
|
-
- 8
|
187
|
-
- 0
|
130
|
+
- !ruby/object:Gem::Version
|
188
131
|
version: 0.8.0
|
189
132
|
type: :development
|
190
|
-
version_requirements: *id011
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: vcr
|
193
133
|
prerelease: false
|
194
|
-
|
134
|
+
version_requirements: *70240587912980
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: vcr
|
137
|
+
requirement: &70240587912480 !ruby/object:Gem::Requirement
|
195
138
|
none: false
|
196
|
-
requirements:
|
197
|
-
- -
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
|
200
|
-
segments:
|
201
|
-
- 0
|
202
|
-
version: "0"
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
203
143
|
type: :development
|
204
|
-
version_requirements: *id012
|
205
|
-
- !ruby/object:Gem::Dependency
|
206
|
-
name: rspec
|
207
144
|
prerelease: false
|
208
|
-
|
145
|
+
version_requirements: *70240587912480
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: rspec
|
148
|
+
requirement: &70240587911860 !ruby/object:Gem::Requirement
|
209
149
|
none: false
|
210
|
-
requirements:
|
211
|
-
- -
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
|
214
|
-
segments:
|
215
|
-
- 0
|
216
|
-
version: "0"
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
217
154
|
type: :development
|
218
|
-
version_requirements: *id013
|
219
|
-
- !ruby/object:Gem::Dependency
|
220
|
-
name: mocha
|
221
155
|
prerelease: false
|
222
|
-
|
156
|
+
version_requirements: *70240587911860
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: mocha
|
159
|
+
requirement: &70240587911160 !ruby/object:Gem::Requirement
|
223
160
|
none: false
|
224
|
-
requirements:
|
225
|
-
- -
|
226
|
-
- !ruby/object:Gem::Version
|
227
|
-
|
228
|
-
segments:
|
229
|
-
- 0
|
230
|
-
version: "0"
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
231
165
|
type: :development
|
232
|
-
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *70240587911160
|
233
168
|
description: Scripts to interact with the Brightbox cloud API
|
234
|
-
email:
|
169
|
+
email:
|
235
170
|
- john@brightbox.co.uk
|
236
|
-
executables:
|
171
|
+
executables:
|
237
172
|
- brightbox-accounts
|
238
173
|
- brightbox-cloudips
|
239
174
|
- brightbox-config
|
@@ -247,10 +182,8 @@ executables:
|
|
247
182
|
- brightbox-users
|
248
183
|
- brightbox-zones
|
249
184
|
extensions: []
|
250
|
-
|
251
185
|
extra_rdoc_files: []
|
252
|
-
|
253
|
-
files:
|
186
|
+
files:
|
254
187
|
- .gitignore
|
255
188
|
- Gemfile
|
256
189
|
- LICENSE
|
@@ -2159,14 +2092,6 @@ files:
|
|
2159
2092
|
- lib/brightbox-cli/vendor/fog/tests/openstack/requests/compute/server_tests.rb
|
2160
2093
|
- lib/brightbox-cli/vendor/fog/tests/rackspace/helper.rb
|
2161
2094
|
- lib/brightbox-cli/vendor/fog/tests/rackspace/load_balancer_tests.rb
|
2162
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_list_tests.rb
|
2163
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/access_lists_tests.rb
|
2164
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancer_tests.rb
|
2165
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/load_balancers_tests.rb
|
2166
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/node_tests.rb
|
2167
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/nodes_tests.rb
|
2168
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ip_tests.rb
|
2169
|
-
- lib/brightbox-cli/vendor/fog/tests/rackspace/models/virtual_ips_tests.rb
|
2170
2095
|
- lib/brightbox-cli/vendor/fog/tests/rackspace/requests/compute/address_tests.rb
|
2171
2096
|
- lib/brightbox-cli/vendor/fog/tests/rackspace/requests/compute/flavor_tests.rb
|
2172
2097
|
- lib/brightbox-cli/vendor/fog/tests/rackspace/requests/compute/helper.rb
|
@@ -2313,41 +2238,31 @@ files:
|
|
2313
2238
|
- spec/spec_helper.rb
|
2314
2239
|
- spec/support/common_helpers.rb
|
2315
2240
|
- tools/bash_completion_script
|
2316
|
-
has_rdoc: true
|
2317
2241
|
homepage: http://docs.brightbox.com/cli
|
2318
2242
|
licenses: []
|
2319
|
-
|
2320
2243
|
post_install_message:
|
2321
2244
|
rdoc_options: []
|
2322
|
-
|
2323
|
-
require_paths:
|
2245
|
+
require_paths:
|
2324
2246
|
- lib
|
2325
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
2247
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
2326
2248
|
none: false
|
2327
|
-
requirements:
|
2328
|
-
- -
|
2329
|
-
- !ruby/object:Gem::Version
|
2330
|
-
|
2331
|
-
|
2332
|
-
- 0
|
2333
|
-
version: "0"
|
2334
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
2249
|
+
requirements:
|
2250
|
+
- - ! '>='
|
2251
|
+
- !ruby/object:Gem::Version
|
2252
|
+
version: '0'
|
2253
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
2335
2254
|
none: false
|
2336
|
-
requirements:
|
2337
|
-
- -
|
2338
|
-
- !ruby/object:Gem::Version
|
2339
|
-
|
2340
|
-
segments:
|
2341
|
-
- 0
|
2342
|
-
version: "0"
|
2255
|
+
requirements:
|
2256
|
+
- - ! '>='
|
2257
|
+
- !ruby/object:Gem::Version
|
2258
|
+
version: '0'
|
2343
2259
|
requirements: []
|
2344
|
-
|
2345
2260
|
rubyforge_project: brightbox-cli
|
2346
|
-
rubygems_version: 1.
|
2261
|
+
rubygems_version: 1.8.17
|
2347
2262
|
signing_key:
|
2348
2263
|
specification_version: 3
|
2349
2264
|
summary: The Brightbox cloud management system
|
2350
|
-
test_files:
|
2265
|
+
test_files:
|
2351
2266
|
- spec/brightbox/config.example
|
2352
2267
|
- spec/cloud_ips_spec.rb
|
2353
2268
|
- spec/firewall_policy_spec.rb
|