Sha256: 75b3d29361df326c365f9f9b424bf579e924fb86cbf71ce17b966f61fba61f2a
Contents?: true
Size: 912 Bytes
Versions: 7
Compression:
Stored size: 912 Bytes
Contents
require 'nrser/extras' require_relative './qb/errors' require_relative './qb/version' require_relative './qb/util' require_relative './qb/ansible_module' module QB ROOT = (Pathname.new(__FILE__).dirname + '..').expand_path GEM_ROLES_DIR = ROOT + 'roles' USER_ROLES_DIR = Pathname.new(ENV['HOME']).join '.ansible', 'roles' def self.debug *args return unless ENV['QB_DEBUG'] && args.length > 0 header = 'DEBUG' if args[0].is_a? String header += " " + args.shift end dumpObj = case args.length when 0 header when 1 {header => args[0]} else {header => args} end # $stderr.puts("DEBUG " + format(msg, values)) $stderr.puts dumpObj.pretty_inspect end end # needs QB::*_ROLES_DIR require 'qb/role' require 'qb/options' require_relative './qb/repo' require_relative './qb/cli' require_relative './qb/ansible'
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
qb-0.3.7 | lib/qb.rb |
qb-0.3.6 | lib/qb.rb |
qb-0.3.5 | lib/qb.rb |
qb-0.3.4 | lib/qb.rb |
qb-0.3.3 | lib/qb.rb |
qb-0.3.2 | lib/qb.rb |
qb-0.3.1 | lib/qb.rb |