Sha256: 7b9466b35fa6d195bca4d9b60af7571c0075620554697ba31d06e78a57f1100d
Contents?: true
Size: 1.16 KB
Versions: 13
Compression:
Stored size: 1.16 KB
Contents
require 'pansophy/version' module Pansophy def self.connection @connection ||= Connection.aws end def self.pull(bucket_name, remote_directory, local_directory, options = {}) Synchronizer.new(bucket_name, remote_directory, local_directory).pull(options) end def self.merge(bucket_name, remote_directory, local_directory, options = {}) Synchronizer.new(bucket_name, remote_directory, local_directory).merge(options) end def self.push(bucket_name, remote_directory, local_directory, options = {}) Synchronizer.new(bucket_name, remote_directory, local_directory).push(options) end def self.fetch(bucket_name, path) Remote::FetchFile.new(bucket_name, path).call end def self.read(bucket_name, path) Remote::ReadFileBody.new(bucket_name, path).call end def self.head(bucket_name, path) Remote::ReadFileHead.new(bucket_name, path).call end end require 'fog/aws' require 'singleton' require 'adamantium' require 'pansophy/helpers' require 'pansophy/connection' require 'pansophy/remote' require 'pansophy/local' require 'pansophy/synchronizer' require 'pansophy/config_synchronizer' require 'pansophy/railtie' if defined?(Rails)
Version data entries
13 entries across 13 versions & 1 rubygems