Sha256: cdc363738a6b48bb31c345313b0846076cf32b05ca939992204ac9db049e3f68

Contents?: true

Size: 471 Bytes

Versions: 2

Compression:

Stored size: 471 Bytes

Contents

require "logger"
require "yaml"

require "pups/version"
require "pups/config"
require "pups/command"
require "pups/exec_command"
require "pups/merge_command"
require "pups/replace_command"
require "pups/file_command"

require "pups/runit"

module Pups
  class ExecError < RuntimeError
    attr_accessor :exit_code
  end

  def self.log
    # at the moment docker likes this
    @logger ||= Logger.new(STDERR)
  end

  def self.log=(logger)
    @logger = logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pups-1.0.3 lib/pups.rb
pups-1.0.2 lib/pups.rb