Top Level Namespace

Defined Under Namespace

Modules: Bundler, LicenseAuto Classes: Apt, Bower, GemfuryCom, GithubCom, Module, Npm, PIP, RubyDocInfo, RubyGemsOrg, RubyGemsOrgDB, Website, Yum

Constant Summary collapse

LUTO_CONF =

Aka LICENSE_AUTO_CONF

begin
  Hashie::Mash.new(YAML.load_file('/etc/license_auto.conf.yml'))
rescue Errno::ENOENT
  sample_filename_path = File.expand_path('../sample.config.yml', __FILE__)
  puts "Using config: #{sample_filename_path}"
  Hashie::Mash.new(YAML.load_file(sample_filename_path))
end
LUTO_LOG_LEVEL =

LicenseAuto logger level

case LUTO_CONF.logger.level
when 'debug'
  Log4r::DEBUG
when 'info'
  Log4r::INFO
when 'warn'
  Log4r::WARN
when 'error'
  Log4r::ERROR
when 'fatal'
  Log4r::FATAL
else
  Log4r::DEBUG
end
LUTO_ROOT_DIR =
LUTO_CONF.dirs.root
LUTO_CACHE_DIR =
"#{LUTO_ROOT_DIR}/#{LUTO_CONF.dirs.cache}"
LICENSE_TITLE =
'copying|copy|license'
LICENSE_SORTED_FREQUENCY =

Statistic order: High to Low

[
    'MIT',
    'Apache2.0',
    'BSD',
    'GPL2.0',
    'RubyClause-6',
    'LGPL2.1',
    'GPL3.0',
    'MPL 2.0',
    'Python',
    'LGPL3.0',
    'PublicDomain',
    'EPL1.0',
    'LGPL2.0',
    'MPL1.1',
    'CDDL1.0',
    'OpenSSL',
    'GPL1.0',
    'PerlArtistic',
    'CDDL1.1',
    'Artistic2.0',
    'TP-Free',
    'Artistic1.0',
    'AFL2.1',
    'CPL1.0',
    'Apache1.0',
]
GOLANG_STD_LIBS =

Golang(v1.4.2 darwin/amd64) system libraries

[
'cmd/addr2line',
'cmd/cgo',
'cmd/fix',
'cmd/go',
'cmd/gofmt',
'cmd/nm',
'cmd/objdump',
'cmd/pack',
'cmd/pprof',
'cmd/yacc',
'archive/tar',
'archive/zip',
'bufio',
'bytes',
'cmd/internal/goobj',
'cmd/internal/objfile',
'cmd/pprof/internal/commands',
'cmd/pprof/internal/driver',
'cmd/pprof/internal/fetch',
'cmd/pprof/internal/plugin',
'cmd/pprof/internal/profile',
'cmd/pprof/internal/report',
'cmd/pprof/internal/svg',
'cmd/pprof/internal/symbolizer',
'cmd/pprof/internal/symbolz',
'cmd/pprof/internal/tempfile',
'compress/bzip2',
'compress/flate',
'compress/gzip',
'compress/lzw',
'compress/zlib',
'container/heap',
'container/list',
'container/ring',
'crypto',
'crypto/aes',
'crypto/cipher',
'crypto/des',
'crypto/dsa',
'crypto/ecdsa',
'crypto/elliptic',
'crypto/hmac',
'crypto/md5',
'crypto/rand',
'crypto/rc4',
'crypto/rsa',
'crypto/sha1',
'crypto/sha256',
'crypto/sha512',
'crypto/subtle',
'crypto/tls',
'crypto/x509',
'crypto/x509/pkix',
'database/sql',
'database/sql/driver',
'debug/dwarf',
'debug/elf',
'debug/gosym',
'debug/macho',
'debug/pe',
'debug/plan9obj',
'encoding',
'encoding/ascii85',
'encoding/asn1',
'encoding/base32',
'encoding/base64',
'encoding/binary',
'encoding/csv',
'encoding/gob',
'encoding/hex',
'encoding/json',
'encoding/pem',
'encoding/xml',
'errors',
'expvar',
'flag',
'fmt',
'go/ast',
'go/build',
'go/doc',
'go/format',
'go/parser',
'go/printer',
'go/scanner',
'go/token',
'hash',
'hash/adler32',
'hash/crc32',
'hash/crc64',
'hash/fnv',
'html',
'html/template',
'image',
'image/color',
'image/color/palette',
'image/draw',
'image/gif',
'image/jpeg',
'image/png',
'index/suffixarray',
'io',
'io/ioutil',
'log',
'log/syslog',
'math',
'math/big',
'math/cmplx',
'math/rand',
'mime',
'mime/multipart',
'net',
'net/http',
'net/http/cgi',
'net/http/cookiejar',
'net/http/fcgi',
'net/http/httptest',
'net/http/httputil',
'net/http/internal',
'net/http/pprof',
'net/mail',
'net/rpc',
'net/rpc/jsonrpc',
'net/smtp',
'net/textproto',
'net/url',
'os',
'os/exec',
'os/signal',
'os/user',
'path',
'path/filepath',
'reflect',
'regexp',
'regexp/syntax',
'runtime',
'runtime/cgo',
'runtime/debug',
'runtime/pprof',
'runtime/race',
'sort',
'strconv',
'strings',
'sync',
'sync/atomic',
'syscall',
'testing',
'testing/iotest',
'testing/quick',
'text/scanner',
'text/tabwriter',
'text/template',
'text/template/parse',
'time',
'unicode',
'unicode/utf16',
'unicode/utf8',
'unsafe']