lib/brightbox-cli/vendor/fog/lib/fog/storage.rb in brightbox-cli-0.13.1 vs lib/brightbox-cli/vendor/fog/lib/fog/storage.rb in brightbox-cli-0.14.0

- old
+ new

@@ -7,22 +7,22 @@ def self.new(attributes) attributes = attributes.dup # prevent delete from having side effects case provider = attributes.delete(:provider).to_s.downcase.to_sym when :aws - require 'fog/storage/aws' + require 'fog/aws/storage' Fog::Storage::AWS.new(attributes) when :google - require 'fog/storage/google' + require 'fog/google/storage' Fog::Storage::Google.new(attributes) when :local - require 'fog/storage/local' + require 'fog/local/storage' Fog::Storage::Local.new(attributes) when :ninefold - require 'fog/storage/ninefold' + require 'fog/ninefold/storage' Fog::Storage::Ninefold.new(attributes) when :rackspace - require 'fog/storage/rackspace' + require 'fog/rackspace/storage' Fog::Storage::Rackspace.new(attributes) else raise ArgumentError.new("#{provider} is not a recognized storage provider") end end