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