# File lib/gemnasium/dependency_files.rb, line 12 def self.get_sha1s_hash(project_path) Dir.chdir(project_path) Dir.glob("**/**").grep(SUPPORTED_DEPENDENCY_FILES).inject({}) do |h, file_path| h[file_path] = calculate_sha1("#{project_path}/#{file_path}") unless is_ignored?(file_path) h end end