Sha256: e805937718585c24c9a4b1e977b44e4f2f2b77d85fa2f0b1734db4dffabd7ae0
Contents?: true
Size: 533 Bytes
Versions: 21
Compression:
Stored size: 533 Bytes
Contents
require "bibliothecary/version" Dir[File.expand_path('../bibliothecary/parsers/*.rb', __FILE__)].each do |file| require file end module Bibliothecary def self.analyse(path) cmd = `find #{path} -type f | grep -vE "#{ignored_files}"` file_list = cmd.split("\n") package_managers.map{|pm| pm.analyse(path, file_list) }.flatten.compact end def self.package_managers Bibliothecary::Parsers.constants.map{|c| Bibliothecary::Parsers.const_get(c) } end def self.ignored_files ['.git'].join('|') end end
Version data entries
21 entries across 21 versions & 1 rubygems