Sha256: 31b68041b4d164da25abbd981d30fec3514373091f5ca191de553ee30f37be71
Contents?: true
Size: 480 Bytes
Versions: 36
Compression:
Stored size: 480 Bytes
Contents
Country.class_eval do data_miner do schema Earth.database_options do string 'iso_3166_code' string 'name' end import 'the official ISO country list', :url => 'http://www.iso.org/iso/list-en1-semic-3.txt', :skip => 2, :headers => false, :delimiter => ';', :encoding => 'ISO-8859-1' do key 'iso_3166_code', :field_number => 1 store 'name', :field_number => 0 end end end
Version data entries
36 entries across 36 versions & 2 rubygems