Sha256: 46ac6710976dbc0f3b79221fc733773cfacca4505d503e45cb8085b3e52939c8

Contents?: true

Size: 966 Bytes

Versions: 4

Compression:

Stored size: 966 Bytes

Contents

require "yaml"
require "json"
require "hash_validator"
require 'aws-sdk'
require 'logger'
require 'jflow_exceptions'
require "jflow/version"
require "jflow/configuration.rb"
require "jflow/domain.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/termination_protector.rb"
require "jflow/stats.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|
      path = File.join(ENV['APP_ROOT'], path) if ENV['APP_ROOT']
      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.5.0 lib/jflow.rb
jflow-0.4.5 lib/jflow.rb
jflow-0.4.4 lib/jflow.rb
jflow-0.4.3 lib/jflow.rb