Sha256: ff67008fc2fcc2f774d235e72cc621cff9e335b336af994f8c6a93e7efb79969
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
require "bundler/setup" require "graphviz" require "hiredis" require "pathname" require "redis" require "securerandom" require "sidekiq" require "gush/cli" require "gush/client" require "gush/configuration" require "gush/errors" require "gush/job" require "gush/logger_builder" require "gush/metadata" require "gush/null_logger" require "gush/version" require "gush/worker" require "gush/workflow" module Gush def self.gushfile configuration.gushfile end def self.root Pathname.new(__FILE__).parent.parent end def self.configuration @configuration ||= Configuration.new end def self.configure yield configuration reconfigure_sidekiq_server end def self.reconfigure_sidekiq_server Sidekiq.configure_server do |config| config.redis = { url: configuration.redis_url, queue: configuration.namespace} end end end Gush.reconfigure_sidekiq_server
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gush-0.0.1 | lib/gush.rb |