Sha256: ef684a792ed85e3457fee475702b794dfacf7564e73239b367c4f19a12b40f8c
Contents?: true
Size: 767 Bytes
Versions: 2
Compression:
Stored size: 767 Bytes
Contents
require 'fileutils' require 'pathname' require 'logger' require 'securerandom' require 'yaml' require 'json' require 'forwardable' require 'aws-sdk' require "bubbles/version" require "bubbles/config" require "bubbles/command_queue" require "bubbles/bubblicious_file" require "bubbles/dir_watcher" require 'bubbles/common_uploader_interface' require "bubbles/uploaders/s3" require "bubbles/uploaders/local_dir" module Bubbles extend self def config @config ||= Config.new end def run command_queue = Bubbles::CommandQueue.new(config: config) command_queue << Bubbles::DirWatcher.new({ config: config, command_queue: command_queue }) loop do command_queue.call_next sleep config.sleep_interval end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bubbles-0.0.4.1 | lib/bubbles.rb |
bubbles-0.0.4 | lib/bubbles.rb |