Sha256: 34681f12452c93fb30891cadb6e50452951e1e138cfe6c04804b1ce927f124db

Contents?: true

Size: 480 Bytes

Versions: 4

Compression:

Stored size: 480 Bytes

Contents

require File.join(File.dirname(__FILE__), 'core')

module Fog
  module Local

    extend Fog::Provider

    service_path 'fog/local'
    service 'storage'

    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

4 entries across 4 versions & 1 rubygems

Version Path
fog-0.4.0 lib/fog/local.rb
fog-0.3.34 lib/fog/local.rb
fog-0.3.33 lib/fog/local.rb
fog-0.3.32 lib/fog/local.rb