postcode_three_country 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/data/england_zipcode.yaml +132 -0
- data/lib/data/japan_zipcode.yaml +204 -0
- data/lib/data/vietnam_zipcode.yaml +212 -0
- data/lib/postcode_three_country/version.rb +1 -1
- data/lib/postcode_three_country.rb +4 -2
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48f461c2dff941dd294bca18836872738237c98892804d3e274bec03278fbe20
|
|
4
|
+
data.tar.gz: efe732b431b675d6d52539bd9b0056cf688c2ee502d2af842f48cacf454f089d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 292ad53654c0725511c6b939e2bc764359865272fc9887074d3355a9859dc0785fdbabbfc79689c59734af0a07ce962b1b565ffbf8759144e75a0b78502324ef
|
|
7
|
+
data.tar.gz: f26370c356113a8d804b6a777ec2c91f76906be31bf87e2b4aa6c5f6eb78eab7a91b7b82bff007b59f6b98964045abbc636974370dd45c8a5676e6287613b3d1
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
england:
|
|
2
|
+
POS:
|
|
3
|
+
zipcode: "023"
|
|
4
|
+
city: "portsmouth"
|
|
5
|
+
|
|
6
|
+
LEE:
|
|
7
|
+
zipcode: "0113"
|
|
8
|
+
city: "ledds"
|
|
9
|
+
|
|
10
|
+
SEF:
|
|
11
|
+
zipcode: "0114"
|
|
12
|
+
city: "sheffield"
|
|
13
|
+
|
|
14
|
+
NOH:
|
|
15
|
+
zipcode: "0115"
|
|
16
|
+
city: "nottingham"
|
|
17
|
+
|
|
18
|
+
BRS:
|
|
19
|
+
zipcode: "0117"
|
|
20
|
+
city: "bristol"
|
|
21
|
+
|
|
22
|
+
BIR:
|
|
23
|
+
zipcode: "0121"
|
|
24
|
+
city: "birmingham"
|
|
25
|
+
|
|
26
|
+
COV:
|
|
27
|
+
zipcode: "0024"
|
|
28
|
+
city: "coventry"
|
|
29
|
+
|
|
30
|
+
LIV:
|
|
31
|
+
zipcode: "0151"
|
|
32
|
+
city: "liverpool"
|
|
33
|
+
|
|
34
|
+
MAN:
|
|
35
|
+
zipcode: "0161"
|
|
36
|
+
city: "manchester"
|
|
37
|
+
|
|
38
|
+
NEW:
|
|
39
|
+
zipcode: "0191"
|
|
40
|
+
city: "newcastle"
|
|
41
|
+
|
|
42
|
+
LEI:
|
|
43
|
+
zipcode: "0161"
|
|
44
|
+
city: "leicester"
|
|
45
|
+
|
|
46
|
+
EXE:
|
|
47
|
+
zipcode: "01392"
|
|
48
|
+
city: "exeter"
|
|
49
|
+
|
|
50
|
+
LON:
|
|
51
|
+
zipcode: "01322"
|
|
52
|
+
city: "london"
|
|
53
|
+
|
|
54
|
+
AYL:
|
|
55
|
+
zipcode: "01296"
|
|
56
|
+
city: "aylesbury"
|
|
57
|
+
|
|
58
|
+
ABR:
|
|
59
|
+
zipcode: "01224"
|
|
60
|
+
city: "aberdeen"
|
|
61
|
+
|
|
62
|
+
WOR:
|
|
63
|
+
zipcode: "01905"
|
|
64
|
+
city: "worcester"
|
|
65
|
+
|
|
66
|
+
WIG:
|
|
67
|
+
zipcode: "01942"
|
|
68
|
+
city: "wigan"
|
|
69
|
+
|
|
70
|
+
DUD:
|
|
71
|
+
zipcode: "01571"
|
|
72
|
+
city: "dudley"
|
|
73
|
+
|
|
74
|
+
DON:
|
|
75
|
+
zipcode: "01302"
|
|
76
|
+
city: "doncaster"
|
|
77
|
+
|
|
78
|
+
BOL:
|
|
79
|
+
zipcode: "01204"
|
|
80
|
+
city: "bolton"
|
|
81
|
+
|
|
82
|
+
HIL:
|
|
83
|
+
zipcode: "01895"
|
|
84
|
+
city: "hillingdon"
|
|
85
|
+
|
|
86
|
+
LAN:
|
|
87
|
+
zipcode: "01524"
|
|
88
|
+
city: "lancaster"
|
|
89
|
+
|
|
90
|
+
BRI:
|
|
91
|
+
zipcode: "01273"
|
|
92
|
+
city: "brighton"
|
|
93
|
+
|
|
94
|
+
WAL:
|
|
95
|
+
zipcode: "01922"
|
|
96
|
+
city: "walsall"
|
|
97
|
+
|
|
98
|
+
ROT:
|
|
99
|
+
zipcode: "01709"
|
|
100
|
+
city: "rotherham"
|
|
101
|
+
|
|
102
|
+
PLY:
|
|
103
|
+
zipcode: "01752"
|
|
104
|
+
city: "plymounth"
|
|
105
|
+
|
|
106
|
+
NOT:
|
|
107
|
+
zipcode: "01604"
|
|
108
|
+
city: "northampton"
|
|
109
|
+
|
|
110
|
+
HUL:
|
|
111
|
+
zipcode: "01482"
|
|
112
|
+
city: "hull"
|
|
113
|
+
|
|
114
|
+
WOL:
|
|
115
|
+
zipcode: "01902"
|
|
116
|
+
city: "wolverhamton"
|
|
117
|
+
|
|
118
|
+
NOR:
|
|
119
|
+
zipcode: "01603"
|
|
120
|
+
city: "norwich"
|
|
121
|
+
|
|
122
|
+
BOR:
|
|
123
|
+
zipcode: "01202"
|
|
124
|
+
city: "bournemouth"
|
|
125
|
+
|
|
126
|
+
IPS:
|
|
127
|
+
zipcode: "01473"
|
|
128
|
+
city: "ipswich"
|
|
129
|
+
|
|
130
|
+
OXF:
|
|
131
|
+
zipcode: "01865"
|
|
132
|
+
city: "oxford"
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
japan:
|
|
2
|
+
SAP:
|
|
3
|
+
zipcode: "011"
|
|
4
|
+
city: "sapporo"
|
|
5
|
+
|
|
6
|
+
IWA:
|
|
7
|
+
zipcode: "019"
|
|
8
|
+
city: "iwate"
|
|
9
|
+
|
|
10
|
+
SED:
|
|
11
|
+
zipcode: "022"
|
|
12
|
+
city: "sendai"
|
|
13
|
+
|
|
14
|
+
YAA:
|
|
15
|
+
zipcode: "023"
|
|
16
|
+
city: "yamagata"
|
|
17
|
+
|
|
18
|
+
ADC:
|
|
19
|
+
zipcode: "024"
|
|
20
|
+
city: "adachi"
|
|
21
|
+
|
|
22
|
+
NII:
|
|
23
|
+
zipcode: "025"
|
|
24
|
+
city: "niigata"
|
|
25
|
+
|
|
26
|
+
NAG:
|
|
27
|
+
zipcode: "026"
|
|
28
|
+
city: "yamagata"
|
|
29
|
+
|
|
30
|
+
MAE:
|
|
31
|
+
zipcode: "027"
|
|
32
|
+
city: "maebashi"
|
|
33
|
+
|
|
34
|
+
KWC:
|
|
35
|
+
zipcode: "028"
|
|
36
|
+
city: "kawachi"
|
|
37
|
+
|
|
38
|
+
IBC:
|
|
39
|
+
zipcode: "029"
|
|
40
|
+
city: "ibarachi"
|
|
41
|
+
|
|
42
|
+
TOY:
|
|
43
|
+
zipcode: "030"
|
|
44
|
+
city: "tokyo"
|
|
45
|
+
|
|
46
|
+
MUS:
|
|
47
|
+
zipcode: "035"
|
|
48
|
+
city: "mutsu"
|
|
49
|
+
|
|
50
|
+
HIK:
|
|
51
|
+
zipcode: "053"
|
|
52
|
+
city: "hirosaki"
|
|
53
|
+
|
|
54
|
+
ODT:
|
|
55
|
+
zipcode: "041"
|
|
56
|
+
city: "odate"
|
|
57
|
+
|
|
58
|
+
CIB:
|
|
59
|
+
zipcode: "043"
|
|
60
|
+
city: "chiba"
|
|
61
|
+
|
|
62
|
+
KWS:
|
|
63
|
+
zipcode: "044"
|
|
64
|
+
city: "kawasaki"
|
|
65
|
+
|
|
66
|
+
YOH:
|
|
67
|
+
zipcode: "045"
|
|
68
|
+
city: "yokohama"
|
|
69
|
+
|
|
70
|
+
STA:
|
|
71
|
+
zipcode: "048"
|
|
72
|
+
city: "sataima"
|
|
73
|
+
|
|
74
|
+
SHK:
|
|
75
|
+
zipcode: "054"
|
|
76
|
+
city: "shizuoka"
|
|
77
|
+
|
|
78
|
+
GIF:
|
|
79
|
+
zipcode: "058"
|
|
80
|
+
city: "gifu"
|
|
81
|
+
|
|
82
|
+
KYO:
|
|
83
|
+
zipcode: "075"
|
|
84
|
+
city: "kyoto"
|
|
85
|
+
|
|
86
|
+
ISW:
|
|
87
|
+
zipcode: "076"
|
|
88
|
+
city: "ishikawa"
|
|
89
|
+
|
|
90
|
+
KOB:
|
|
91
|
+
zipcode: "078"
|
|
92
|
+
city: "kobe"
|
|
93
|
+
|
|
94
|
+
HIS:
|
|
95
|
+
zipcode: "082"
|
|
96
|
+
city: "hiroshima"
|
|
97
|
+
|
|
98
|
+
FUK:
|
|
99
|
+
zipcode: "092"
|
|
100
|
+
city: "fukuoka"
|
|
101
|
+
|
|
102
|
+
NAG:
|
|
103
|
+
zipcode: "095"
|
|
104
|
+
city: "nagasaki"
|
|
105
|
+
|
|
106
|
+
OKI:
|
|
107
|
+
zipcode: "098"
|
|
108
|
+
city: "okinawa"
|
|
109
|
+
|
|
110
|
+
HDT:
|
|
111
|
+
zipcode: "0138"
|
|
112
|
+
city: "hakodate"
|
|
113
|
+
|
|
114
|
+
AOR:
|
|
115
|
+
zipcode: "0172"
|
|
116
|
+
city: "aomori"
|
|
117
|
+
|
|
118
|
+
FKS:
|
|
119
|
+
zipcode: "0242"
|
|
120
|
+
city: "fukushima"
|
|
121
|
+
|
|
122
|
+
YAA:
|
|
123
|
+
zipcode: "023"
|
|
124
|
+
city: "yamagata"
|
|
125
|
+
|
|
126
|
+
ADC:
|
|
127
|
+
zipcode: "024"
|
|
128
|
+
city: "adachi"
|
|
129
|
+
|
|
130
|
+
NIS:
|
|
131
|
+
zipcode: "0250"
|
|
132
|
+
city: "niitsu"
|
|
133
|
+
|
|
134
|
+
MRK:
|
|
135
|
+
zipcode: "0254"
|
|
136
|
+
city: "murakami"
|
|
137
|
+
|
|
138
|
+
ITI:
|
|
139
|
+
zipcode: "0255"
|
|
140
|
+
city: "itoigawa"
|
|
141
|
+
|
|
142
|
+
SAK:
|
|
143
|
+
zipcode: "0267"
|
|
144
|
+
city: "saku"
|
|
145
|
+
|
|
146
|
+
SAN:
|
|
147
|
+
zipcode: "0283"
|
|
148
|
+
city: "sano"
|
|
149
|
+
|
|
150
|
+
MOO:
|
|
151
|
+
zipcode: "0285"
|
|
152
|
+
city: "mooka"
|
|
153
|
+
|
|
154
|
+
IMC:
|
|
155
|
+
zipcode: "0288"
|
|
156
|
+
city: "imaichi"
|
|
157
|
+
|
|
158
|
+
MOB:
|
|
159
|
+
zipcode: "0475"
|
|
160
|
+
city: "mobara"
|
|
161
|
+
|
|
162
|
+
KOF:
|
|
163
|
+
zipcode: "0552"
|
|
164
|
+
city: "kofu"
|
|
165
|
+
|
|
166
|
+
WAK:
|
|
167
|
+
zipcode: "0734"
|
|
168
|
+
city: "wakayama"
|
|
169
|
+
|
|
170
|
+
NAR:
|
|
171
|
+
zipcode: "0742"
|
|
172
|
+
city: "nara"
|
|
173
|
+
|
|
174
|
+
SAE:
|
|
175
|
+
zipcode: "0778"
|
|
176
|
+
city: "sabae"
|
|
177
|
+
|
|
178
|
+
YAM:
|
|
179
|
+
zipcode: "0839"
|
|
180
|
+
city: "yamaguchi"
|
|
181
|
+
|
|
182
|
+
TOS:
|
|
183
|
+
zipcode: "0942"
|
|
184
|
+
city: "tosu"
|
|
185
|
+
|
|
186
|
+
OKW:
|
|
187
|
+
zipcode: "0944"
|
|
188
|
+
city: "okawa"
|
|
189
|
+
|
|
190
|
+
HOD:
|
|
191
|
+
zipcode: "0969"
|
|
192
|
+
city: "hondo"
|
|
193
|
+
|
|
194
|
+
KOZ:
|
|
195
|
+
zipcode: "0984"
|
|
196
|
+
city: "kobayashi"
|
|
197
|
+
|
|
198
|
+
SAI:
|
|
199
|
+
zipcode: "0985"
|
|
200
|
+
city: "saito"
|
|
201
|
+
|
|
202
|
+
TAR:
|
|
203
|
+
zipcode: "0994"
|
|
204
|
+
city: "tarumizu"
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
vietnam:
|
|
2
|
+
ANG:
|
|
3
|
+
zipcode: "880000"
|
|
4
|
+
city: "angiang"
|
|
5
|
+
|
|
6
|
+
BAG:
|
|
7
|
+
zipcode: "230000"
|
|
8
|
+
city: "bacgiang"
|
|
9
|
+
|
|
10
|
+
BAL:
|
|
11
|
+
zipcode: "960000"
|
|
12
|
+
city: "baclieu"
|
|
13
|
+
|
|
14
|
+
BAN:
|
|
15
|
+
zipcode: "220000"
|
|
16
|
+
city: "bacninh"
|
|
17
|
+
|
|
18
|
+
BVT:
|
|
19
|
+
zipcode: "790000"
|
|
20
|
+
city: "bariavungtau"
|
|
21
|
+
|
|
22
|
+
BET:
|
|
23
|
+
zipcode: "930000"
|
|
24
|
+
city: "bentre"
|
|
25
|
+
|
|
26
|
+
BID:
|
|
27
|
+
zipcode: "820000"
|
|
28
|
+
city: "binhduong"
|
|
29
|
+
|
|
30
|
+
BIP:
|
|
31
|
+
zipcode: "830000"
|
|
32
|
+
city: "binhphuoc"
|
|
33
|
+
|
|
34
|
+
CAM:
|
|
35
|
+
zipcode: "970000"
|
|
36
|
+
city: "camau"
|
|
37
|
+
|
|
38
|
+
CAT:
|
|
39
|
+
zipcode: "900000"
|
|
40
|
+
city: "cantho"
|
|
41
|
+
|
|
42
|
+
CAB:
|
|
43
|
+
zipcode: "270000"
|
|
44
|
+
city: "caobang"
|
|
45
|
+
|
|
46
|
+
DNA:
|
|
47
|
+
zipcode: "550000"
|
|
48
|
+
city: "danang"
|
|
49
|
+
|
|
50
|
+
DKL:
|
|
51
|
+
zipcode: "630000"
|
|
52
|
+
city: "daklak"
|
|
53
|
+
|
|
54
|
+
DON:
|
|
55
|
+
zipcode: "810000"
|
|
56
|
+
city: "dongnai"
|
|
57
|
+
|
|
58
|
+
DOT:
|
|
59
|
+
zipcode: "870000"
|
|
60
|
+
city: "dongthap"
|
|
61
|
+
|
|
62
|
+
GIL:
|
|
63
|
+
zipcode: "600000"
|
|
64
|
+
city: "gialai"
|
|
65
|
+
|
|
66
|
+
HAG:
|
|
67
|
+
zipcode: "310000"
|
|
68
|
+
city: "hagiang"
|
|
69
|
+
|
|
70
|
+
HAM:
|
|
71
|
+
zipcode: "400000"
|
|
72
|
+
city: "hanam"
|
|
73
|
+
|
|
74
|
+
HAT:
|
|
75
|
+
zipcode: "480000"
|
|
76
|
+
city: "hatinh"
|
|
77
|
+
|
|
78
|
+
HAD:
|
|
79
|
+
zipcode: "170000"
|
|
80
|
+
city: "haiduong"
|
|
81
|
+
|
|
82
|
+
HAP:
|
|
83
|
+
zipcode: "180000"
|
|
84
|
+
city: "haiphong"
|
|
85
|
+
|
|
86
|
+
HAN:
|
|
87
|
+
zipcode: "100000"
|
|
88
|
+
city: "hanoi"
|
|
89
|
+
|
|
90
|
+
HAU:
|
|
91
|
+
zipcode: "910000"
|
|
92
|
+
city: "haugiang"
|
|
93
|
+
|
|
94
|
+
HCM:
|
|
95
|
+
zipcode: "700000"
|
|
96
|
+
city: "hochiminh"
|
|
97
|
+
|
|
98
|
+
KHA:
|
|
99
|
+
zipcode: "650000"
|
|
100
|
+
city: "khanhhoa"
|
|
101
|
+
|
|
102
|
+
KIG:
|
|
103
|
+
zipcode: "920000"
|
|
104
|
+
city: "kiengiang"
|
|
105
|
+
|
|
106
|
+
KOM:
|
|
107
|
+
zipcode: "580000"
|
|
108
|
+
city: "komtum"
|
|
109
|
+
|
|
110
|
+
LAD:
|
|
111
|
+
zipcode: "670000"
|
|
112
|
+
city: "lamdong"
|
|
113
|
+
|
|
114
|
+
LAS:
|
|
115
|
+
zipcode: "240000"
|
|
116
|
+
city: "langson"
|
|
117
|
+
|
|
118
|
+
LAC:
|
|
119
|
+
zipcode: "330000"
|
|
120
|
+
city: "laocai"
|
|
121
|
+
|
|
122
|
+
LAN:
|
|
123
|
+
zipcode: "850000"
|
|
124
|
+
city: "longan"
|
|
125
|
+
|
|
126
|
+
NAD:
|
|
127
|
+
zipcode: "420000"
|
|
128
|
+
city: "namdinh"
|
|
129
|
+
|
|
130
|
+
NGH:
|
|
131
|
+
zipcode: "470000"
|
|
132
|
+
city: "nghean"
|
|
133
|
+
|
|
134
|
+
NIB:
|
|
135
|
+
zipcode: "660000"
|
|
136
|
+
city: "ninhbinh"
|
|
137
|
+
|
|
138
|
+
PHT:
|
|
139
|
+
zipcode: "290000"
|
|
140
|
+
city: "phutho"
|
|
141
|
+
|
|
142
|
+
PHY:
|
|
143
|
+
zipcode: "620000"
|
|
144
|
+
city: "phuyen"
|
|
145
|
+
|
|
146
|
+
QUB:
|
|
147
|
+
zipcode: "510000"
|
|
148
|
+
city: "quangbinh"
|
|
149
|
+
|
|
150
|
+
QNM:
|
|
151
|
+
zipcode: "560000"
|
|
152
|
+
city: "quangnam"
|
|
153
|
+
|
|
154
|
+
QNG:
|
|
155
|
+
zipcode: "570000"
|
|
156
|
+
city: "quangngai"
|
|
157
|
+
|
|
158
|
+
QNN:
|
|
159
|
+
zipcode: "200000"
|
|
160
|
+
city: "quangninh"
|
|
161
|
+
|
|
162
|
+
QNT:
|
|
163
|
+
zipcode: "520000"
|
|
164
|
+
city: "quangtri"
|
|
165
|
+
|
|
166
|
+
SOT:
|
|
167
|
+
zipcode: "950000"
|
|
168
|
+
city: "soctrang"
|
|
169
|
+
|
|
170
|
+
SOL:
|
|
171
|
+
zipcode: "360000"
|
|
172
|
+
city: "sonla"
|
|
173
|
+
|
|
174
|
+
TAN:
|
|
175
|
+
zipcode: "840000"
|
|
176
|
+
city: "tayninh"
|
|
177
|
+
|
|
178
|
+
THB:
|
|
179
|
+
zipcode: "410000"
|
|
180
|
+
city: "thaibinh"
|
|
181
|
+
|
|
182
|
+
THH:
|
|
183
|
+
zipcode: "450000"
|
|
184
|
+
city: "thanhhoa"
|
|
185
|
+
|
|
186
|
+
TTH:
|
|
187
|
+
zipcode: "530000"
|
|
188
|
+
city: "thuathienhue"
|
|
189
|
+
|
|
190
|
+
TIG:
|
|
191
|
+
zipcode: "860000"
|
|
192
|
+
city: "tiengiang"
|
|
193
|
+
|
|
194
|
+
TRV:
|
|
195
|
+
zipcode: "940000"
|
|
196
|
+
city: "travinh"
|
|
197
|
+
|
|
198
|
+
TQU:
|
|
199
|
+
zipcode: "300000"
|
|
200
|
+
city: "tuyenquang"
|
|
201
|
+
|
|
202
|
+
VIL:
|
|
203
|
+
zipcode: "890000"
|
|
204
|
+
city: "vinhlong"
|
|
205
|
+
|
|
206
|
+
VIP:
|
|
207
|
+
zipcode: "280000"
|
|
208
|
+
city: "vinhphuc"
|
|
209
|
+
|
|
210
|
+
YEB:
|
|
211
|
+
zipcode: "320000"
|
|
212
|
+
city: "yenbai"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require_relative "postcode_three_country/version"
|
|
1
|
+
require_relative "../lib/postcode_three_country/version"
|
|
2
2
|
require "yaml"
|
|
3
3
|
require "pry"
|
|
4
4
|
|
|
@@ -160,4 +160,6 @@ module PostcodeThreeCountry
|
|
|
160
160
|
end
|
|
161
161
|
# binding.pry
|
|
162
162
|
end
|
|
163
|
-
end
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
p PostcodeThreeCountry.vi_country
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: postcode_three_country
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phtran0151
|
|
@@ -25,6 +25,9 @@ files:
|
|
|
25
25
|
- Rakefile
|
|
26
26
|
- bin/console
|
|
27
27
|
- bin/setup
|
|
28
|
+
- lib/data/england_zipcode.yaml
|
|
29
|
+
- lib/data/japan_zipcode.yaml
|
|
30
|
+
- lib/data/vietnam_zipcode.yaml
|
|
28
31
|
- lib/postcode_three_country.rb
|
|
29
32
|
- lib/postcode_three_country/version.rb
|
|
30
33
|
- postcode_three_country.gemspec
|