jpostcode 1.0.0.20200701 → 1.0.0.20201201
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/.circleci/config.yml +12 -0
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +68 -1
- data/Gemfile.lock +28 -27
- data/jpostcode-data/data/json/003.json +13 -0
- data/jpostcode-data/data/json/004.json +26 -0
- data/jpostcode-data/data/json/013.json +13 -0
- data/jpostcode-data/data/json/024.json +13 -0
- data/jpostcode-data/data/json/038.json +5 -5
- data/jpostcode-data/data/json/060.json +15 -15
- data/jpostcode-data/data/json/062.json +3 -3
- data/jpostcode-data/data/json/063.json +13 -0
- data/jpostcode-data/data/json/078.json +13 -0
- data/jpostcode-data/data/json/079.json +8 -73
- data/jpostcode-data/data/json/086.json +110 -110
- data/jpostcode-data/data/json/100.json +57 -16
- data/jpostcode-data/data/json/101.json +13 -13
- data/jpostcode-data/data/json/102.json +81 -16
- data/jpostcode-data/data/json/103.json +4 -4
- data/jpostcode-data/data/json/104.json +0 -13
- data/jpostcode-data/data/json/105.json +42 -29
- data/jpostcode-data/data/json/107.json +2 -2
- data/jpostcode-data/data/json/108.json +3 -3
- data/jpostcode-data/data/json/110.json +13 -0
- data/jpostcode-data/data/json/112.json +26 -0
- data/jpostcode-data/data/json/113.json +29 -31
- data/jpostcode-data/data/json/121.json +13 -0
- data/jpostcode-data/data/json/130.json +13 -0
- data/jpostcode-data/data/json/135.json +5 -18
- data/jpostcode-data/data/json/140.json +16 -3
- data/jpostcode-data/data/json/141.json +13 -0
- data/jpostcode-data/data/json/143.json +0 -13
- data/jpostcode-data/data/json/150.json +21 -8
- data/jpostcode-data/data/json/151.json +13 -0
- data/jpostcode-data/data/json/153.json +13 -0
- data/jpostcode-data/data/json/160.json +21 -8
- data/jpostcode-data/data/json/163.json +1 -1
- data/jpostcode-data/data/json/164.json +0 -13
- data/jpostcode-data/data/json/180.json +13 -0
- data/jpostcode-data/data/json/183.json +13 -0
- data/jpostcode-data/data/json/192.json +5 -5
- data/jpostcode-data/data/json/203.json +3 -3
- data/jpostcode-data/data/json/210.json +0 -26
- data/jpostcode-data/data/json/212.json +0 -52
- data/jpostcode-data/data/json/215.json +3 -16
- data/jpostcode-data/data/json/216.json +26 -13
- data/jpostcode-data/data/json/220.json +26 -0
- data/jpostcode-data/data/json/221.json +13 -0
- data/jpostcode-data/data/json/222.json +5 -5
- data/jpostcode-data/data/json/223.json +3 -3
- data/jpostcode-data/data/json/224.json +13 -0
- data/jpostcode-data/data/json/235.json +2 -2
- data/jpostcode-data/data/json/237.json +0 -26
- data/jpostcode-data/data/json/240.json +13 -0
- data/jpostcode-data/data/json/241.json +3 -3
- data/jpostcode-data/data/json/242.json +2 -15
- data/jpostcode-data/data/json/243.json +0 -26
- data/jpostcode-data/data/json/248.json +1 -1
- data/jpostcode-data/data/json/250.json +13 -0
- data/jpostcode-data/data/json/251.json +13 -0
- data/jpostcode-data/data/json/252.json +52 -39
- data/jpostcode-data/data/json/253.json +4 -30
- data/jpostcode-data/data/json/257.json +4 -4
- data/jpostcode-data/data/json/259.json +3 -16
- data/jpostcode-data/data/json/275.json +14 -1
- data/jpostcode-data/data/json/279.json +5 -5
- data/jpostcode-data/data/json/300.json +1 -1
- data/jpostcode-data/data/json/301.json +6 -6
- data/jpostcode-data/data/json/305.json +13 -0
- data/jpostcode-data/data/json/306.json +13 -0
- data/jpostcode-data/data/json/310.json +1 -1
- data/jpostcode-data/data/json/312.json +5 -5
- data/jpostcode-data/data/json/319.json +2 -2
- data/jpostcode-data/data/json/328.json +3 -3
- data/jpostcode-data/data/json/330.json +13 -0
- data/jpostcode-data/data/json/346.json +13 -0
- data/jpostcode-data/data/json/350.json +14 -1
- data/jpostcode-data/data/json/356.json +13 -0
- data/jpostcode-data/data/json/362.json +78 -0
- data/jpostcode-data/data/json/395.json +13 -0
- data/jpostcode-data/data/json/399.json +5 -5
- data/jpostcode-data/data/json/400.json +3 -3
- data/jpostcode-data/data/json/410.json +2 -2
- data/jpostcode-data/data/json/445.json +13 -0
- data/jpostcode-data/data/json/453.json +0 -13
- data/jpostcode-data/data/json/460.json +6 -6
- data/jpostcode-data/data/json/468.json +3 -3
- data/jpostcode-data/data/json/470.json +13 -0
- data/jpostcode-data/data/json/484.json +13 -0
- data/jpostcode-data/data/json/505.json +13 -0
- data/jpostcode-data/data/json/506.json +5 -5
- data/jpostcode-data/data/json/510.json +3 -3
- data/jpostcode-data/data/json/515.json +2 -2
- data/jpostcode-data/data/json/516.json +13 -0
- data/jpostcode-data/data/json/518.json +2 -2
- data/jpostcode-data/data/json/525.json +28 -13
- data/jpostcode-data/data/json/536.json +1 -1
- data/jpostcode-data/data/json/539.json +8 -8
- data/jpostcode-data/data/json/560.json +13 -0
- data/jpostcode-data/data/json/562.json +9 -9
- data/jpostcode-data/data/json/564.json +5 -5
- data/jpostcode-data/data/json/577.json +3 -3
- data/jpostcode-data/data/json/583.json +2 -2
- data/jpostcode-data/data/json/592.json +2 -2
- data/jpostcode-data/data/json/596.json +0 -13
- data/jpostcode-data/data/json/600.json +0 -13
- data/jpostcode-data/data/json/604.json +14 -1
- data/jpostcode-data/data/json/610.json +2 -2
- data/jpostcode-data/data/json/614.json +13 -0
- data/jpostcode-data/data/json/630.json +4 -4
- data/jpostcode-data/data/json/651.json +3 -3
- data/jpostcode-data/data/json/670.json +3 -3
- data/jpostcode-data/data/json/701.json +13 -0
- data/jpostcode-data/data/json/712.json +2 -2
- data/jpostcode-data/data/json/720.json +2 -2
- data/jpostcode-data/data/json/733.json +0 -13
- data/jpostcode-data/data/json/742.json +3 -3
- data/jpostcode-data/data/json/745.json +3 -3
- data/jpostcode-data/data/json/758.json +3 -3
- data/jpostcode-data/data/json/760.json +26 -0
- data/jpostcode-data/data/json/768.json +13 -0
- data/jpostcode-data/data/json/779.json +13 -0
- data/jpostcode-data/data/json/799.json +2 -2
- data/jpostcode-data/data/json/807.json +13 -0
- data/jpostcode-data/data/json/810.json +0 -13
- data/jpostcode-data/data/json/811.json +13 -0
- data/jpostcode-data/data/json/812.json +1 -1
- data/jpostcode-data/data/json/819.json +26 -0
- data/jpostcode-data/data/json/820.json +3 -3
- data/jpostcode-data/data/json/821.json +3 -3
- data/jpostcode-data/data/json/842.json +3 -3
- data/jpostcode-data/data/json/849.json +5 -5
- data/jpostcode-data/data/json/852.json +1 -1
- data/jpostcode-data/data/json/861.json +3 -3
- data/jpostcode-data/data/json/863.json +3 -3
- data/jpostcode-data/data/json/867.json +41 -13
- data/jpostcode-data/data/json/870.json +2 -2
- data/jpostcode-data/data/json/879.json +0 -13
- data/jpostcode-data/data/json/880.json +5 -5
- data/jpostcode-data/data/json/900.json +4 -4
- data/jpostcode-data/data/json/907.json +26 -0
- data/jpostcode-data/data/json/910.json +2 -2
- data/jpostcode-data/data/json/920.json +68 -3
- data/jpostcode-data/data/json/921.json +2 -2
- data/jpostcode-data/data/json/926.json +2 -2
- data/jpostcode-data/data/json/931.json +2 -2
- data/jpostcode-data/data/json/940.json +26 -0
- data/jpostcode-data/data/json/942.json +13 -0
- data/jpostcode-data/data/json/948.json +26 -0
- data/jpostcode-data/data/json/949.json +13 -0
- data/jpostcode-data/data/json/952.json +5 -5
- data/jpostcode-data/data/json/958.json +5 -5
- data/jpostcode-data/data/json/967.json +1 -1
- data/jpostcode-data/data/json/969.json +2 -28
- data/jpostcode-data/data/json/980.json +2 -2
- data/jpostcode-data/data/json/982.json +3 -3
- data/jpostcode-data/data/json/983.json +0 -91
- data/jpostcode-data/data/json/984.json +3 -3
- data/jpostcode-data/data/json/989.json +39 -0
- data/jpostcode-data/data/json/990.json +1 -1
- data/lib/jpostcode.rb +2 -2
- data/lib/jpostcode/version.rb +1 -1
- metadata +5 -5
@@ -7733,19 +7733,6 @@
|
|
7733
7733
|
"office_name": null,
|
7734
7734
|
"office_name_kana": null
|
7735
7735
|
},
|
7736
|
-
"3592": {
|
7737
|
-
"postcode": "9693592",
|
7738
|
-
"prefecture": "福島県",
|
7739
|
-
"prefecture_kana": "フクシマケン",
|
7740
|
-
"prefecture_code": 7,
|
7741
|
-
"city": "喜多方市",
|
7742
|
-
"city_kana": "キタカタシ",
|
7743
|
-
"town": "塩川町",
|
7744
|
-
"town_kana": null,
|
7745
|
-
"street": "字岡ノ前241(塩川郵便局私書箱第1号)",
|
7746
|
-
"office_name": "喜多方市役所 塩川総合支所",
|
7747
|
-
"office_name_kana": "キタカタシヤクシヨ シオカワソウゴウシシヨ"
|
7748
|
-
},
|
7749
7736
|
"3593": {
|
7750
7737
|
"postcode": "9693593",
|
7751
7738
|
"prefecture": "福島県",
|
@@ -7759,19 +7746,6 @@
|
|
7759
7746
|
"office_name": "湯川村役場",
|
7760
7747
|
"office_name_kana": "ユガワムラヤクバ"
|
7761
7748
|
},
|
7762
|
-
"3594": {
|
7763
|
-
"postcode": "9693594",
|
7764
|
-
"prefecture": "福島県",
|
7765
|
-
"prefecture_kana": "フクシマケン",
|
7766
|
-
"prefecture_code": 7,
|
7767
|
-
"city": "喜多方市",
|
7768
|
-
"city_kana": "キタカタシ",
|
7769
|
-
"town": "塩川町小府根",
|
7770
|
-
"town_kana": "シオカワマチコフネ",
|
7771
|
-
"street": "字大谷地1番",
|
7772
|
-
"office_name": "オン・セミコンダクター・テクノロジー 株式会社",
|
7773
|
-
"office_name_kana": "オン・セミコンダクタ-・テクノロジ- カブシキガイシヤ"
|
7774
|
-
},
|
7775
7749
|
"4101": {
|
7776
7750
|
"postcode": "9694101",
|
7777
7751
|
"prefecture": "福島県",
|
@@ -12757,9 +12731,9 @@
|
|
12757
12731
|
"prefecture_code": 7,
|
12758
12732
|
"city": "大沼郡会津美里町",
|
12759
12733
|
"city_kana": "オオヌマグンアイヅミサトマチ",
|
12760
|
-
"town": "
|
12734
|
+
"town": "字新布才地",
|
12761
12735
|
"town_kana": null,
|
12762
|
-
"street": "
|
12736
|
+
"street": "1(会津高田郵便局私書箱第4号)",
|
12763
12737
|
"office_name": "会津美里町役場",
|
12764
12738
|
"office_name_kana": "アイヅミサトマチヤクバ"
|
12765
12739
|
},
|
@@ -1751,8 +1751,8 @@
|
|
1751
1751
|
"town": "本町",
|
1752
1752
|
"town_kana": "ホンチョウ",
|
1753
1753
|
"street": "2丁目16−10",
|
1754
|
-
"office_name": "積水ハウス 株式会社
|
1755
|
-
"office_name_kana": "セキスイハウス カブシキガイシヤ
|
1754
|
+
"office_name": "積水ハウス 株式会社 東北シャーメゾン支店",
|
1755
|
+
"office_name_kana": "セキスイハウス カブシキガイシヤ トウホクシヤ-メゾンシテン"
|
1756
1756
|
},
|
1757
1757
|
"8441": {
|
1758
1758
|
"postcode": "9808441",
|
@@ -1089,9 +1089,9 @@
|
|
1089
1089
|
"city_kana": "センダイシタイハクク",
|
1090
1090
|
"town": "郡山",
|
1091
1091
|
"town_kana": "コオリヤマ",
|
1092
|
-
"street": "
|
1093
|
-
"office_name": "
|
1094
|
-
"office_name_kana": "
|
1092
|
+
"street": "6丁目7番1号",
|
1093
|
+
"office_name": "株式会社 トーキン",
|
1094
|
+
"office_name_kana": "カブシキガイシヤ ト-キン"
|
1095
1095
|
},
|
1096
1096
|
"8511": {
|
1097
1097
|
"postcode": "9828511",
|
@@ -1015,19 +1015,6 @@
|
|
1015
1015
|
"office_name": "宮城県 社会保険診療報酬支払基金",
|
1016
1016
|
"office_name_kana": "ミヤギケン シヤカイホケンシンリヨウホウシユウシハライキキン"
|
1017
1017
|
},
|
1018
|
-
"8506": {
|
1019
|
-
"postcode": "9838506",
|
1020
|
-
"prefecture": "宮城県",
|
1021
|
-
"prefecture_kana": "ミヤギケン",
|
1022
|
-
"prefecture_code": 4,
|
1023
|
-
"city": "仙台市宮城野区",
|
1024
|
-
"city_kana": "センダイシミヤギノク",
|
1025
|
-
"town": "榴岡",
|
1026
|
-
"town_kana": "ツツジガオカ",
|
1027
|
-
"street": "3丁目4−18",
|
1028
|
-
"office_name": "東邦薬品 株式会社 東北営業本部",
|
1029
|
-
"office_name_kana": "トウホウヤクヒン カブシキガイシヤ トウホクエイギヨウホンブ"
|
1030
|
-
},
|
1031
1018
|
"8507": {
|
1032
1019
|
"postcode": "9838507",
|
1033
1020
|
"prefecture": "宮城県",
|
@@ -1041,19 +1028,6 @@
|
|
1041
1028
|
"office_name": "仙台労働基準監督署",
|
1042
1029
|
"office_name_kana": "センダイロウドウキジユンカントクシヨ"
|
1043
1030
|
},
|
1044
|
-
"8510": {
|
1045
|
-
"postcode": "9838510",
|
1046
|
-
"prefecture": "宮城県",
|
1047
|
-
"prefecture_kana": "ミヤギケン",
|
1048
|
-
"prefecture_code": 4,
|
1049
|
-
"city": "仙台市宮城野区",
|
1050
|
-
"city_kana": "センダイシミヤギノク",
|
1051
|
-
"town": "苦竹",
|
1052
|
-
"town_kana": "ニガタケ",
|
1053
|
-
"street": "1丁目7−10",
|
1054
|
-
"office_name": "株式会社 ニチレイ",
|
1055
|
-
"office_name_kana": "カブシキガイシヤ ニチレイ"
|
1056
|
-
},
|
1057
1031
|
"8511": {
|
1058
1032
|
"postcode": "9838511",
|
1059
1033
|
"prefecture": "宮城県",
|
@@ -1145,32 +1119,6 @@
|
|
1145
1119
|
"office_name": "NTTファイナンス 株式会社",
|
1146
1120
|
"office_name_kana": "エヌテイテイフアイナンス カブシキガイシヤ"
|
1147
1121
|
},
|
1148
|
-
"8527": {
|
1149
|
-
"postcode": "9838527",
|
1150
|
-
"prefecture": "宮城県",
|
1151
|
-
"prefecture_kana": "ミヤギケン",
|
1152
|
-
"prefecture_code": 4,
|
1153
|
-
"city": "仙台市宮城野区",
|
1154
|
-
"city_kana": "センダイシミヤギノク",
|
1155
|
-
"town": "名掛丁",
|
1156
|
-
"town_kana": "ナカケチョウ",
|
1157
|
-
"street": "128番地広瀬通SEビル5階",
|
1158
|
-
"office_name": "日本年金機構 東北ブロック本部 宮城事務センター",
|
1159
|
-
"office_name_kana": "ニツポンネンキンキコウ トウホクブロツクホンブ ミヤギジムセンタ-"
|
1160
|
-
},
|
1161
|
-
"8528": {
|
1162
|
-
"postcode": "9838528",
|
1163
|
-
"prefecture": "宮城県",
|
1164
|
-
"prefecture_kana": "ミヤギケン",
|
1165
|
-
"prefecture_code": 4,
|
1166
|
-
"city": "仙台市宮城野区",
|
1167
|
-
"city_kana": "センダイシミヤギノク",
|
1168
|
-
"town": "榴岡",
|
1169
|
-
"town_kana": "ツツジガオカ",
|
1170
|
-
"street": "5丁目12番55号",
|
1171
|
-
"office_name": "株式会社 仙台ソフトウェアセンター",
|
1172
|
-
"office_name_kana": "カブシキガイシヤ センダイソフトウエアセンタ-"
|
1173
|
-
},
|
1174
1122
|
"8533": {
|
1175
1123
|
"postcode": "9838533",
|
1176
1124
|
"prefecture": "宮城県",
|
@@ -1184,19 +1132,6 @@
|
|
1184
1132
|
"office_name": "株式会社 菱食 仙台支社",
|
1185
1133
|
"office_name_kana": "カブシキガイシヤ リヨウシヨク センダイシシヤ"
|
1186
1134
|
},
|
1187
|
-
"8535": {
|
1188
|
-
"postcode": "9838535",
|
1189
|
-
"prefecture": "宮城県",
|
1190
|
-
"prefecture_kana": "ミヤギケン",
|
1191
|
-
"prefecture_code": 4,
|
1192
|
-
"city": "仙台市宮城野区",
|
1193
|
-
"city_kana": "センダイシミヤギノク",
|
1194
|
-
"town": "榴岡",
|
1195
|
-
"town_kana": "ツツジガオカ",
|
1196
|
-
"street": "4丁目3番10号",
|
1197
|
-
"office_name": "株式会社 NTTデータ 東北",
|
1198
|
-
"office_name_kana": "カブシキガイシヤ エヌ・テイ・テイ・デ-タ トウホク"
|
1199
|
-
},
|
1200
1135
|
"8536": {
|
1201
1136
|
"postcode": "9838536",
|
1202
1137
|
"prefecture": "宮城県",
|
@@ -1353,19 +1288,6 @@
|
|
1353
1288
|
"office_name": "宮城トヨタ自動車 株式会社",
|
1354
1289
|
"office_name_kana": "ミヤギトヨタジドウシヤ カブシキガイシヤ"
|
1355
1290
|
},
|
1356
|
-
"8584": {
|
1357
|
-
"postcode": "9838584",
|
1358
|
-
"prefecture": "宮城県",
|
1359
|
-
"prefecture_kana": "ミヤギケン",
|
1360
|
-
"prefecture_code": 4,
|
1361
|
-
"city": "仙台市宮城野区",
|
1362
|
-
"city_kana": "センダイシミヤギノク",
|
1363
|
-
"town": "扇町",
|
1364
|
-
"town_kana": "オウギマチ",
|
1365
|
-
"street": "2丁目4−51",
|
1366
|
-
"office_name": "ネッツトヨタ仙台 株式会社",
|
1367
|
-
"office_name_kana": "ネツツトヨタセンダイ カブシキガイシヤ"
|
1368
|
-
},
|
1369
1291
|
"8585": {
|
1370
1292
|
"postcode": "9838585",
|
1371
1293
|
"prefecture": "宮城県",
|
@@ -1392,19 +1314,6 @@
|
|
1392
1314
|
"office_name": "仙台市宮城野区役所",
|
1393
1315
|
"office_name_kana": "センダイシミヤギノクヤクシヨ"
|
1394
1316
|
},
|
1395
|
-
"8602": {
|
1396
|
-
"postcode": "9838602",
|
1397
|
-
"prefecture": "宮城県",
|
1398
|
-
"prefecture_kana": "ミヤギケン",
|
1399
|
-
"prefecture_code": 4,
|
1400
|
-
"city": "仙台市宮城野区",
|
1401
|
-
"city_kana": "センダイシミヤギノク",
|
1402
|
-
"town": "日の出町",
|
1403
|
-
"town_kana": "ヒノデマチ",
|
1404
|
-
"street": "3丁目3番10号",
|
1405
|
-
"office_name": "東北流通サービス 株式会社",
|
1406
|
-
"office_name_kana": "トウホクリユウツウサ-ビス カブシキガイシヤ"
|
1407
|
-
},
|
1408
1317
|
"8622": {
|
1409
1318
|
"postcode": "9838622",
|
1410
1319
|
"prefecture": "宮城県",
|
@@ -1241,9 +1241,9 @@
|
|
1241
1241
|
"prefecture_code": 4,
|
1242
1242
|
"city": "仙台市若林区",
|
1243
1243
|
"city_kana": "センダイシワカバヤシク",
|
1244
|
-
"town": "
|
1245
|
-
"town_kana": "
|
1246
|
-
"street": "
|
1244
|
+
"town": "荒井東",
|
1245
|
+
"town_kana": "アライヒガシ",
|
1246
|
+
"street": "1−1−10",
|
1247
1247
|
"office_name": "ダイト薬品 株式会社",
|
1248
1248
|
"office_name_kana": "ダイトヤクヒン カブシキガイシヤ"
|
1249
1249
|
},
|
@@ -4722,6 +4722,19 @@
|
|
4722
4722
|
"office_name": null,
|
4723
4723
|
"office_name_kana": null
|
4724
4724
|
},
|
4725
|
+
"2325": {
|
4726
|
+
"postcode": "9892325",
|
4727
|
+
"prefecture": "宮城県",
|
4728
|
+
"prefecture_kana": "ミヤギケン",
|
4729
|
+
"prefecture_code": 4,
|
4730
|
+
"city": "亘理郡亘理町",
|
4731
|
+
"city_kana": "ワタリグンワタリチョウ",
|
4732
|
+
"town": "花苺",
|
4733
|
+
"town_kana": "ハナイチゴ",
|
4734
|
+
"street": null,
|
4735
|
+
"office_name": null,
|
4736
|
+
"office_name_kana": null
|
4737
|
+
},
|
4725
4738
|
"2331": {
|
4726
4739
|
"postcode": "9892331",
|
4727
4740
|
"prefecture": "宮城県",
|
@@ -4735,6 +4748,32 @@
|
|
4735
4748
|
"office_name": null,
|
4736
4749
|
"office_name_kana": null
|
4737
4750
|
},
|
4751
|
+
"2332": {
|
4752
|
+
"postcode": "9892332",
|
4753
|
+
"prefecture": "宮城県",
|
4754
|
+
"prefecture_kana": "ミヤギケン",
|
4755
|
+
"prefecture_code": 4,
|
4756
|
+
"city": "亘理郡亘理町",
|
4757
|
+
"city_kana": "ワタリグンワタリチョウ",
|
4758
|
+
"town": "苺浜",
|
4759
|
+
"town_kana": "イチゴハマ",
|
4760
|
+
"street": null,
|
4761
|
+
"office_name": null,
|
4762
|
+
"office_name_kana": null
|
4763
|
+
},
|
4764
|
+
"2333": {
|
4765
|
+
"postcode": "9892333",
|
4766
|
+
"prefecture": "宮城県",
|
4767
|
+
"prefecture_kana": "ミヤギケン",
|
4768
|
+
"prefecture_code": 4,
|
4769
|
+
"city": "亘理郡亘理町",
|
4770
|
+
"city_kana": "ワタリグンワタリチョウ",
|
4771
|
+
"town": "苺里",
|
4772
|
+
"town_kana": "イチゴサト",
|
4773
|
+
"street": null,
|
4774
|
+
"office_name": null,
|
4775
|
+
"office_name_kana": null
|
4776
|
+
},
|
4738
4777
|
"2341": {
|
4739
4778
|
"postcode": "9892341",
|
4740
4779
|
"prefecture": "宮城県",
|
data/lib/jpostcode.rb
CHANGED
@@ -5,7 +5,7 @@ require 'jpostcode/address'
|
|
5
5
|
require 'json'
|
6
6
|
|
7
7
|
module Jpostcode
|
8
|
-
DATA_DIR = File.dirname(__FILE__)
|
8
|
+
DATA_DIR = "#{File.dirname(__FILE__)}/../jpostcode-data/data/json/"
|
9
9
|
|
10
10
|
module_function
|
11
11
|
|
@@ -13,7 +13,7 @@ module Jpostcode
|
|
13
13
|
zip_code = raw_zip_code.to_s.delete('-')
|
14
14
|
return nil unless /^\d{7,7}$/ =~ zip_code
|
15
15
|
|
16
|
-
json_file = DATA_DIR
|
16
|
+
json_file = "#{DATA_DIR}#{zip_code.slice(0, 3)}.json"
|
17
17
|
return nil unless File.exist?(json_file)
|
18
18
|
|
19
19
|
data = JSON.parse(File.open(json_file).read)
|
data/lib/jpostcode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpostcode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.20201201
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kakipo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -1148,7 +1148,7 @@ licenses:
|
|
1148
1148
|
- MIT
|
1149
1149
|
metadata:
|
1150
1150
|
allowed_push_host: https://rubygems.org
|
1151
|
-
post_install_message:
|
1151
|
+
post_install_message:
|
1152
1152
|
rdoc_options: []
|
1153
1153
|
require_paths:
|
1154
1154
|
- lib
|
@@ -1164,7 +1164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1164
1164
|
version: '0'
|
1165
1165
|
requirements: []
|
1166
1166
|
rubygems_version: 3.1.2
|
1167
|
-
signing_key:
|
1167
|
+
signing_key:
|
1168
1168
|
specification_version: 4
|
1169
1169
|
summary: A Ruby implementation for Japan postcode.
|
1170
1170
|
test_files: []
|