Sha256: 63acfa3b9f71bd3cfa6a848c628db51ae636f5d2f22e5004446a3d464639f35b

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

#! /usr/bin/env ruby
# frozen_string_literal: true

require 'csv'
require 'open-uri'
require './lib/gman'

url = 'https://raw.githubusercontent.com/robbi5/german-gov-domains/master/data/domains.csv'

domains = URI.open(url).read.encode('UTF-8')
domains = CSV.parse(domains, headers: true)
domains = domains.map { |row| row['Domain Name'] }

Gman::Importer.new('German Federal' => domains).import

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gman-7.0.6 script/vendor-federal-de
gman-7.0.5 script/vendor-federal-de
gman-7.0.4 script/vendor-federal-de
gman-7.0.3 script/vendor-federal-de