Sha256: 32428304ee5095e501852e5841c589da924c22d42c6c279fffc6225bd06b6e0d

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

require "yaml"
require "json"
require "hash_validator"
require 'aws-sdk'
require 'logger'
require "jflow/version"
require "jflow/configuration.rb"
require "jflow/activity/definition.rb"
require "jflow/activity/mixin.rb"
require "jflow/activity/task.rb"
require "jflow/activity/map.rb"
require "jflow/activity/worker.rb"
require "jflow/worker_thread.rb"
require "jflow/cli.rb"

module JFlow
  class << self
    attr_writer :configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configure
    yield(configuration)
  end

  def self.load_activities
    configuration.load_paths.each do |path|
      Dir["#{path}/*.rb"].each do |file|
        configuration.logger.debug "found #{file}"
        require file
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jflow-0.3.1 lib/jflow.rb
jflow-0.3.0 lib/jflow.rb
jflow-0.2.9 lib/jflow.rb
jflow-0.2.8 lib/jflow.rb