Sha256: febe8420830487263e4bc957519720e0a2d850c6667c999ae01e758a10ab745f
Contents?: true
Size: 471 Bytes
Versions: 56
Compression:
Stored size: 471 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require_relative "helpers" dnsbls = [] puts "=> Loading dnsbls.txt" dnsbls += normalize_list(File.read("#{__dir__}/../data/manual/dnsbls.txt").lines) puts "=> Normalize dnsbls (count: #{dnsbls.size})" dnsbls = dnsbls .uniq .map {|dnsbl| dnsbl.downcase.strip } .reject(&:empty?) .uniq puts "=> Saving dnsbls (count: #{dnsbls.size})" save_file("dnsbls.txt", normalize_list(dnsbls))
Version data entries
56 entries across 56 versions & 1 rubygems