jpostcode 1.0.0.20200801 → 1.0.0.20210101
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +28 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +68 -2
- data/Gemfile.lock +31 -30
- data/jpostcode-data/data/json/003.json +13 -0
- data/jpostcode-data/data/json/004.json +26 -0
- data/jpostcode-data/data/json/024.json +26 -0
- data/jpostcode-data/data/json/038.json +5 -5
- data/jpostcode-data/data/json/060.json +9 -22
- 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 +11 -76
- data/jpostcode-data/data/json/080.json +13 -0
- data/jpostcode-data/data/json/100.json +54 -13
- data/jpostcode-data/data/json/101.json +13 -13
- data/jpostcode-data/data/json/102.json +68 -16
- data/jpostcode-data/data/json/103.json +4 -17
- data/jpostcode-data/data/json/105.json +26 -26
- data/jpostcode-data/data/json/107.json +2 -2
- data/jpostcode-data/data/json/108.json +17 -4
- data/jpostcode-data/data/json/110.json +13 -0
- data/jpostcode-data/data/json/113.json +29 -31
- data/jpostcode-data/data/json/114.json +3 -3
- data/jpostcode-data/data/json/130.json +13 -0
- data/jpostcode-data/data/json/135.json +5 -18
- data/jpostcode-data/data/json/136.json +0 -13
- data/jpostcode-data/data/json/140.json +16 -3
- data/jpostcode-data/data/json/143.json +0 -13
- data/jpostcode-data/data/json/150.json +5 -5
- data/jpostcode-data/data/json/160.json +7 -7
- 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/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 +2 -2
- data/jpostcode-data/data/json/223.json +3 -3
- data/jpostcode-data/data/json/224.json +13 -0
- data/jpostcode-data/data/json/231.json +28 -80
- 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/251.json +13 -0
- data/jpostcode-data/data/json/252.json +54 -41
- data/jpostcode-data/data/json/253.json +4 -30
- data/jpostcode-data/data/json/254.json +27 -14
- data/jpostcode-data/data/json/257.json +4 -4
- data/jpostcode-data/data/json/259.json +3 -29
- data/jpostcode-data/data/json/272.json +28 -13
- data/jpostcode-data/data/json/275.json +1 -1
- data/jpostcode-data/data/json/301.json +6 -6
- data/jpostcode-data/data/json/306.json +13 -0
- data/jpostcode-data/data/json/307.json +3 -16
- 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/321.json +2 -2
- data/jpostcode-data/data/json/330.json +13 -0
- data/jpostcode-data/data/json/356.json +13 -0
- data/jpostcode-data/data/json/362.json +91 -0
- data/jpostcode-data/data/json/395.json +13 -0
- data/jpostcode-data/data/json/399.json +5 -18
- data/jpostcode-data/data/json/400.json +3 -3
- data/jpostcode-data/data/json/410.json +2 -2
- data/jpostcode-data/data/json/444.json +13 -0
- data/jpostcode-data/data/json/445.json +13 -0
- data/jpostcode-data/data/json/448.json +13 -0
- data/jpostcode-data/data/json/453.json +0 -13
- data/jpostcode-data/data/json/455.json +13 -0
- data/jpostcode-data/data/json/460.json +6 -6
- data/jpostcode-data/data/json/503.json +3 -3
- data/jpostcode-data/data/json/505.json +13 -0
- data/jpostcode-data/data/json/506.json +5 -5
- 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/520.json +13 -0
- data/jpostcode-data/data/json/525.json +28 -13
- data/jpostcode-data/data/json/530.json +13 -0
- data/jpostcode-data/data/json/536.json +1 -1
- data/jpostcode-data/data/json/539.json +8 -8
- data/jpostcode-data/data/json/564.json +5 -5
- 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/616.json +3 -3
- data/jpostcode-data/data/json/620.json +315 -104
- data/jpostcode-data/data/json/630.json +4 -4
- data/jpostcode-data/data/json/651.json +3 -3
- data/jpostcode-data/data/json/657.json +1 -1
- 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/758.json +3 -3
- data/jpostcode-data/data/json/760.json +26 -13
- data/jpostcode-data/data/json/761.json +13 -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/810.json +0 -26
- 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/867.json +41 -13
- data/jpostcode-data/data/json/870.json +42 -3
- data/jpostcode-data/data/json/879.json +0 -13
- data/jpostcode-data/data/json/900.json +4 -4
- data/jpostcode-data/data/json/901.json +2 -2
- 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/926.json +2 -2
- data/jpostcode-data/data/json/940.json +13 -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/964.json +1 -1
- data/jpostcode-data/data/json/967.json +1 -1
- data/jpostcode-data/data/json/969.json +4 -30
- data/jpostcode-data/data/json/981.json +13 -13
- 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 +3 -3
@@ -2037,8 +2037,8 @@
|
|
2037
2037
|
"town": "河原田本町",
|
2038
2038
|
"town_kana": "カワハラダホンマチ",
|
2039
2039
|
"street": "394",
|
2040
|
-
"office_name": "佐渡市役所
|
2041
|
-
"office_name_kana": "サドシヤクシヨ
|
2040
|
+
"office_name": "佐渡市役所 佐和田行政サービスセンター",
|
2041
|
+
"office_name_kana": "サドシヤクシヨ サワタギヨウセイサ-ビスセンタ-"
|
2042
2042
|
},
|
2043
2043
|
"1431": {
|
2044
2044
|
"postcode": "9521431",
|
@@ -2970,9 +2970,9 @@
|
|
2970
2970
|
"prefecture_code": 15,
|
2971
2971
|
"city": "佐渡市",
|
2972
2972
|
"city_kana": "サドシ",
|
2973
|
-
"town": "
|
2974
|
-
"town_kana": "
|
2975
|
-
"street": "
|
2973
|
+
"town": "相川栄町",
|
2974
|
+
"town_kana": "アイカワサカエマチ",
|
2975
|
+
"street": "27",
|
2976
2976
|
"office_name": "佐渡市役所 相川支所",
|
2977
2977
|
"office_name_kana": "サドシヤクシヨ アイカワシシヨ"
|
2978
2978
|
},
|
@@ -1930,11 +1930,11 @@
|
|
1930
1930
|
"prefecture_code": 15,
|
1931
1931
|
"city": "村上市",
|
1932
1932
|
"city_kana": "ムラカミシ",
|
1933
|
-
"town": "
|
1934
|
-
"town_kana": "
|
1935
|
-
"street": "
|
1936
|
-
"office_name": "村上総合病院",
|
1937
|
-
"office_name_kana": "ムラカミソウゴウビヨウイン"
|
1933
|
+
"town": "緑町",
|
1934
|
+
"town_kana": "ミドリマチ",
|
1935
|
+
"street": "5丁目8番1号",
|
1936
|
+
"office_name": "新潟県厚生農業協同組合連合会 村上総合病院",
|
1937
|
+
"office_name_kana": "ニイガタケンコウセイノウギヨウキヨウドウクミアイレンゴウカイ ムラカミソウゴウビヨウイン"
|
1938
1938
|
},
|
1939
1939
|
"8555": {
|
1940
1940
|
"postcode": "9588555",
|
@@ -4322,9 +4322,9 @@
|
|
4322
4322
|
"prefecture_code": 7,
|
4323
4323
|
"city": "伊達郡桑折町",
|
4324
4324
|
"city_kana": "ダテグンコオリマチ",
|
4325
|
-
"town": "
|
4325
|
+
"town": "大字谷地",
|
4326
4326
|
"town_kana": null,
|
4327
|
-
"street": "
|
4327
|
+
"street": "字道下22番地7(桑折郵便局私書箱第12号)",
|
4328
4328
|
"office_name": "桑折町役場",
|
4329
4329
|
"office_name_kana": "コオリマチヤクバ"
|
4330
4330
|
},
|
@@ -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
|
},
|
@@ -701,6 +701,19 @@
|
|
701
701
|
"office_name": null,
|
702
702
|
"office_name_kana": null
|
703
703
|
},
|
704
|
+
"0507": {
|
705
|
+
"postcode": "9810507",
|
706
|
+
"prefecture": "宮城県",
|
707
|
+
"prefecture_kana": "ミヤギケン",
|
708
|
+
"prefecture_code": 4,
|
709
|
+
"city": "東松島市",
|
710
|
+
"city_kana": "ヒガシマツシマシ",
|
711
|
+
"town": "みそら",
|
712
|
+
"town_kana": "ミソラ",
|
713
|
+
"street": null,
|
714
|
+
"office_name": null,
|
715
|
+
"office_name_kana": null
|
716
|
+
},
|
704
717
|
"0901": {
|
705
718
|
"postcode": "9810901",
|
706
719
|
"prefecture": "宮城県",
|
@@ -7396,19 +7409,6 @@
|
|
7396
7409
|
"office_name": "大衡村役場",
|
7397
7410
|
"office_name_kana": "オオヒラムラヤクバ"
|
7398
7411
|
},
|
7399
|
-
"3693": {
|
7400
|
-
"postcode": "9813693",
|
7401
|
-
"prefecture": "宮城県",
|
7402
|
-
"prefecture_kana": "ミヤギケン",
|
7403
|
-
"prefecture_code": 4,
|
7404
|
-
"city": "黒川郡大衡村",
|
7405
|
-
"city_kana": "クロカワグンオオヒラムラ",
|
7406
|
-
"town": "沖の平",
|
7407
|
-
"town_kana": "オキノダイラ",
|
7408
|
-
"street": "1番",
|
7409
|
-
"office_name": "ラピスセミコンダクタ宮城 株式会社",
|
7410
|
-
"office_name_kana": "ラピスセミコンダクタミヤギ カブシキガイシヤ"
|
7411
|
-
},
|
7412
7412
|
"3697": {
|
7413
7413
|
"postcode": "9813697",
|
7414
7414
|
"prefecture": "宮城県",
|
@@ -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.20210101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kakipo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -1163,7 +1163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1163
1163
|
- !ruby/object:Gem::Version
|
1164
1164
|
version: '0'
|
1165
1165
|
requirements: []
|
1166
|
-
rubygems_version: 3.
|
1166
|
+
rubygems_version: 3.2.3
|
1167
1167
|
signing_key:
|
1168
1168
|
specification_version: 4
|
1169
1169
|
summary: A Ruby implementation for Japan postcode.
|