Sha256: 8d2bba0dd342a0c47880d4971f9e416379983aba2debad7e5a93382e1dd9ac43

Contents?: true

Size: 590 Bytes

Versions: 3

Compression:

Stored size: 590 Bytes

Contents

# encoding: utf-8

require "dyno_scaler/version"
require "active_support/core_ext/class/attribute"
require "heroku-api"

module DynoScaler
  autoload :Configuration, 'dyno_scaler/configuration'
  autoload :Heroku,        'dyno_scaler/heroku'
  autoload :Manager,       'dyno_scaler/manager'
  autoload :Workers,       'dyno_scaler/workers'

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

  def self.manager
    @manager ||= Manager.new
  end

  def self.reset!
    @configuration = nil
    @manager = nil
  end
end

require "dyno_scaler/engine" if defined?(Rails)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dyno_scaler-0.3.0 lib/dyno_scaler.rb
dyno_scaler-0.2.0 lib/dyno_scaler.rb
dyno_scaler-0.1.0 lib/dyno_scaler.rb