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

Version Path
email_data-1737851402.0.0 bin/sync-dnsbls
email_data-1737246571.0.0 bin/sync-dnsbls
email_data-1736641810.0.0 bin/sync-dnsbls
email_data-1736036984.0.0 bin/sync-dnsbls
email_data-1735432182.0.0 bin/sync-dnsbls
email_data-1734827368.0.0 bin/sync-dnsbls
email_data-1734222646.0.0 bin/sync-dnsbls
email_data-1733617827.0.0 bin/sync-dnsbls
email_data-1733013134.0.0 bin/sync-dnsbls
email_data-1732408289.0.0 bin/sync-dnsbls
email_data-1731803456.0.0 bin/sync-dnsbls
email_data-1731198561.0.0 bin/sync-dnsbls
email_data-1730593788.0.0 bin/sync-dnsbls
email_data-1729988998.0.0 bin/sync-dnsbls
email_data-1729384188.0.0 bin/sync-dnsbls
email_data-1728779363.0.0 bin/sync-dnsbls
email_data-1727569771.0.0 bin/sync-dnsbls
email_data-1726964969.0.0 bin/sync-dnsbls
email_data-1726360142.0.0 bin/sync-dnsbls
email_data-1725755331.0.0 bin/sync-dnsbls