Module: Gush

Defined in:
lib/gush.rb,
lib/gush/cli.rb,
lib/gush/job.rb,
lib/gush/json.rb,
lib/gush/graph.rb,
lib/gush/client.rb,
lib/gush/errors.rb,
lib/gush/worker.rb,
lib/gush/version.rb,
lib/gush/workflow.rb,
lib/gush/migration.rb,
lib/gush/cli/overview.rb,
lib/gush/configuration.rb,
lib/gush/migrate/1_create_gush_workflows_created.rb

Defined Under Namespace

Classes: CLI, Client, Configuration, DependencyLevelTooDeep, Graph, IndexWorkflowsByCreatedAtAndExpiresAt, JSON, Job, Migration, Worker, Workflow, WorkflowNotFound

Constant Summary collapse

VERSION =
'4.2.0'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject



31
32
33
# File 'lib/gush.rb', line 31

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

.configure {|configuration| ... } ⇒ Object

Yields:



35
36
37
# File 'lib/gush.rb', line 35

def self.configure
  yield configuration
end

.gushfileObject



23
24
25
# File 'lib/gush.rb', line 23

def self.gushfile
  configuration.gushfile
end

.rootObject



27
28
29
# File 'lib/gush.rb', line 27

def self.root
  Pathname.new(__FILE__).parent.parent
end