Sha256: be104223e0e94a3e8bc459a72153ac2735150ace1daeb5b0eb82165585e57d23
Contents?: true
Size: 461 Bytes
Versions: 15
Compression:
Stored size: 461 Bytes
Contents
module Lono class FileUploader < AbstractBase extend Memoist def initialize(options={}) super @checksums = {} @prefix = "#{Lono.env}/#{blueprint}/files" # s3://s3-bucket/folder/development/files end def upload_all puts "Uploading app/files.." load_checksums! Dir.glob(pattern).each do |path| next if ::File.directory?(path) Lono::S3::Uploader.new(path).upload end end end end
Version data entries
15 entries across 15 versions & 1 rubygems