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 = "Kuwait"
|
7
|
+
c.key = 'kw'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'KUW'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
KW = c
|
17
|
+
|
18
|
+
WORLD << KW
|
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 = "Lebanon"
|
7
|
+
c.key = 'lb'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'LIB'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
LB = c
|
17
|
+
|
18
|
+
WORLD << LB
|
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 = "Oman"
|
7
|
+
c.key = 'om'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'OMA'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
OM = c
|
17
|
+
|
18
|
+
WORLD << OM
|
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 = "Palestine"
|
7
|
+
c.key = 'ps'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'PLE'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
PS = c
|
17
|
+
|
18
|
+
WORLD << PS
|
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 = "Qatar"
|
7
|
+
c.key = 'qa'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'QAT'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
QA = c
|
17
|
+
|
18
|
+
WORLD << QA
|
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 = "Saudi Arabia"
|
7
|
+
c.key = 'sa'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'KSA'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
SA = c
|
17
|
+
|
18
|
+
WORLD << SA
|
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 = "Syria"
|
7
|
+
c.key = 'sy'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'SYR'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
SY = c
|
17
|
+
|
18
|
+
WORLD << SY
|
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 = "Yemen"
|
7
|
+
c.key = 'ye'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'YEM'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
YE = c
|
17
|
+
|
18
|
+
WORLD << YE
|
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 = "Canada"
|
7
|
+
c.key = 'ca'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'CAN'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
CA = c
|
17
|
+
|
18
|
+
WORLD << CA
|
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 = "Greenland"
|
7
|
+
c.key = 'gl'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = ''
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
GL = c
|
17
|
+
|
18
|
+
WORLD << GL
|
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 = "México [Mexico]"
|
7
|
+
c.key = 'mx'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'MEX'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
MX = c
|
17
|
+
|
18
|
+
WORLD << MX
|
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 = "Saint Pierre and Miquelon"
|
7
|
+
c.key = 'pm'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = ''
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
PM = c
|
17
|
+
|
18
|
+
WORLD << PM
|
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 = "United States"
|
7
|
+
c.key = 'us'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'USA'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
US = c
|
17
|
+
|
18
|
+
WORLD << US
|
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 = "American Samoa"
|
7
|
+
c.key = 'as'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = ''
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
AS = c
|
17
|
+
|
18
|
+
WORLD << AS
|
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 = "Australia"
|
7
|
+
c.key = 'au'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = 'AUS'
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
AU = c
|
17
|
+
|
18
|
+
WORLD << AU
|
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 = "Cook Islands"
|
7
|
+
c.key = 'ck'
|
8
|
+
# c.num = ??? # check if leading zero leads to octal num system?? just use 21 ??
|
9
|
+
# c.alpha2 = '??'
|
10
|
+
# c.alpha3 = '???'
|
11
|
+
c.fifa = ''
|
12
|
+
# c.ioc = '???'
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
CK = c
|
17
|
+
|
18
|
+
WORLD << CK
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
end # module WorldLite
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|