Sha256: 8ef4d646ece5317eb1003ab629144ac972abe8755187cb8bf4a6f55c9d112848

Contents?: true

Size: 1.44 KB

Versions: 7

Compression:

Stored size: 1.44 KB

Contents

# frozen_string_literal: true
# encoding: UTF-8

# Requirements
# =======================================================================

# Stdlib
# -----------------------------------------------------------------------
require 'pp'
require 'pathname'
require 'shellwords'

# Deps
# -----------------------------------------------------------------------
require 'nrser'
require 'cmds'

# Project / Package
# -----------------------------------------------------------------------
require 'locd/version'
require 'locd/errors'
require 'locd/config'
require 'locd/util'
require 'locd/label'
require 'locd/pattern'
require 'locd/launchctl'
require 'locd/newsyslog'
require 'locd/agent'
require 'locd/proxy'


# Definitions
# =======================================================================

module Locd
  
  # Constants
  # ======================================================================
  
  # {Regexp} to match HTTP "Host" header line.
  # 
  # @return [Regexp]
  # 
  HOST_RE = /^Host\:\ /i
  
  
  ROTATE_LOGS_LABEL = 'com.nrser.locd.rotate-logs'
  
  
  # Mixins
  # ============================================================================
  
  # Add {.logger} and {#logger} methods
  include NRSER::Log::Mixin
  
  
  # Module Methods
  # ======================================================================
  
  # @return [Locd::Config]
  #   The configuration.
  # 
  def self.config
    @config ||= Locd::Config.new
  end
  
end # module Locd

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
locd-0.1.12 lib/locd.rb
locd-0.1.11 lib/locd.rb
locd-0.1.10 lib/locd.rb
locd-0.1.9 lib/locd.rb
locd-0.1.8 lib/locd.rb
locd-0.1.7 lib/locd.rb
locd-0.1.6 lib/locd.rb