Sha256: 0cde0537e67a45a504055f0ad0d02c698653afa789c1988e0f39487608552537

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

#! /usr/bin/env ruby

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

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

domains = open(url).read.force_encoding("iso-8859-1").encode("UTF-8")
domains = CSV.parse(domains, :headers => true)
domains = domains.map { |row| row["Domain Name"] }

Gman.import("German Federal" => domains)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gman-5.0.1 script/vendor-federal-de
gman-5.0.0 script/vendor-federal-de
gman-4.7.1 script/vendor-federal-de
gman-4.7.0 script/vendor-federal-de