Sha256: 113c1097028360f6210329258666881d9cee1c43684cc3b702fd1d74cdbc7f90

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

require 'git'
require 'logger'

require 'restore_bundled_with/error'
require 'restore_bundled_with/lock'
require 'restore_bundled_with/repository'
require 'restore_bundled_with/version'

module RestoreBundledWith
  ISSUE_URL = 'https://github.com/packsaddle/ruby-restore_bundled_with/issues/new'
  def self.default_logger
    logger = Logger.new(STDERR)
    logger.progname = "RestoreBundledWith #{VERSION}"
    logger.level = Logger::WARN
    logger
  end

  def self.logger
    return @logger if @logger
    @logger = default_logger
  end

  class << self
    attr_writer :logger
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restore_bundled_with-0.3.0 lib/restore_bundled_with.rb
restore_bundled_with-0.2.0 lib/restore_bundled_with.rb