Sha256: e9ced76e3b708b32f822a49d5fd4a7921528b9d437635efebd7ce65beb91432d

Contents?: true

Size: 528 Bytes

Versions: 8

Compression:

Stored size: 528 Bytes

Contents

puts "Ruby version #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"

%w( rubygems aws-sdk fileutils confo-config shellwords ).each { |el| require(el) }

%w( abstract_storage abstract_storage_config abstract_storage_object
   s3_storage s3_config s3_object
   features task performer ).each { |el| require_relative("backup-agent/#{el}") }

module Backup
  class << self
    def perform(storage, &block)
      Performer.new.perform_backup(storage, Task.new(&block))
    end

    def features
      @features ||= Features.new
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
backup-agent-1.0.9 lib/backup-agent.rb
backup-agent-1.0.8 lib/backup-agent.rb
backup-agent-1.0.7 lib/backup-agent.rb
backup-agent-1.0.6 lib/backup-agent.rb
backup-agent-1.0.5 lib/backup-agent.rb
backup-agent-1.0.4 lib/backup-agent.rb
backup-agent-1.0.3 lib/backup-agent.rb
backup-agent-1.0.2 lib/backup-agent.rb