lib/fog/storage.rb in fog-0.11.0 vs lib/fog/storage.rb in fog-1.0.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