Sha256: d6b1f1f5f5614b012dfa06a016d2c22725420163a52bed49c4a46e5d75e00b25
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
# Requirements # ======================================================================= # Stdlib # ----------------------------------------------------------------------- # Deps # ----------------------------------------------------------------------- require 'nrser' # Project / Package # ----------------------------------------------------------------------- require 'qb/errors' require 'qb/version' require 'qb/util' require 'qb/path' # Refinements # ======================================================================= using NRSER using NRSER::Types # Definitions # ======================================================================= module QB # Constants # ===================================================================== ROOT = (Pathname.new(__FILE__).dirname + '..').expand_path GEM_ROLES_DIR = ROOT + 'roles' USER_ROLES_DIR = Pathname.new(ENV['HOME']).join '.ansible', 'roles' # Mixins # ===================================================================== include SemanticLogger::Loggable # Support for the old custom debug logging, now sent to {SemanticLogger}. # def self.debug *args if args[0].is_a? String logger.debug *args else # De-array if there's only one arg args = args[0] if args.length == 1 # And send the args to SM as the payload logger.debug payload: args end end end # Post-Processing # ======================================================================= # needs QB::*_ROLES_DIR require 'qb/role' require 'qb/options' require 'qb/repo' require 'qb/cli' require 'qb/ansible' # Depreciated namespace: require 'qb/ansible_module' require 'qb/package' require 'qb/github'
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
qb-0.3.21 | lib/qb.rb |
qb-0.3.20 | lib/qb.rb |
qb-0.3.19 | lib/qb.rb |
qb-0.3.18 | lib/qb.rb |
qb-0.3.17 | lib/qb.rb |