Sha256: 7620a300c4665d90240a09a06384be5edd30dfe12ab33bc66fc403efe45a31e1

Contents?: true

Size: 437 Bytes

Versions: 9

Compression:

Stored size: 437 Bytes

Contents

require 'fog/core'

module Fog
  module Local

    extend Fog::Provider

    service(:storage, 'storage/local')

    def self.new(attributes = {})
      location = caller.first
      warning = "[yellow][WARN] Fog::Local#new is deprecated, use Fog::Local::Storage#new instead[/]"
      warning << " [light_black](" << location << ")[/] "
      Formatador.display_line(warning)
      Fog::Local::Storage.new(attributes)
    end

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fog-0.5.3 lib/fog/providers/local.rb
fog-0.5.2 lib/fog/providers/local.rb
fog-0.5.1 lib/fog/providers/local.rb
fog-0.5.0 lib/fog/providers/local.rb
phpfog-fog-0.4.1.3 lib/fog/providers/local.rb
phpfog-fog-0.4.1.2 lib/fog/providers/local.rb
phpfog-fog-0.4.1.1 lib/fog/providers/local.rb
phpfog-fog-0.4.1 lib/fog/providers/local.rb
fog-0.4.1 lib/fog/providers/local.rb