worldlite 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest.txt +245 -0
- data/lib/worldlite.rb +4 -4
- data/lib/worldlite/africa/ao_angola.rb +27 -0
- data/lib/worldlite/africa/bf_burkina_faso.rb +27 -0
- data/lib/worldlite/africa/bi_burundi.rb +27 -0
- data/lib/worldlite/africa/bj_benin.rb +27 -0
- data/lib/worldlite/africa/bw_botswana.rb +27 -0
- data/lib/worldlite/africa/cd_congo_dr.rb +27 -0
- data/lib/worldlite/africa/cf_central_african_republic.rb +27 -0
- data/lib/worldlite/africa/cg_congo.rb +27 -0
- data/lib/worldlite/africa/ci_cote_divoire.rb +27 -0
- data/lib/worldlite/africa/cm_cameroon.rb +27 -0
- data/lib/worldlite/africa/cv_cape_verde.rb +27 -0
- data/lib/worldlite/africa/dj_djibouti.rb +27 -0
- data/lib/worldlite/africa/dz_algeria.rb +27 -0
- data/lib/worldlite/africa/eg_egypt.rb +27 -0
- data/lib/worldlite/africa/er_eritrea.rb +27 -0
- data/lib/worldlite/africa/et_ethiopia.rb +27 -0
- data/lib/worldlite/africa/ga_gabon.rb +27 -0
- data/lib/worldlite/africa/gh_ghana.rb +27 -0
- data/lib/worldlite/africa/gm_gambia.rb +27 -0
- data/lib/worldlite/africa/gn_guinea.rb +27 -0
- data/lib/worldlite/africa/gq_equatorial_guinea.rb +27 -0
- data/lib/worldlite/africa/gw_guinea_bissau.rb +27 -0
- data/lib/worldlite/africa/ke_kenya.rb +27 -0
- data/lib/worldlite/africa/km_comoros.rb +27 -0
- data/lib/worldlite/africa/lr_liberia.rb +27 -0
- data/lib/worldlite/africa/ls_lesotho.rb +27 -0
- data/lib/worldlite/africa/ly_libya.rb +27 -0
- data/lib/worldlite/africa/ma_morocco.rb +27 -0
- data/lib/worldlite/africa/mg_madagascar.rb +27 -0
- data/lib/worldlite/africa/ml_mali.rb +27 -0
- data/lib/worldlite/africa/mr_mauritania.rb +27 -0
- data/lib/worldlite/africa/mu_mauritius.rb +27 -0
- data/lib/worldlite/africa/mw_malawi.rb +27 -0
- data/lib/worldlite/africa/mz_mozambique.rb +27 -0
- data/lib/worldlite/africa/na_namibia.rb +27 -0
- data/lib/worldlite/africa/ne_niger.rb +27 -0
- data/lib/worldlite/africa/ng_nigeria.rb +27 -0
- data/lib/worldlite/africa/re_reunion.rb +27 -0
- data/lib/worldlite/africa/rw_rwanda.rb +27 -0
- data/lib/worldlite/africa/sd_sudan.rb +27 -0
- data/lib/worldlite/africa/sl_sierra_leone.rb +27 -0
- data/lib/worldlite/africa/sn_senegal.rb +27 -0
- data/lib/worldlite/africa/so_somalia.rb +27 -0
- data/lib/worldlite/africa/ss_south_sudan.rb +27 -0
- data/lib/worldlite/africa/st_sao_tome_and_principe.rb +27 -0
- data/lib/worldlite/africa/sz_swaziland.rb +27 -0
- data/lib/worldlite/africa/td_chad.rb +27 -0
- data/lib/worldlite/africa/tg_togo.rb +27 -0
- data/lib/worldlite/africa/tn_tunisia.rb +27 -0
- data/lib/worldlite/africa/tz_tanzania.rb +27 -0
- data/lib/worldlite/africa/ug_uganda.rb +27 -0
- data/lib/worldlite/africa/yc_seychelles.rb +27 -0
- data/lib/worldlite/africa/yt_mayotte.rb +27 -0
- data/lib/worldlite/africa/za_south_africa.rb +27 -0
- data/lib/worldlite/africa/zm_zambia.rb +27 -0
- data/lib/worldlite/africa/zw_zimbabwe.rb +27 -0
- data/lib/worldlite/asia/af_afghanistan.rb +27 -0
- data/lib/worldlite/asia/bd_bangladesh.rb +27 -0
- data/lib/worldlite/asia/bn_brunei.rb +27 -0
- data/lib/worldlite/asia/bt_bhutan.rb +27 -0
- data/lib/worldlite/asia/cc_cocos_keeling_islands.rb +27 -0
- data/lib/worldlite/asia/cn_china.rb +27 -0
- data/lib/worldlite/asia/cx_christmas_island.rb +27 -0
- data/lib/worldlite/asia/hk_hong_kong.rb +27 -0
- data/lib/worldlite/asia/id_indonesia.rb +27 -0
- data/lib/worldlite/asia/in_india.rb +27 -0
- data/lib/worldlite/asia/io_british_indian_ocean_territory.rb +27 -0
- data/lib/worldlite/asia/jp_japan.rb +27 -0
- data/lib/worldlite/asia/kg_kyrgyzstan.rb +27 -0
- data/lib/worldlite/asia/kh_cambodia.rb +27 -0
- data/lib/worldlite/asia/kp_north_korea.rb +27 -0
- data/lib/worldlite/asia/kr_south_korea.rb +27 -0
- data/lib/worldlite/asia/kz_kazakhstan.rb +27 -0
- data/lib/worldlite/asia/la_laos.rb +27 -0
- data/lib/worldlite/asia/lk_sri_lanka.rb +27 -0
- data/lib/worldlite/asia/mm_myanmar.rb +27 -0
- data/lib/worldlite/asia/mn_mongolia.rb +27 -0
- data/lib/worldlite/asia/mo_macau.rb +27 -0
- data/lib/worldlite/asia/mv_maldives.rb +27 -0
- data/lib/worldlite/asia/my_malaysia.rb +27 -0
- data/lib/worldlite/asia/np_nepal.rb +27 -0
- data/lib/worldlite/asia/ph_philippines.rb +27 -0
- data/lib/worldlite/asia/pk_pakistan.rb +27 -0
- data/lib/worldlite/asia/sg_singapore.rb +27 -0
- data/lib/worldlite/asia/th_thailand.rb +27 -0
- data/lib/worldlite/asia/tj_tajikistan.rb +27 -0
- data/lib/worldlite/asia/tl_timor_leste.rb +27 -0
- data/lib/worldlite/asia/tm_turkmenistan.rb +27 -0
- data/lib/worldlite/asia/tw_taiwan.rb +27 -0
- data/lib/worldlite/asia/uz_uzbekistan.rb +27 -0
- data/lib/worldlite/asia/vn_vietnam.rb +27 -0
- data/lib/worldlite/caribbean/ag_antigua_and_barbuda.rb +27 -0
- data/lib/worldlite/caribbean/ai_anguilla.rb +27 -0
- data/lib/worldlite/caribbean/aw_aruba.rb +27 -0
- data/lib/worldlite/caribbean/bb_barbados.rb +27 -0
- data/lib/worldlite/caribbean/bl_saint_barthelemy.rb +27 -0
- data/lib/worldlite/caribbean/bm_bermuda.rb +27 -0
- data/lib/worldlite/caribbean/bs_bahamas.rb +27 -0
- data/lib/worldlite/caribbean/cu_cuba.rb +27 -0
- data/lib/worldlite/caribbean/cw_curacao.rb +27 -0
- data/lib/worldlite/caribbean/dm_dominica.rb +27 -0
- data/lib/worldlite/caribbean/do_dominican_republic.rb +27 -0
- data/lib/worldlite/caribbean/gd_grenada.rb +27 -0
- data/lib/worldlite/caribbean/gp_guadeloupe.rb +27 -0
- data/lib/worldlite/caribbean/ht_haiti.rb +27 -0
- data/lib/worldlite/caribbean/jm_jamaica.rb +27 -0
- data/lib/worldlite/caribbean/kn_saint_kitts_and_nevis.rb +27 -0
- data/lib/worldlite/caribbean/ky_cayman_islands.rb +27 -0
- data/lib/worldlite/caribbean/lc_saint_lucia.rb +27 -0
- data/lib/worldlite/caribbean/mf_saint_martin_french.rb +27 -0
- data/lib/worldlite/caribbean/mq_martinique.rb +27 -0
- data/lib/worldlite/caribbean/ms_montserrat.rb +27 -0
- data/lib/worldlite/caribbean/pr_puerto_rico.rb +27 -0
- data/lib/worldlite/caribbean/tc_turks_and_caicos_islands.rb +27 -0
- data/lib/worldlite/caribbean/tt_trinidad_and_tobago.rb +27 -0
- data/lib/worldlite/caribbean/vc_saint_vincent_and_the_grenadines.rb +27 -0
- data/lib/worldlite/caribbean/vg_british_virgin_islands.rb +27 -0
- data/lib/worldlite/caribbean/vi_united_states_virgin_islands.rb +27 -0
- data/lib/worldlite/central_america/bz_belize.rb +27 -0
- data/lib/worldlite/central_america/cr_costa_rica.rb +27 -0
- data/lib/worldlite/central_america/gt_guatemala.rb +27 -0
- data/lib/worldlite/central_america/hn_honduras.rb +27 -0
- data/lib/worldlite/central_america/ni_nicaragua.rb +27 -0
- data/lib/worldlite/central_america/pa_panama.rb +27 -0
- data/lib/worldlite/central_america/sv_el_salvador.rb +27 -0
- data/lib/worldlite/countries.rb +247 -0
- data/lib/worldlite/europe/ad_andorra.rb +27 -0
- data/lib/worldlite/europe/al_albania.rb +27 -0
- data/lib/worldlite/europe/am_armenia.rb +27 -0
- data/lib/worldlite/europe/at_austria.rb +16 -16
- data/lib/worldlite/europe/ax_aland_islands.rb +27 -0
- data/lib/worldlite/europe/az_azerbaijan.rb +27 -0
- data/lib/worldlite/europe/ba_bosnia_and_herzegovina.rb +27 -0
- data/lib/worldlite/europe/be_belgium.rb +27 -0
- data/lib/worldlite/europe/bg_bulgaria.rb +27 -0
- data/lib/worldlite/europe/by_belarus.rb +27 -0
- data/lib/worldlite/europe/ch_switzerland.rb +27 -0
- data/lib/worldlite/europe/cy_cyprus.rb +27 -0
- data/lib/worldlite/europe/cz_czech_republic.rb +27 -0
- data/lib/worldlite/europe/de_germany.rb +27 -0
- data/lib/worldlite/europe/dk_denmark.rb +27 -0
- data/lib/worldlite/europe/ee_estonia.rb +27 -0
- data/lib/worldlite/europe/en_england.rb +27 -0
- data/lib/worldlite/europe/es_spain.rb +27 -0
- data/lib/worldlite/europe/eu_european_union.rb +27 -0
- data/lib/worldlite/europe/fi_finland.rb +27 -0
- data/lib/worldlite/europe/fo_faroe_islands.rb +27 -0
- data/lib/worldlite/europe/fr_france.rb +27 -0
- data/lib/worldlite/europe/gb_great_britain.rb +27 -0
- data/lib/worldlite/europe/ge_georgia.rb +27 -0
- data/lib/worldlite/europe/gg_guernsey.rb +27 -0
- data/lib/worldlite/europe/gi_gibraltar.rb +27 -0
- data/lib/worldlite/europe/gr_greece.rb +27 -0
- data/lib/worldlite/europe/hr_croatia.rb +27 -0
- data/lib/worldlite/europe/hu_hungary.rb +27 -0
- data/lib/worldlite/europe/ie_irland.rb +27 -0
- data/lib/worldlite/europe/im_isle_of_man.rb +27 -0
- data/lib/worldlite/europe/is_iceland.rb +27 -0
- data/lib/worldlite/europe/it_italy.rb +27 -0
- data/lib/worldlite/europe/je_jersey.rb +27 -0
- data/lib/worldlite/europe/li_liechtenstein.rb +27 -0
- data/lib/worldlite/europe/lt_lithuania.rb +27 -0
- data/lib/worldlite/europe/lu_luxembourg.rb +27 -0
- data/lib/worldlite/europe/lv_latvija.rb +27 -0
- data/lib/worldlite/europe/mc_monaco.rb +27 -0
- data/lib/worldlite/europe/md_moldova.rb +27 -0
- data/lib/worldlite/europe/me_montenegro.rb +27 -0
- data/lib/worldlite/europe/mk_macedonia.rb +27 -0
- data/lib/worldlite/europe/mt_malta.rb +27 -0
- data/lib/worldlite/europe/nd_northern_ireland.rb +27 -0
- data/lib/worldlite/europe/nl_netherlands.rb +27 -0
- data/lib/worldlite/europe/no_norway.rb +27 -0
- data/lib/worldlite/europe/pl_poland.rb +27 -0
- data/lib/worldlite/europe/pt_portugal.rb +27 -0
- data/lib/worldlite/europe/ro_romania.rb +27 -0
- data/lib/worldlite/europe/rs_serbia.rb +27 -0
- data/lib/worldlite/europe/ru_russia.rb +27 -0
- data/lib/worldlite/europe/sc_scotland.rb +27 -0
- data/lib/worldlite/europe/se_sweden.rb +27 -0
- data/lib/worldlite/europe/si_slovenia.rb +27 -0
- data/lib/worldlite/europe/sk_slovakia.rb +27 -0
- data/lib/worldlite/europe/sm_san_marino.rb +27 -0
- data/lib/worldlite/europe/tr_turkey.rb +27 -0
- data/lib/worldlite/europe/ua_ukraine.rb +27 -0
- data/lib/worldlite/europe/va_vatican_city.rb +27 -0
- data/lib/worldlite/europe/wa_wales.rb +27 -0
- data/lib/worldlite/middle_east/ae_united_arab_emirates.rb +27 -0
- data/lib/worldlite/middle_east/bh_bahrain.rb +27 -0
- data/lib/worldlite/middle_east/il_israel.rb +27 -0
- data/lib/worldlite/middle_east/iq_iraq.rb +27 -0
- data/lib/worldlite/middle_east/ir_iran.rb +27 -0
- data/lib/worldlite/middle_east/jo_jordan.rb +27 -0
- data/lib/worldlite/middle_east/kw_kuwait.rb +27 -0
- data/lib/worldlite/middle_east/lb_lebanon.rb +27 -0
- data/lib/worldlite/middle_east/om_oman.rb +27 -0
- data/lib/worldlite/middle_east/ps_palestine.rb +27 -0
- data/lib/worldlite/middle_east/qa_qatar.rb +27 -0
- data/lib/worldlite/middle_east/sa_saudi_arabia.rb +27 -0
- data/lib/worldlite/middle_east/sy_syria.rb +27 -0
- data/lib/worldlite/middle_east/ye_yemen.rb +27 -0
- data/lib/worldlite/north_america/ca_canada.rb +27 -0
- data/lib/worldlite/north_america/gl_greenland.rb +27 -0
- data/lib/worldlite/north_america/mx_mexico.rb +27 -0
- data/lib/worldlite/north_america/pm_saint_pierre_and_miquelon.rb +27 -0
- data/lib/worldlite/north_america/us_united_states.rb +27 -0
- data/lib/worldlite/pacific/as_american_samoa.rb +27 -0
- data/lib/worldlite/pacific/au_australia.rb +27 -0
- data/lib/worldlite/pacific/ck_cook_islands.rb +27 -0
- data/lib/worldlite/pacific/fj_fiji.rb +27 -0
- data/lib/worldlite/pacific/fm_micronesia.rb +27 -0
- data/lib/worldlite/pacific/gu_guam.rb +27 -0
- data/lib/worldlite/pacific/ki_kiribati.rb +27 -0
- data/lib/worldlite/pacific/mh_marshall_islands.rb +27 -0
- data/lib/worldlite/pacific/mp_northern_mariana_islands.rb +27 -0
- data/lib/worldlite/pacific/nc_new_caledonia.rb +27 -0
- data/lib/worldlite/pacific/nf_norfolk_island.rb +27 -0
- data/lib/worldlite/pacific/nr_nauru.rb +27 -0
- data/lib/worldlite/pacific/nu_niue.rb +27 -0
- data/lib/worldlite/pacific/nz_new_zealand.rb +27 -0
- data/lib/worldlite/pacific/pf_tahiti.rb +27 -0
- data/lib/worldlite/pacific/pg_papua_new_guinea.rb +27 -0
- data/lib/worldlite/pacific/pn_pitcairn_islands.rb +27 -0
- data/lib/worldlite/pacific/pw_palau.rb +27 -0
- data/lib/worldlite/pacific/sb_solomon_islands.rb +27 -0
- data/lib/worldlite/pacific/tk_tokelau.rb +27 -0
- data/lib/worldlite/pacific/to_tonga.rb +27 -0
- data/lib/worldlite/pacific/tv_tuvalu.rb +27 -0
- data/lib/worldlite/pacific/vu_vanuatu.rb +27 -0
- data/lib/worldlite/pacific/wf_wallis_and_futuna.rb +27 -0
- data/lib/worldlite/pacific/ws_samoa.rb +27 -0
- data/lib/worldlite/south_america/ar_argentina.rb +27 -0
- data/lib/worldlite/south_america/bo_bolivia.rb +27 -0
- data/lib/worldlite/south_america/br_brazil.rb +27 -0
- data/lib/worldlite/south_america/cl_chile.rb +27 -0
- data/lib/worldlite/south_america/co_colombia.rb +27 -0
- data/lib/worldlite/south_america/ec_ecuador.rb +27 -0
- data/lib/worldlite/south_america/fk_falkland_islands.rb +27 -0
- data/lib/worldlite/south_america/gf_french_guiana.rb +27 -0
- data/lib/worldlite/south_america/gs_south_georgia_and_south_sandwich.rb +27 -0
- data/lib/worldlite/south_america/gy_guyana.rb +27 -0
- data/lib/worldlite/south_america/pe_peru.rb +27 -0
- data/lib/worldlite/south_america/py_paraguay.rb +27 -0
- data/lib/worldlite/south_america/sh_saint_helena.rb +27 -0
- data/lib/worldlite/south_america/sr_suriname.rb +27 -0
- data/lib/worldlite/south_america/uy_uruguay.rb +27 -0
- data/lib/worldlite/south_america/ve_venezuela.rb +27 -0
- data/lib/worldlite/version.rb +1 -1
- data/test/test_world.rb +6 -1
- metadata +251 -6
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Costa Rica"
|
7
|
+
c.key = 'cr'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'CRC'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
CR = c
|
17
|
+
|
18
|
+
WORLD << CR
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Guatemala"
|
7
|
+
c.key = 'gt'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'GUA'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
GT = c
|
17
|
+
|
18
|
+
WORLD << GT
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Honduras"
|
7
|
+
c.key = 'hn'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'HON'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
HN = c
|
17
|
+
|
18
|
+
WORLD << HN
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Nicaragua"
|
7
|
+
c.key = 'ni'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'NCA'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
NI = c
|
17
|
+
|
18
|
+
WORLD << NI
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Panamá [Panama]"
|
7
|
+
c.key = 'pa'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'PAN'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
PA = c
|
17
|
+
|
18
|
+
WORLD << PA
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "El Salvador"
|
7
|
+
c.key = 'sv'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'SLV'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
SV = c
|
17
|
+
|
18
|
+
WORLD << SV
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,247 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'worldlite/africa/dz_algeria'
|
4
|
+
require 'worldlite/africa/ao_angola'
|
5
|
+
require 'worldlite/africa/bj_benin'
|
6
|
+
require 'worldlite/africa/bw_botswana'
|
7
|
+
require 'worldlite/africa/bf_burkina_faso'
|
8
|
+
require 'worldlite/africa/bi_burundi'
|
9
|
+
require 'worldlite/africa/cm_cameroon'
|
10
|
+
require 'worldlite/africa/cv_cape_verde'
|
11
|
+
require 'worldlite/africa/cf_central_african_republic'
|
12
|
+
require 'worldlite/africa/td_chad'
|
13
|
+
require 'worldlite/africa/km_comoros'
|
14
|
+
require 'worldlite/africa/cg_congo'
|
15
|
+
require 'worldlite/africa/cd_congo_dr'
|
16
|
+
require 'worldlite/africa/ci_cote_divoire'
|
17
|
+
require 'worldlite/africa/dj_djibouti'
|
18
|
+
require 'worldlite/africa/eg_egypt'
|
19
|
+
require 'worldlite/africa/gq_equatorial_guinea'
|
20
|
+
require 'worldlite/africa/er_eritrea'
|
21
|
+
require 'worldlite/africa/et_ethiopia'
|
22
|
+
require 'worldlite/africa/ga_gabon'
|
23
|
+
require 'worldlite/africa/gm_gambia'
|
24
|
+
require 'worldlite/africa/gh_ghana'
|
25
|
+
require 'worldlite/africa/gn_guinea'
|
26
|
+
require 'worldlite/africa/gw_guinea_bissau'
|
27
|
+
require 'worldlite/africa/ke_kenya'
|
28
|
+
require 'worldlite/africa/ls_lesotho'
|
29
|
+
require 'worldlite/africa/lr_liberia'
|
30
|
+
require 'worldlite/africa/ly_libya'
|
31
|
+
require 'worldlite/africa/mg_madagascar'
|
32
|
+
require 'worldlite/africa/mw_malawi'
|
33
|
+
require 'worldlite/africa/ml_mali'
|
34
|
+
require 'worldlite/africa/mr_mauritania'
|
35
|
+
require 'worldlite/africa/mu_mauritius'
|
36
|
+
require 'worldlite/africa/yt_mayotte'
|
37
|
+
require 'worldlite/africa/ma_morocco'
|
38
|
+
require 'worldlite/africa/mz_mozambique'
|
39
|
+
require 'worldlite/africa/na_namibia'
|
40
|
+
require 'worldlite/africa/ne_niger'
|
41
|
+
require 'worldlite/africa/ng_nigeria'
|
42
|
+
require 'worldlite/africa/rw_rwanda'
|
43
|
+
require 'worldlite/africa/re_reunion'
|
44
|
+
require 'worldlite/africa/sn_senegal'
|
45
|
+
require 'worldlite/africa/yc_seychelles'
|
46
|
+
require 'worldlite/africa/sl_sierra_leone'
|
47
|
+
require 'worldlite/africa/so_somalia'
|
48
|
+
require 'worldlite/africa/za_south_africa'
|
49
|
+
require 'worldlite/africa/ss_south_sudan'
|
50
|
+
require 'worldlite/africa/sd_sudan'
|
51
|
+
require 'worldlite/africa/sz_swaziland'
|
52
|
+
require 'worldlite/africa/st_sao_tome_and_principe'
|
53
|
+
require 'worldlite/africa/tz_tanzania'
|
54
|
+
require 'worldlite/africa/tg_togo'
|
55
|
+
require 'worldlite/africa/tn_tunisia'
|
56
|
+
require 'worldlite/africa/ug_uganda'
|
57
|
+
require 'worldlite/africa/zm_zambia'
|
58
|
+
require 'worldlite/africa/zw_zimbabwe'
|
59
|
+
require 'worldlite/asia/af_afghanistan'
|
60
|
+
require 'worldlite/asia/bd_bangladesh'
|
61
|
+
require 'worldlite/asia/bt_bhutan'
|
62
|
+
require 'worldlite/asia/io_british_indian_ocean_territory'
|
63
|
+
require 'worldlite/asia/bn_brunei'
|
64
|
+
require 'worldlite/asia/kh_cambodia'
|
65
|
+
require 'worldlite/asia/cn_china'
|
66
|
+
require 'worldlite/asia/cx_christmas_island'
|
67
|
+
require 'worldlite/asia/cc_cocos_keeling_islands'
|
68
|
+
require 'worldlite/asia/hk_hong_kong'
|
69
|
+
require 'worldlite/asia/in_india'
|
70
|
+
require 'worldlite/asia/id_indonesia'
|
71
|
+
require 'worldlite/asia/jp_japan'
|
72
|
+
require 'worldlite/asia/kz_kazakhstan'
|
73
|
+
require 'worldlite/asia/kg_kyrgyzstan'
|
74
|
+
require 'worldlite/asia/la_laos'
|
75
|
+
require 'worldlite/asia/mo_macau'
|
76
|
+
require 'worldlite/asia/my_malaysia'
|
77
|
+
require 'worldlite/asia/mv_maldives'
|
78
|
+
require 'worldlite/asia/mn_mongolia'
|
79
|
+
require 'worldlite/asia/mm_myanmar'
|
80
|
+
require 'worldlite/asia/np_nepal'
|
81
|
+
require 'worldlite/asia/kp_north_korea'
|
82
|
+
require 'worldlite/asia/pk_pakistan'
|
83
|
+
require 'worldlite/asia/ph_philippines'
|
84
|
+
require 'worldlite/asia/sg_singapore'
|
85
|
+
require 'worldlite/asia/kr_south_korea'
|
86
|
+
require 'worldlite/asia/lk_sri_lanka'
|
87
|
+
require 'worldlite/asia/tw_taiwan'
|
88
|
+
require 'worldlite/asia/tj_tajikistan'
|
89
|
+
require 'worldlite/asia/th_thailand'
|
90
|
+
require 'worldlite/asia/tl_timor_leste'
|
91
|
+
require 'worldlite/asia/tm_turkmenistan'
|
92
|
+
require 'worldlite/asia/uz_uzbekistan'
|
93
|
+
require 'worldlite/asia/vn_vietnam'
|
94
|
+
require 'worldlite/caribbean/ai_anguilla'
|
95
|
+
require 'worldlite/caribbean/ag_antigua_and_barbuda'
|
96
|
+
require 'worldlite/caribbean/aw_aruba'
|
97
|
+
require 'worldlite/caribbean/bs_bahamas'
|
98
|
+
require 'worldlite/caribbean/bb_barbados'
|
99
|
+
require 'worldlite/caribbean/bm_bermuda'
|
100
|
+
require 'worldlite/caribbean/vg_british_virgin_islands'
|
101
|
+
require 'worldlite/caribbean/ky_cayman_islands'
|
102
|
+
require 'worldlite/caribbean/cu_cuba'
|
103
|
+
require 'worldlite/caribbean/cw_curacao'
|
104
|
+
require 'worldlite/caribbean/dm_dominica'
|
105
|
+
require 'worldlite/caribbean/do_dominican_republic'
|
106
|
+
require 'worldlite/caribbean/gd_grenada'
|
107
|
+
require 'worldlite/caribbean/gp_guadeloupe'
|
108
|
+
require 'worldlite/caribbean/ht_haiti'
|
109
|
+
require 'worldlite/caribbean/jm_jamaica'
|
110
|
+
require 'worldlite/caribbean/mq_martinique'
|
111
|
+
require 'worldlite/caribbean/ms_montserrat'
|
112
|
+
require 'worldlite/caribbean/pr_puerto_rico'
|
113
|
+
require 'worldlite/caribbean/bl_saint_barthelemy'
|
114
|
+
require 'worldlite/caribbean/kn_saint_kitts_and_nevis'
|
115
|
+
require 'worldlite/caribbean/lc_saint_lucia'
|
116
|
+
require 'worldlite/caribbean/mf_saint_martin_french'
|
117
|
+
require 'worldlite/caribbean/vc_saint_vincent_and_the_grenadines'
|
118
|
+
require 'worldlite/caribbean/tt_trinidad_and_tobago'
|
119
|
+
require 'worldlite/caribbean/tc_turks_and_caicos_islands'
|
120
|
+
require 'worldlite/caribbean/vi_united_states_virgin_islands'
|
121
|
+
require 'worldlite/central_america/bz_belize'
|
122
|
+
require 'worldlite/central_america/cr_costa_rica'
|
123
|
+
require 'worldlite/central_america/sv_el_salvador'
|
124
|
+
require 'worldlite/central_america/gt_guatemala'
|
125
|
+
require 'worldlite/central_america/hn_honduras'
|
126
|
+
require 'worldlite/central_america/ni_nicaragua'
|
127
|
+
require 'worldlite/central_america/pa_panama'
|
128
|
+
require 'worldlite/europe/al_albania'
|
129
|
+
require 'worldlite/europe/ad_andorra'
|
130
|
+
require 'worldlite/europe/am_armenia'
|
131
|
+
require 'worldlite/europe/at_austria'
|
132
|
+
require 'worldlite/europe/az_azerbaijan'
|
133
|
+
require 'worldlite/europe/by_belarus'
|
134
|
+
require 'worldlite/europe/be_belgium'
|
135
|
+
require 'worldlite/europe/ba_bosnia_and_herzegovina'
|
136
|
+
require 'worldlite/europe/bg_bulgaria'
|
137
|
+
require 'worldlite/europe/hr_croatia'
|
138
|
+
require 'worldlite/europe/cy_cyprus'
|
139
|
+
require 'worldlite/europe/cz_czech_republic'
|
140
|
+
require 'worldlite/europe/dk_denmark'
|
141
|
+
require 'worldlite/europe/en_england'
|
142
|
+
require 'worldlite/europe/ee_estonia'
|
143
|
+
require 'worldlite/europe/eu_european_union'
|
144
|
+
require 'worldlite/europe/fo_faroe_islands'
|
145
|
+
require 'worldlite/europe/fi_finland'
|
146
|
+
require 'worldlite/europe/fr_france'
|
147
|
+
require 'worldlite/europe/ge_georgia'
|
148
|
+
require 'worldlite/europe/de_germany'
|
149
|
+
require 'worldlite/europe/gi_gibraltar'
|
150
|
+
require 'worldlite/europe/gb_great_britain'
|
151
|
+
require 'worldlite/europe/gr_greece'
|
152
|
+
require 'worldlite/europe/gg_guernsey'
|
153
|
+
require 'worldlite/europe/hu_hungary'
|
154
|
+
require 'worldlite/europe/is_iceland'
|
155
|
+
require 'worldlite/europe/ie_irland'
|
156
|
+
require 'worldlite/europe/im_isle_of_man'
|
157
|
+
require 'worldlite/europe/it_italy'
|
158
|
+
require 'worldlite/europe/je_jersey'
|
159
|
+
require 'worldlite/europe/lv_latvija'
|
160
|
+
require 'worldlite/europe/li_liechtenstein'
|
161
|
+
require 'worldlite/europe/lt_lithuania'
|
162
|
+
require 'worldlite/europe/lu_luxembourg'
|
163
|
+
require 'worldlite/europe/mk_macedonia'
|
164
|
+
require 'worldlite/europe/mt_malta'
|
165
|
+
require 'worldlite/europe/md_moldova'
|
166
|
+
require 'worldlite/europe/mc_monaco'
|
167
|
+
require 'worldlite/europe/me_montenegro'
|
168
|
+
require 'worldlite/europe/nl_netherlands'
|
169
|
+
require 'worldlite/europe/nd_northern_ireland'
|
170
|
+
require 'worldlite/europe/no_norway'
|
171
|
+
require 'worldlite/europe/pl_poland'
|
172
|
+
require 'worldlite/europe/pt_portugal'
|
173
|
+
require 'worldlite/europe/ro_romania'
|
174
|
+
require 'worldlite/europe/ru_russia'
|
175
|
+
require 'worldlite/europe/sm_san_marino'
|
176
|
+
require 'worldlite/europe/sc_scotland'
|
177
|
+
require 'worldlite/europe/rs_serbia'
|
178
|
+
require 'worldlite/europe/sk_slovakia'
|
179
|
+
require 'worldlite/europe/si_slovenia'
|
180
|
+
require 'worldlite/europe/es_spain'
|
181
|
+
require 'worldlite/europe/se_sweden'
|
182
|
+
require 'worldlite/europe/ch_switzerland'
|
183
|
+
require 'worldlite/europe/tr_turkey'
|
184
|
+
require 'worldlite/europe/ua_ukraine'
|
185
|
+
require 'worldlite/europe/va_vatican_city'
|
186
|
+
require 'worldlite/europe/wa_wales'
|
187
|
+
require 'worldlite/europe/ax_aland_islands'
|
188
|
+
require 'worldlite/middle_east/bh_bahrain'
|
189
|
+
require 'worldlite/middle_east/ir_iran'
|
190
|
+
require 'worldlite/middle_east/iq_iraq'
|
191
|
+
require 'worldlite/middle_east/il_israel'
|
192
|
+
require 'worldlite/middle_east/jo_jordan'
|
193
|
+
require 'worldlite/middle_east/kw_kuwait'
|
194
|
+
require 'worldlite/middle_east/lb_lebanon'
|
195
|
+
require 'worldlite/middle_east/om_oman'
|
196
|
+
require 'worldlite/middle_east/ps_palestine'
|
197
|
+
require 'worldlite/middle_east/qa_qatar'
|
198
|
+
require 'worldlite/middle_east/sa_saudi_arabia'
|
199
|
+
require 'worldlite/middle_east/sy_syria'
|
200
|
+
require 'worldlite/middle_east/ae_united_arab_emirates'
|
201
|
+
require 'worldlite/middle_east/ye_yemen'
|
202
|
+
require 'worldlite/north_america/ca_canada'
|
203
|
+
require 'worldlite/north_america/gl_greenland'
|
204
|
+
require 'worldlite/north_america/mx_mexico'
|
205
|
+
require 'worldlite/north_america/pm_saint_pierre_and_miquelon'
|
206
|
+
require 'worldlite/north_america/us_united_states'
|
207
|
+
require 'worldlite/pacific/as_american_samoa'
|
208
|
+
require 'worldlite/pacific/au_australia'
|
209
|
+
require 'worldlite/pacific/ck_cook_islands'
|
210
|
+
require 'worldlite/pacific/fj_fiji'
|
211
|
+
require 'worldlite/pacific/gu_guam'
|
212
|
+
require 'worldlite/pacific/ki_kiribati'
|
213
|
+
require 'worldlite/pacific/mh_marshall_islands'
|
214
|
+
require 'worldlite/pacific/fm_micronesia'
|
215
|
+
require 'worldlite/pacific/nr_nauru'
|
216
|
+
require 'worldlite/pacific/nc_new_caledonia'
|
217
|
+
require 'worldlite/pacific/nz_new_zealand'
|
218
|
+
require 'worldlite/pacific/nu_niue'
|
219
|
+
require 'worldlite/pacific/nf_norfolk_island'
|
220
|
+
require 'worldlite/pacific/mp_northern_mariana_islands'
|
221
|
+
require 'worldlite/pacific/pw_palau'
|
222
|
+
require 'worldlite/pacific/pg_papua_new_guinea'
|
223
|
+
require 'worldlite/pacific/pn_pitcairn_islands'
|
224
|
+
require 'worldlite/pacific/ws_samoa'
|
225
|
+
require 'worldlite/pacific/sb_solomon_islands'
|
226
|
+
require 'worldlite/pacific/pf_tahiti'
|
227
|
+
require 'worldlite/pacific/tk_tokelau'
|
228
|
+
require 'worldlite/pacific/to_tonga'
|
229
|
+
require 'worldlite/pacific/tv_tuvalu'
|
230
|
+
require 'worldlite/pacific/vu_vanuatu'
|
231
|
+
require 'worldlite/pacific/wf_wallis_and_futuna'
|
232
|
+
require 'worldlite/south_america/ar_argentina'
|
233
|
+
require 'worldlite/south_america/bo_bolivia'
|
234
|
+
require 'worldlite/south_america/br_brazil'
|
235
|
+
require 'worldlite/south_america/cl_chile'
|
236
|
+
require 'worldlite/south_america/co_colombia'
|
237
|
+
require 'worldlite/south_america/ec_ecuador'
|
238
|
+
require 'worldlite/south_america/fk_falkland_islands'
|
239
|
+
require 'worldlite/south_america/gf_french_guiana'
|
240
|
+
require 'worldlite/south_america/gy_guyana'
|
241
|
+
require 'worldlite/south_america/py_paraguay'
|
242
|
+
require 'worldlite/south_america/pe_peru'
|
243
|
+
require 'worldlite/south_america/sh_saint_helena'
|
244
|
+
require 'worldlite/south_america/gs_south_georgia_and_south_sandwich'
|
245
|
+
require 'worldlite/south_america/sr_suriname'
|
246
|
+
require 'worldlite/south_america/uy_uruguay'
|
247
|
+
require 'worldlite/south_america/ve_venezuela'
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Andorra"
|
7
|
+
c.key = 'ad'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'AND'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
AD = c
|
17
|
+
|
18
|
+
WORLD << AD
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
module WorldLite
|
4
|
+
|
5
|
+
c = Country.new
|
6
|
+
c.name = "Albania"
|
7
|
+
c.key = 'al'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'ALB'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
AL = c
|
17
|
+
|
18
|
+
WORLD << AL
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|