From 192c0c098bc41eb18e123ccee16c4f37e2885b93 Mon Sep 17 00:00:00 2001 From: Paul Thornthwaite Date: Wed, 19 Feb 2014 21:33:59 +0000 Subject: [PATCH] [Brightbox] Extract to provider module --- fog.gemspec | 3 ++ providers/brightbox/fog-brightbox.gemspec | 28 +++++++++++++++++++ .../brightbox/lib}/fog/brightbox.rb | 0 .../brightbox/lib}/fog/brightbox/compute.rb | 0 .../fog/brightbox/compute/image_selector.rb | 0 .../lib}/fog/brightbox/compute/shared.rb | 0 .../brightbox/lib}/fog/brightbox/core.rb | 0 .../fog/brightbox/models/compute/account.rb | 0 .../fog/brightbox/models/compute/accounts.rb | 0 .../brightbox/models/compute/api_client.rb | 0 .../brightbox/models/compute/api_clients.rb | 0 .../brightbox/models/compute/application.rb | 0 .../brightbox/models/compute/applications.rb | 0 .../fog/brightbox/models/compute/cloud_ip.rb | 0 .../fog/brightbox/models/compute/cloud_ips.rb | 0 .../brightbox/models/compute/collaboration.rb | 0 .../models/compute/collaborations.rb | 0 .../models/compute/database_server.rb | 0 .../models/compute/database_servers.rb | 0 .../models/compute/database_snapshot.rb | 0 .../models/compute/database_snapshots.rb | 0 .../brightbox/models/compute/database_type.rb | 0 .../models/compute/database_types.rb | 0 .../models/compute/firewall_policies.rb | 0 .../models/compute/firewall_policy.rb | 0 .../brightbox/models/compute/firewall_rule.rb | 0 .../models/compute/firewall_rules.rb | 0 .../fog/brightbox/models/compute/flavor.rb | 0 .../fog/brightbox/models/compute/flavors.rb | 0 .../fog/brightbox/models/compute/image.rb | 0 .../fog/brightbox/models/compute/images.rb | 0 .../brightbox/models/compute/load_balancer.rb | 0 .../models/compute/load_balancers.rb | 0 .../fog/brightbox/models/compute/server.rb | 0 .../brightbox/models/compute/server_group.rb | 0 .../brightbox/models/compute/server_groups.rb | 0 .../fog/brightbox/models/compute/servers.rb | 0 .../lib}/fog/brightbox/models/compute/user.rb | 0 .../models/compute/user_collaboration.rb | 0 .../models/compute/user_collaborations.rb | 0 .../fog/brightbox/models/compute/users.rb | 0 .../lib}/fog/brightbox/models/compute/zone.rb | 0 .../fog/brightbox/models/compute/zones.rb | 0 .../brightbox/lib}/fog/brightbox/oauth2.rb | 0 .../compute/accept_user_collaboration.rb | 0 .../compute/activate_console_server.rb | 0 .../compute/add_listeners_load_balancer.rb | 0 .../compute/add_nodes_load_balancer.rb | 0 .../compute/add_servers_server_group.rb | 0 .../compute/apply_to_firewall_policy.rb | 0 .../requests/compute/create_api_client.rb | 0 .../requests/compute/create_application.rb | 0 .../requests/compute/create_cloud_ip.rb | 0 .../requests/compute/create_collaboration.rb | 0 .../compute/create_database_server.rb | 0 .../compute/create_firewall_policy.rb | 0 .../requests/compute/create_firewall_rule.rb | 0 .../requests/compute/create_image.rb | 0 .../requests/compute/create_load_balancer.rb | 0 .../requests/compute/create_server.rb | 0 .../requests/compute/create_server_group.rb | 0 .../requests/compute/delete_api_client.rb | 0 .../requests/compute/delete_application.rb | 0 .../requests/compute/delete_cloud_ip.rb | 0 .../requests/compute/delete_collaboration.rb | 0 .../compute/delete_database_server.rb | 0 .../compute/delete_database_snapshot.rb | 0 .../compute/delete_firewall_policy.rb | 0 .../requests/compute/delete_firewall_rule.rb | 0 .../requests/compute/delete_image.rb | 0 .../requests/compute/delete_load_balancer.rb | 0 .../requests/compute/delete_server.rb | 0 .../requests/compute/delete_server_group.rb | 0 .../compute/delete_user_collaboration.rb | 0 .../brightbox/requests/compute/get_account.rb | 0 .../requests/compute/get_api_client.rb | 0 .../requests/compute/get_application.rb | 0 .../compute/get_authenticated_user.rb | 0 .../requests/compute/get_cloud_ip.rb | 0 .../requests/compute/get_collaboration.rb | 0 .../requests/compute/get_database_server.rb | 0 .../requests/compute/get_database_snapshot.rb | 0 .../requests/compute/get_database_type.rb | 0 .../requests/compute/get_firewall_policy.rb | 0 .../requests/compute/get_firewall_rule.rb | 0 .../brightbox/requests/compute/get_image.rb | 0 .../requests/compute/get_interface.rb | 0 .../requests/compute/get_load_balancer.rb | 0 .../requests/compute/get_scoped_account.rb | 0 .../brightbox/requests/compute/get_server.rb | 0 .../requests/compute/get_server_group.rb | 0 .../requests/compute/get_server_type.rb | 0 .../brightbox/requests/compute/get_user.rb | 0 .../compute/get_user_collaboration.rb | 0 .../brightbox/requests/compute/get_zone.rb | 0 .../requests/compute/list_accounts.rb | 0 .../requests/compute/list_api_clients.rb | 0 .../requests/compute/list_applications.rb | 0 .../requests/compute/list_cloud_ips.rb | 0 .../requests/compute/list_collaborations.rb | 0 .../requests/compute/list_database_servers.rb | 0 .../compute/list_database_snapshots.rb | 0 .../requests/compute/list_database_types.rb | 0 .../compute/list_firewall_policies.rb | 0 .../brightbox/requests/compute/list_images.rb | 0 .../requests/compute/list_load_balancers.rb | 0 .../requests/compute/list_server_groups.rb | 0 .../requests/compute/list_server_types.rb | 0 .../requests/compute/list_servers.rb | 0 .../compute/list_user_collaborations.rb | 0 .../brightbox/requests/compute/list_users.rb | 0 .../brightbox/requests/compute/list_zones.rb | 0 .../requests/compute/map_cloud_ip.rb | 0 .../compute/move_servers_server_group.rb | 0 .../compute/reject_user_collaboration.rb | 0 .../compute/remove_firewall_policy.rb | 0 .../compute/remove_listeners_load_balancer.rb | 0 .../compute/remove_nodes_load_balancer.rb | 0 .../compute/remove_servers_server_group.rb | 0 .../requests/compute/resend_collaboration.rb | 0 .../compute/reset_ftp_password_account.rb | 0 .../reset_ftp_password_scoped_account.rb | 0 .../compute/reset_password_database_server.rb | 0 .../compute/reset_secret_api_client.rb | 0 .../compute/reset_secret_application.rb | 0 .../requests/compute/shutdown_server.rb | 0 .../compute/snapshot_database_server.rb | 0 .../requests/compute/snapshot_server.rb | 0 .../requests/compute/start_server.rb | 0 .../brightbox/requests/compute/stop_server.rb | 0 .../requests/compute/unmap_cloud_ip.rb | 0 .../requests/compute/update_account.rb | 0 .../requests/compute/update_api_client.rb | 0 .../requests/compute/update_application.rb | 0 .../requests/compute/update_cloud_ip.rb | 0 .../compute/update_database_server.rb | 0 .../compute/update_database_snapshot.rb | 0 .../compute/update_firewall_policy.rb | 0 .../requests/compute/update_firewall_rule.rb | 0 .../requests/compute/update_image.rb | 0 .../requests/compute/update_load_balancer.rb | 0 .../requests/compute/update_scoped_account.rb | 0 .../requests/compute/update_server.rb | 0 .../requests/compute/update_server_group.rb | 0 .../brightbox/requests/compute/update_user.rb | 0 .../brightbox/lib/fog/brightbox/version.rb | 5 ++++ 146 files changed, 36 insertions(+) create mode 100644 providers/brightbox/fog-brightbox.gemspec rename {lib => providers/brightbox/lib}/fog/brightbox.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/compute.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/compute/image_selector.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/compute/shared.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/core.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/accounts.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/api_clients.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/applications.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/cloud_ips.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/collaborations.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_servers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshot.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_snapshots.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_type.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/database_types.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policies.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rule.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/firewall_rules.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/flavor.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/flavors.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/image.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/images.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/load_balancers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/server_groups.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/servers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/user.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/user_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/user_collaborations.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/users.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/zone.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/models/compute/zones.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/oauth2.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/accept_user_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/activate_console_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/add_listeners_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/add_nodes_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/add_servers_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/apply_to_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_firewall_rule.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_image.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/create_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_database_snapshot.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_firewall_rule.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_image.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/delete_user_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_authenticated_user.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_snapshot.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_database_type.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_firewall_rule.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_image.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_interface.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_scoped_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_server_type.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_user.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_user_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/get_zone.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_accounts.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_api_clients.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_applications.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_cloud_ips.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_collaborations.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_servers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_snapshots.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_database_types.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_firewall_policies.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_images.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_load_balancers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_groups.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_server_types.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_servers.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_user_collaborations.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_users.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/list_zones.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/map_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/move_servers_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reject_user_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/remove_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/remove_servers_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/resend_collaboration.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reset_password_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/reset_secret_application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/shutdown_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/snapshot_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/start_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/stop_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/unmap_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_api_client.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_application.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_cloud_ip.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_database_snapshot.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_policy.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_firewall_rule.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_image.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_load_balancer.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_scoped_account.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_server.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_server_group.rb (100%) rename {lib => providers/brightbox/lib}/fog/brightbox/requests/compute/update_user.rb (100%) create mode 100644 providers/brightbox/lib/fog/brightbox/version.rb diff --git a/fog.gemspec b/fog.gemspec index 6e52919b0..90d6beeaf 100644 --- a/fog.gemspec +++ b/fog.gemspec @@ -52,6 +52,9 @@ Gem::Specification.new do |s| s.add_dependency('net-ssh', '>=2.1.3') s.add_dependency('nokogiri', '>=1.5.11') + # Modular providers + s.add_dependency("fog-brightbox") + ## List your development dependencies here. Development dependencies are ## those that are only needed during development s.add_development_dependency('jekyll') unless RUBY_PLATFORM == 'java' diff --git a/providers/brightbox/fog-brightbox.gemspec b/providers/brightbox/fog-brightbox.gemspec new file mode 100644 index 000000000..10fa09cf4 --- /dev/null +++ b/providers/brightbox/fog-brightbox.gemspec @@ -0,0 +1,28 @@ +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'fog/brightbox/version' + +Gem::Specification.new do |spec| + spec.name = "fog-brightbox" + spec.version = Fog::Brightbox::VERSION + spec.authors = ["Paul Thornthwaite"] + spec.email = ["tokengeek@gmail.com"] + spec.description = %q{Module for the 'fog' gem to support Brightbox Cloud} + spec.summary = %q{This library can be used as a module for `fog` or as standalone provider + to use the Brightbox Cloud in applications} + spec.homepage = "" + spec.license = "MIT" + + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] + + spec.add_dependency "fog-core" + spec.add_dependency "fog-json" + + spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "rake" + spec.add_development_dependency "shindo" +end diff --git a/lib/fog/brightbox.rb b/providers/brightbox/lib/fog/brightbox.rb similarity index 100% rename from lib/fog/brightbox.rb rename to providers/brightbox/lib/fog/brightbox.rb diff --git a/lib/fog/brightbox/compute.rb b/providers/brightbox/lib/fog/brightbox/compute.rb similarity index 100% rename from lib/fog/brightbox/compute.rb rename to providers/brightbox/lib/fog/brightbox/compute.rb diff --git a/lib/fog/brightbox/compute/image_selector.rb b/providers/brightbox/lib/fog/brightbox/compute/image_selector.rb similarity index 100% rename from lib/fog/brightbox/compute/image_selector.rb rename to providers/brightbox/lib/fog/brightbox/compute/image_selector.rb diff --git a/lib/fog/brightbox/compute/shared.rb b/providers/brightbox/lib/fog/brightbox/compute/shared.rb similarity index 100% rename from lib/fog/brightbox/compute/shared.rb rename to providers/brightbox/lib/fog/brightbox/compute/shared.rb diff --git a/lib/fog/brightbox/core.rb b/providers/brightbox/lib/fog/brightbox/core.rb similarity index 100% rename from lib/fog/brightbox/core.rb rename to providers/brightbox/lib/fog/brightbox/core.rb diff --git a/lib/fog/brightbox/models/compute/account.rb b/providers/brightbox/lib/fog/brightbox/models/compute/account.rb similarity index 100% rename from lib/fog/brightbox/models/compute/account.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/account.rb diff --git a/lib/fog/brightbox/models/compute/accounts.rb b/providers/brightbox/lib/fog/brightbox/models/compute/accounts.rb similarity index 100% rename from lib/fog/brightbox/models/compute/accounts.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/accounts.rb diff --git a/lib/fog/brightbox/models/compute/api_client.rb b/providers/brightbox/lib/fog/brightbox/models/compute/api_client.rb similarity index 100% rename from lib/fog/brightbox/models/compute/api_client.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/api_client.rb diff --git a/lib/fog/brightbox/models/compute/api_clients.rb b/providers/brightbox/lib/fog/brightbox/models/compute/api_clients.rb similarity index 100% rename from lib/fog/brightbox/models/compute/api_clients.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/api_clients.rb diff --git a/lib/fog/brightbox/models/compute/application.rb b/providers/brightbox/lib/fog/brightbox/models/compute/application.rb similarity index 100% rename from lib/fog/brightbox/models/compute/application.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/application.rb diff --git a/lib/fog/brightbox/models/compute/applications.rb b/providers/brightbox/lib/fog/brightbox/models/compute/applications.rb similarity index 100% rename from lib/fog/brightbox/models/compute/applications.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/applications.rb diff --git a/lib/fog/brightbox/models/compute/cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/models/compute/cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/models/compute/cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/cloud_ip.rb diff --git a/lib/fog/brightbox/models/compute/cloud_ips.rb b/providers/brightbox/lib/fog/brightbox/models/compute/cloud_ips.rb similarity index 100% rename from lib/fog/brightbox/models/compute/cloud_ips.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/cloud_ips.rb diff --git a/lib/fog/brightbox/models/compute/collaboration.rb b/providers/brightbox/lib/fog/brightbox/models/compute/collaboration.rb similarity index 100% rename from lib/fog/brightbox/models/compute/collaboration.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/collaboration.rb diff --git a/lib/fog/brightbox/models/compute/collaborations.rb b/providers/brightbox/lib/fog/brightbox/models/compute/collaborations.rb similarity index 100% rename from lib/fog/brightbox/models/compute/collaborations.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/collaborations.rb diff --git a/lib/fog/brightbox/models/compute/database_server.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_server.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_server.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_server.rb diff --git a/lib/fog/brightbox/models/compute/database_servers.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_servers.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_servers.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_servers.rb diff --git a/lib/fog/brightbox/models/compute/database_snapshot.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_snapshot.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_snapshot.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_snapshot.rb diff --git a/lib/fog/brightbox/models/compute/database_snapshots.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_snapshots.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_snapshots.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_snapshots.rb diff --git a/lib/fog/brightbox/models/compute/database_type.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_type.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_type.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_type.rb diff --git a/lib/fog/brightbox/models/compute/database_types.rb b/providers/brightbox/lib/fog/brightbox/models/compute/database_types.rb similarity index 100% rename from lib/fog/brightbox/models/compute/database_types.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/database_types.rb diff --git a/lib/fog/brightbox/models/compute/firewall_policies.rb b/providers/brightbox/lib/fog/brightbox/models/compute/firewall_policies.rb similarity index 100% rename from lib/fog/brightbox/models/compute/firewall_policies.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/firewall_policies.rb diff --git a/lib/fog/brightbox/models/compute/firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/models/compute/firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/models/compute/firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/firewall_policy.rb diff --git a/lib/fog/brightbox/models/compute/firewall_rule.rb b/providers/brightbox/lib/fog/brightbox/models/compute/firewall_rule.rb similarity index 100% rename from lib/fog/brightbox/models/compute/firewall_rule.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/firewall_rule.rb diff --git a/lib/fog/brightbox/models/compute/firewall_rules.rb b/providers/brightbox/lib/fog/brightbox/models/compute/firewall_rules.rb similarity index 100% rename from lib/fog/brightbox/models/compute/firewall_rules.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/firewall_rules.rb diff --git a/lib/fog/brightbox/models/compute/flavor.rb b/providers/brightbox/lib/fog/brightbox/models/compute/flavor.rb similarity index 100% rename from lib/fog/brightbox/models/compute/flavor.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/flavor.rb diff --git a/lib/fog/brightbox/models/compute/flavors.rb b/providers/brightbox/lib/fog/brightbox/models/compute/flavors.rb similarity index 100% rename from lib/fog/brightbox/models/compute/flavors.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/flavors.rb diff --git a/lib/fog/brightbox/models/compute/image.rb b/providers/brightbox/lib/fog/brightbox/models/compute/image.rb similarity index 100% rename from lib/fog/brightbox/models/compute/image.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/image.rb diff --git a/lib/fog/brightbox/models/compute/images.rb b/providers/brightbox/lib/fog/brightbox/models/compute/images.rb similarity index 100% rename from lib/fog/brightbox/models/compute/images.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/images.rb diff --git a/lib/fog/brightbox/models/compute/load_balancer.rb b/providers/brightbox/lib/fog/brightbox/models/compute/load_balancer.rb similarity index 100% rename from lib/fog/brightbox/models/compute/load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/load_balancer.rb diff --git a/lib/fog/brightbox/models/compute/load_balancers.rb b/providers/brightbox/lib/fog/brightbox/models/compute/load_balancers.rb similarity index 100% rename from lib/fog/brightbox/models/compute/load_balancers.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/load_balancers.rb diff --git a/lib/fog/brightbox/models/compute/server.rb b/providers/brightbox/lib/fog/brightbox/models/compute/server.rb similarity index 100% rename from lib/fog/brightbox/models/compute/server.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/server.rb diff --git a/lib/fog/brightbox/models/compute/server_group.rb b/providers/brightbox/lib/fog/brightbox/models/compute/server_group.rb similarity index 100% rename from lib/fog/brightbox/models/compute/server_group.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/server_group.rb diff --git a/lib/fog/brightbox/models/compute/server_groups.rb b/providers/brightbox/lib/fog/brightbox/models/compute/server_groups.rb similarity index 100% rename from lib/fog/brightbox/models/compute/server_groups.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/server_groups.rb diff --git a/lib/fog/brightbox/models/compute/servers.rb b/providers/brightbox/lib/fog/brightbox/models/compute/servers.rb similarity index 100% rename from lib/fog/brightbox/models/compute/servers.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/servers.rb diff --git a/lib/fog/brightbox/models/compute/user.rb b/providers/brightbox/lib/fog/brightbox/models/compute/user.rb similarity index 100% rename from lib/fog/brightbox/models/compute/user.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/user.rb diff --git a/lib/fog/brightbox/models/compute/user_collaboration.rb b/providers/brightbox/lib/fog/brightbox/models/compute/user_collaboration.rb similarity index 100% rename from lib/fog/brightbox/models/compute/user_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/user_collaboration.rb diff --git a/lib/fog/brightbox/models/compute/user_collaborations.rb b/providers/brightbox/lib/fog/brightbox/models/compute/user_collaborations.rb similarity index 100% rename from lib/fog/brightbox/models/compute/user_collaborations.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/user_collaborations.rb diff --git a/lib/fog/brightbox/models/compute/users.rb b/providers/brightbox/lib/fog/brightbox/models/compute/users.rb similarity index 100% rename from lib/fog/brightbox/models/compute/users.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/users.rb diff --git a/lib/fog/brightbox/models/compute/zone.rb b/providers/brightbox/lib/fog/brightbox/models/compute/zone.rb similarity index 100% rename from lib/fog/brightbox/models/compute/zone.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/zone.rb diff --git a/lib/fog/brightbox/models/compute/zones.rb b/providers/brightbox/lib/fog/brightbox/models/compute/zones.rb similarity index 100% rename from lib/fog/brightbox/models/compute/zones.rb rename to providers/brightbox/lib/fog/brightbox/models/compute/zones.rb diff --git a/lib/fog/brightbox/oauth2.rb b/providers/brightbox/lib/fog/brightbox/oauth2.rb similarity index 100% rename from lib/fog/brightbox/oauth2.rb rename to providers/brightbox/lib/fog/brightbox/oauth2.rb diff --git a/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/accept_user_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/accept_user_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/activate_console_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/activate_console_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/activate_console_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/activate_console_server.rb diff --git a/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/add_listeners_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/add_nodes_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/add_servers_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/add_servers_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/add_servers_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/add_servers_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/apply_to_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/create_api_client.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_api_client.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_api_client.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_api_client.rb diff --git a/lib/fog/brightbox/requests/compute/create_application.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_application.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_application.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_application.rb diff --git a/lib/fog/brightbox/requests/compute/create_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/create_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/create_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/create_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/create_firewall_rule.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_rule.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_firewall_rule.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_firewall_rule.rb diff --git a/lib/fog/brightbox/requests/compute/create_image.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_image.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_image.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_image.rb diff --git a/lib/fog/brightbox/requests/compute/create_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/create_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_server.rb diff --git a/lib/fog/brightbox/requests/compute/create_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/create_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/create_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/create_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/delete_api_client.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_api_client.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_api_client.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_api_client.rb diff --git a/lib/fog/brightbox/requests/compute/delete_application.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_application.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_application.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_application.rb diff --git a/lib/fog/brightbox/requests/compute/delete_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/delete_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/delete_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_database_snapshot.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_database_snapshot.rb diff --git a/lib/fog/brightbox/requests/compute/delete_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/delete_firewall_rule.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_rule.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_firewall_rule.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_firewall_rule.rb diff --git a/lib/fog/brightbox/requests/compute/delete_image.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_image.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_image.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_image.rb diff --git a/lib/fog/brightbox/requests/compute/delete_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/delete_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_server.rb diff --git a/lib/fog/brightbox/requests/compute/delete_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/delete_user_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/delete_user_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/get_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_account.rb diff --git a/lib/fog/brightbox/requests/compute/get_api_client.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_api_client.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_api_client.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_api_client.rb diff --git a/lib/fog/brightbox/requests/compute/get_application.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_application.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_application.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_application.rb diff --git a/lib/fog/brightbox/requests/compute/get_authenticated_user.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_authenticated_user.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_authenticated_user.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_authenticated_user.rb diff --git a/lib/fog/brightbox/requests/compute/get_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/get_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/get_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/get_database_snapshot.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_snapshot.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_database_snapshot.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_database_snapshot.rb diff --git a/lib/fog/brightbox/requests/compute/get_database_type.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_database_type.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_database_type.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_database_type.rb diff --git a/lib/fog/brightbox/requests/compute/get_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/get_firewall_rule.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_rule.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_firewall_rule.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_firewall_rule.rb diff --git a/lib/fog/brightbox/requests/compute/get_image.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_image.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_image.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_image.rb diff --git a/lib/fog/brightbox/requests/compute/get_interface.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_interface.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_interface.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_interface.rb diff --git a/lib/fog/brightbox/requests/compute/get_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/get_scoped_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_scoped_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_scoped_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_scoped_account.rb diff --git a/lib/fog/brightbox/requests/compute/get_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_server.rb diff --git a/lib/fog/brightbox/requests/compute/get_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/get_server_type.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_server_type.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_server_type.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_server_type.rb diff --git a/lib/fog/brightbox/requests/compute/get_user.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_user.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_user.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_user.rb diff --git a/lib/fog/brightbox/requests/compute/get_user_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_user_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_user_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_user_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/get_zone.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/get_zone.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/get_zone.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/get_zone.rb diff --git a/lib/fog/brightbox/requests/compute/list_accounts.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_accounts.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_accounts.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_accounts.rb diff --git a/lib/fog/brightbox/requests/compute/list_api_clients.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_api_clients.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_api_clients.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_api_clients.rb diff --git a/lib/fog/brightbox/requests/compute/list_applications.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_applications.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_applications.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_applications.rb diff --git a/lib/fog/brightbox/requests/compute/list_cloud_ips.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_cloud_ips.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_cloud_ips.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_cloud_ips.rb diff --git a/lib/fog/brightbox/requests/compute/list_collaborations.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_collaborations.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_collaborations.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_collaborations.rb diff --git a/lib/fog/brightbox/requests/compute/list_database_servers.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_servers.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_database_servers.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_database_servers.rb diff --git a/lib/fog/brightbox/requests/compute/list_database_snapshots.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_snapshots.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_database_snapshots.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_database_snapshots.rb diff --git a/lib/fog/brightbox/requests/compute/list_database_types.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_database_types.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_database_types.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_database_types.rb diff --git a/lib/fog/brightbox/requests/compute/list_firewall_policies.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_firewall_policies.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_firewall_policies.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_firewall_policies.rb diff --git a/lib/fog/brightbox/requests/compute/list_images.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_images.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_images.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_images.rb diff --git a/lib/fog/brightbox/requests/compute/list_load_balancers.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_load_balancers.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_load_balancers.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_load_balancers.rb diff --git a/lib/fog/brightbox/requests/compute/list_server_groups.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_server_groups.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_server_groups.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_server_groups.rb diff --git a/lib/fog/brightbox/requests/compute/list_server_types.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_server_types.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_server_types.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_server_types.rb diff --git a/lib/fog/brightbox/requests/compute/list_servers.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_servers.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_servers.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_servers.rb diff --git a/lib/fog/brightbox/requests/compute/list_user_collaborations.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_user_collaborations.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_user_collaborations.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_user_collaborations.rb diff --git a/lib/fog/brightbox/requests/compute/list_users.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_users.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_users.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_users.rb diff --git a/lib/fog/brightbox/requests/compute/list_zones.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/list_zones.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/list_zones.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/list_zones.rb diff --git a/lib/fog/brightbox/requests/compute/map_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/map_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/map_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/map_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/move_servers_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/move_servers_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/move_servers_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/move_servers_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reject_user_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reject_user_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/remove_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/remove_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/remove_listeners_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/remove_nodes_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/remove_servers_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/remove_servers_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/resend_collaboration.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/resend_collaboration.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/resend_collaboration.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/resend_collaboration.rb diff --git a/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_account.rb diff --git a/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reset_ftp_password_scoped_account.rb diff --git a/lib/fog/brightbox/requests/compute/reset_password_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reset_password_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reset_password_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reset_password_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reset_secret_api_client.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_api_client.rb diff --git a/lib/fog/brightbox/requests/compute/reset_secret_application.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_application.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/reset_secret_application.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/reset_secret_application.rb diff --git a/lib/fog/brightbox/requests/compute/shutdown_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/shutdown_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/shutdown_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/shutdown_server.rb diff --git a/lib/fog/brightbox/requests/compute/snapshot_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/snapshot_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/snapshot_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/snapshot_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/snapshot_server.rb diff --git a/lib/fog/brightbox/requests/compute/start_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/start_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/start_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/start_server.rb diff --git a/lib/fog/brightbox/requests/compute/stop_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/stop_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/stop_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/stop_server.rb diff --git a/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/unmap_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/update_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_account.rb diff --git a/lib/fog/brightbox/requests/compute/update_api_client.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_api_client.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_api_client.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_api_client.rb diff --git a/lib/fog/brightbox/requests/compute/update_application.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_application.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_application.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_application.rb diff --git a/lib/fog/brightbox/requests/compute/update_cloud_ip.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_cloud_ip.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_cloud_ip.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_cloud_ip.rb diff --git a/lib/fog/brightbox/requests/compute/update_database_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_database_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_database_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_database_server.rb diff --git a/lib/fog/brightbox/requests/compute/update_database_snapshot.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_database_snapshot.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_database_snapshot.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_database_snapshot.rb diff --git a/lib/fog/brightbox/requests/compute/update_firewall_policy.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_policy.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_firewall_policy.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_policy.rb diff --git a/lib/fog/brightbox/requests/compute/update_firewall_rule.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_rule.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_firewall_rule.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_firewall_rule.rb diff --git a/lib/fog/brightbox/requests/compute/update_image.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_image.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_image.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_image.rb diff --git a/lib/fog/brightbox/requests/compute/update_load_balancer.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_load_balancer.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_load_balancer.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_load_balancer.rb diff --git a/lib/fog/brightbox/requests/compute/update_scoped_account.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_scoped_account.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_scoped_account.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_scoped_account.rb diff --git a/lib/fog/brightbox/requests/compute/update_server.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_server.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_server.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_server.rb diff --git a/lib/fog/brightbox/requests/compute/update_server_group.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_server_group.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_server_group.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_server_group.rb diff --git a/lib/fog/brightbox/requests/compute/update_user.rb b/providers/brightbox/lib/fog/brightbox/requests/compute/update_user.rb similarity index 100% rename from lib/fog/brightbox/requests/compute/update_user.rb rename to providers/brightbox/lib/fog/brightbox/requests/compute/update_user.rb diff --git a/providers/brightbox/lib/fog/brightbox/version.rb b/providers/brightbox/lib/fog/brightbox/version.rb new file mode 100644 index 000000000..7ea353a39 --- /dev/null +++ b/providers/brightbox/lib/fog/brightbox/version.rb @@ -0,0 +1,5 @@ +module Fog + module Brightbox + VERSION = "0.0.1" + end +end