Sha256: 44c95ad684df1aa1f4c7ae2bfbd583665c4eaa8a55e6b3a812e0beaec63d53e4

Contents?: true

Size: 726 Bytes

Versions: 3

Compression:

Stored size: 726 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"

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

3 entries across 3 versions & 1 rubygems

Version Path
jflow-0.2.6 lib/jflow.rb
jflow-0.2.5 lib/jflow.rb
jflow-0.2.0 lib/jflow.rb