geoip 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/geoip.rb +26 -21
- data/lib/geoip/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +2 -2
data/lib/geoip.rb
CHANGED
@@ -76,27 +76,32 @@ class GeoIP
|
|
76
76
|
]
|
77
77
|
|
78
78
|
CountryCode3 = [
|
79
|
-
"--","AP","EU","AND","ARE","AFG","ATG","AIA","ALB","ARM","ANT",
|
80
|
-
"AQ","ARG","ASM","AUT","AUS","ABW","AZE","BIH","BRB",
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
87
|
-
"
|
88
|
-
"
|
89
|
-
"
|
90
|
-
"
|
91
|
-
"
|
92
|
-
"
|
93
|
-
"
|
94
|
-
"
|
95
|
-
"
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
99
|
-
"
|
79
|
+
"--","AP","EU","AND","ARE","AFG","ATG","AIA","ALB","ARM","ANT",
|
80
|
+
"AGO","AQ","ARG","ASM","AUT","AUS","ABW","AZE","BIH","BRB",
|
81
|
+
"BGD","BEL","BFA","BGR","BHR","BDI","BEN","BMU","BRN","BOL",
|
82
|
+
"BRA","BHS","BTN","BV","BWA","BLR","BLZ","CAN","CC","COD",
|
83
|
+
"CAF","COG","CHE","CIV","COK","CHL","CMR","CHN","COL","CRI",
|
84
|
+
"CUB","CPV","CX","CYP","CZE","DEU","DJI","DNK","DMA","DOM",
|
85
|
+
"DZA","ECU","EST","EGY","ESH","ERI","ESP","ETH","FIN","FJI",
|
86
|
+
"FLK","FSM","FRO","FRA","FX","GAB","GBR","GRD","GEO","GUF",
|
87
|
+
"GHA","GIB","GRL","GMB","GIN","GLP","GNQ","GRC","GS","GTM",
|
88
|
+
"GUM","GNB","GUY","HKG","HM","HND","HRV","HTI","HUN","IDN",
|
89
|
+
"IRL","ISR","IND","IO","IRQ","IRN","ISL","ITA","JAM","JOR",
|
90
|
+
"JPN","KEN","KGZ","KHM","KIR","COM","KNA","PRK","KOR","KWT",
|
91
|
+
"CYM","KAZ","LAO","LBN","LCA","LIE","LKA","LBR","LSO","LTU",
|
92
|
+
"LUX","LVA","LBY","MAR","MCO","MDA","MDG","MHL","MKD","MLI",
|
93
|
+
"MMR","MNG","MAC","MNP","MTQ","MRT","MSR","MLT","MUS","MDV",
|
94
|
+
"MWI","MEX","MYS","MOZ","NAM","NCL","NER","NFK","NGA","NIC",
|
95
|
+
"NLD","NOR","NPL","NRU","NIU","NZL","OMN","PAN","PER","PYF",
|
96
|
+
"PNG","PHL","PAK","POL","SPM","PCN","PRI","PSE","PRT","PLW",
|
97
|
+
"PRY","QAT","REU","ROU","RUS","RWA","SAU","SLB","SYC","SDN",
|
98
|
+
"SWE","SGP","SHN","SVN","SJM","SVK","SLE","SMR","SEN","SOM",
|
99
|
+
"SUR","STP","SLV","SYR","SWZ","TCA","TCD","TF","TGO","THA",
|
100
|
+
"TJK","TKL","TKM","TUN","TON","TLS","TUR","TTO","TUV","TWN",
|
101
|
+
"TZA","UKR","UGA","UM","USA","URY","UZB","VAT","VCT","VEN",
|
102
|
+
"VGB","VIR","VNM","VUT","WLF","WSM","YEM","YT","SRB","ZAF",
|
103
|
+
"ZMB","MNE","ZWE","A1","A2","O1","ALA","GGY","IMN","JEY",
|
104
|
+
"BLM","MAF"
|
100
105
|
]
|
101
106
|
|
102
107
|
CountryName = [
|
data/lib/geoip/version.rb
CHANGED
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>geoip</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/geoip"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/geoip" class="numbers">0.6.
|
36
|
+
<a href="http://rubyforge.org/projects/geoip" class="numbers">0.6.1</a>
|
37
37
|
</div>
|
38
38
|
<h2>→ ‘Geographic info for an IP address’</h2>
|
39
39
|
|
metadata
CHANGED