Sha256: 07d41c1a40b34cb1eed6d7b5a5e36186bb1b30169f936c5fdcb038b14e6a108a
Contents?: true
Size: 1.59 KB
Versions: 2
Compression:
Stored size: 1.59 KB
Contents
# frozen_string_literal: true # encoding: UTF-8 # Requirements # ======================================================================= # Stdlib # ----------------------------------------------------------------------- require 'pp' require 'pathname' require 'shellwords' # Deps # ----------------------------------------------------------------------- require 'nrser' require 'semantic_logger' require 'cmds' # Project / Package # ----------------------------------------------------------------------- require 'locd/version' require 'locd/errors' require 'locd/config' require 'locd/util' require 'locd/logging' require 'locd/label' require 'locd/pattern' require 'locd/launchctl' require 'locd/newsyslog' require 'locd/agent' require 'locd/proxy' # Refinements # ======================================================================= using NRSER # 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 SemanticLogger::Loggable # Module Methods # ====================================================================== # @return [Locd::Config] # The configuration. # def self.config @config ||= Locd::Config.new end end # module Locd
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
locd-0.1.4 | lib/locd.rb |
locd-0.1.3 | lib/locd.rb |