jpostcode 1.0.0.20200601 → 1.0.0.20201101
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 +62 -0
- data/Gemfile.lock +31 -28
- data/jpostcode-data/data/json/004.json +13 -0
- data/jpostcode-data/data/json/013.json +13 -0
- data/jpostcode-data/data/json/017.json +2 -2
- data/jpostcode-data/data/json/038.json +5 -5
- data/jpostcode-data/data/json/060.json +2 -15
- data/jpostcode-data/data/json/062.json +5 -5
- data/jpostcode-data/data/json/063.json +13 -0
- data/jpostcode-data/data/json/064.json +3 -3
- 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/090.json +13 -0
- data/jpostcode-data/data/json/100.json +57 -3
- data/jpostcode-data/data/json/101.json +0 -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 +3 -16
- data/jpostcode-data/data/json/105.json +588 -29
- data/jpostcode-data/data/json/107.json +2 -2
- data/jpostcode-data/data/json/108.json +6 -6
- data/jpostcode-data/data/json/112.json +26 -0
- data/jpostcode-data/data/json/113.json +16 -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 +0 -13
- data/jpostcode-data/data/json/140.json +3 -3
- 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/180.json +13 -0
- data/jpostcode-data/data/json/183.json +13 -0
- data/jpostcode-data/data/json/190.json +3 -3
- data/jpostcode-data/data/json/192.json +3 -3
- data/jpostcode-data/data/json/194.json +26 -0
- data/jpostcode-data/data/json/195.json +26 -0
- 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/216.json +26 -0
- data/jpostcode-data/data/json/220.json +26 -0
- data/jpostcode-data/data/json/222.json +3 -3
- 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 -13
- 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/252.json +3 -42
- data/jpostcode-data/data/json/253.json +4 -30
- 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 +3 -3
- 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/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/424.json +13 -0
- 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/510.json +3 -3
- data/jpostcode-data/data/json/515.json +2 -2
- data/jpostcode-data/data/json/525.json +28 -13
- 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 +13 -0
- 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/680.json +0 -13
- data/jpostcode-data/data/json/712.json +2 -2
- data/jpostcode-data/data/json/720.json +2 -2
- 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/761.json +2 -2
- 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/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/857.json +3 -3
- data/jpostcode-data/data/json/860.json +4 -4
- data/jpostcode-data/data/json/862.json +13 -0
- 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/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 +65 -0
- data/jpostcode-data/data/json/921.json +5 -5
- data/jpostcode-data/data/json/931.json +2 -2
- data/jpostcode-data/data/json/933.json +16 -3
- data/jpostcode-data/data/json/940.json +13 -0
- data/jpostcode-data/data/json/942.json +13 -0
- data/jpostcode-data/data/json/952.json +5 -5
- data/jpostcode-data/data/json/955.json +0 -13
- data/jpostcode-data/data/json/958.json +5 -5
- data/jpostcode-data/data/json/960.json +3 -3
- data/jpostcode-data/data/json/967.json +1 -1
- data/jpostcode-data/data/json/969.json +0 -26
- 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/lib/jpostcode.rb +2 -2
- data/lib/jpostcode/version.rb +1 -1
- metadata +5 -5
@@ -2301,8 +2301,8 @@
|
|
2301
2301
|
"town": "堀内",
|
2302
2302
|
"town_kana": "ホリウチ",
|
2303
2303
|
"street": "4丁目87",
|
2304
|
-
"office_name": "
|
2305
|
-
"office_name_kana": "
|
2304
|
+
"office_name": "株式会社 石川トヨペットカローラ トヨタカローラ石川会社",
|
2305
|
+
"office_name_kana": "カ) イシカワトヨペツトカロ-ラ トヨタカロ-ライシカワガイシヤ"
|
2306
2306
|
},
|
2307
2307
|
"8574": {
|
2308
2308
|
"postcode": "9218574",
|
@@ -2441,9 +2441,9 @@
|
|
2441
2441
|
"prefecture_code": 17,
|
2442
2442
|
"city": "金沢市",
|
2443
2443
|
"city_kana": "カナザワシ",
|
2444
|
-
"town": "
|
2445
|
-
"town_kana": "
|
2446
|
-
"street": "
|
2444
|
+
"town": "増泉",
|
2445
|
+
"town_kana": "マスイズミ",
|
2446
|
+
"street": "2−16−12",
|
2447
2447
|
"office_name": "株式会社 うつのみや",
|
2448
2448
|
"office_name_kana": "カブシキガイシヤ ウツノミヤ"
|
2449
2449
|
},
|
@@ -1504,8 +1504,8 @@
|
|
1504
1504
|
"town": "西宮町",
|
1505
1505
|
"town_kana": "ニシノミヤマチ",
|
1506
1506
|
"street": "3−1",
|
1507
|
-
"office_name": "
|
1508
|
-
"office_name_kana": "
|
1507
|
+
"office_name": "昭和電工セラミックス 株式会社 富山工場",
|
1508
|
+
"office_name_kana": "シヨウワデンコウセラミツクス カブシキガイシヤ トヤマコウジヨウ"
|
1509
1509
|
},
|
1510
1510
|
"8585": {
|
1511
1511
|
"postcode": "9318585",
|
@@ -753,6 +753,19 @@
|
|
753
753
|
"office_name": null,
|
754
754
|
"office_name_kana": null
|
755
755
|
},
|
756
|
+
"0068": {
|
757
|
+
"postcode": "9330068",
|
758
|
+
"prefecture": "富山県",
|
759
|
+
"prefecture_kana": "トヤマケン",
|
760
|
+
"prefecture_code": 16,
|
761
|
+
"city": "高岡市",
|
762
|
+
"city_kana": "タカオカシ",
|
763
|
+
"town": "志貴野しらとり台",
|
764
|
+
"town_kana": "シキノシラトリダイ",
|
765
|
+
"street": null,
|
766
|
+
"office_name": null,
|
767
|
+
"office_name_kana": null
|
768
|
+
},
|
756
769
|
"0071": {
|
757
770
|
"postcode": "9330071",
|
758
771
|
"prefecture": "富山県",
|
@@ -5158,9 +5171,9 @@
|
|
5158
5171
|
"prefecture_code": 16,
|
5159
5172
|
"city": "高岡市",
|
5160
5173
|
"city_kana": "タカオカシ",
|
5161
|
-
"town": "
|
5162
|
-
"town_kana": "
|
5163
|
-
"street": "
|
5174
|
+
"town": "下関町",
|
5175
|
+
"town_kana": "シモゼキマチ",
|
5176
|
+
"street": "3番1号(高岡郵便局私書箱第42号)",
|
5164
5177
|
"office_name": "株式会社 富山銀行 本店",
|
5165
5178
|
"office_name_kana": "カブシキガイシヤ トヤマギンコウ ホンテン"
|
5166
5179
|
},
|
@@ -5946,6 +5946,19 @@
|
|
5946
5946
|
"office_name": null,
|
5947
5947
|
"office_name_kana": null
|
5948
5948
|
},
|
5949
|
+
"2595": {
|
5950
|
+
"postcode": "9402595",
|
5951
|
+
"prefecture": "新潟県",
|
5952
|
+
"prefecture_kana": "ニイガタケン",
|
5953
|
+
"prefecture_code": 15,
|
5954
|
+
"city": "長岡市",
|
5955
|
+
"city_kana": "ナガオカシ",
|
5956
|
+
"town": "寺泊",
|
5957
|
+
"town_kana": "テラドマリ",
|
5958
|
+
"street": "下荒町9772−20",
|
5959
|
+
"office_name": "角上魚類ホールディングス 株式会社",
|
5960
|
+
"office_name_kana": "カクジヨウギヨルイホ-ルデイングス カブシキガイシヤ"
|
5961
|
+
},
|
5949
5962
|
"8501": {
|
5950
5963
|
"postcode": "9408501",
|
5951
5964
|
"prefecture": "新潟県",
|
@@ -1782,6 +1782,19 @@
|
|
1782
1782
|
"office_name": null,
|
1783
1783
|
"office_name_kana": null
|
1784
1784
|
},
|
1785
|
+
"0226": {
|
1786
|
+
"postcode": "9420226",
|
1787
|
+
"prefecture": "新潟県",
|
1788
|
+
"prefecture_kana": "ニイガタケン",
|
1789
|
+
"prefecture_code": 15,
|
1790
|
+
"city": "上越市",
|
1791
|
+
"city_kana": "ジョウエツシ",
|
1792
|
+
"town": "頸城区塔ケ崎",
|
1793
|
+
"town_kana": "クビキクトウガサキ",
|
1794
|
+
"street": null,
|
1795
|
+
"office_name": null,
|
1796
|
+
"office_name_kana": null
|
1797
|
+
},
|
1785
1798
|
"0231": {
|
1786
1799
|
"postcode": "9420231",
|
1787
1800
|
"prefecture": "新潟県",
|
@@ -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
|
},
|
@@ -2215,19 +2215,6 @@
|
|
2215
2215
|
"office_name": "高森コーキ 株式会社",
|
2216
2216
|
"office_name_kana": "タカモリコ-キ カブシキガイシヤ"
|
2217
2217
|
},
|
2218
|
-
"8678": {
|
2219
|
-
"postcode": "9558678",
|
2220
|
-
"prefecture": "新潟県",
|
2221
|
-
"prefecture_kana": "ニイガタケン",
|
2222
|
-
"prefecture_code": 15,
|
2223
|
-
"city": "三条市",
|
2224
|
-
"city_kana": "サンジョウシ",
|
2225
|
-
"town": "塚野目",
|
2226
|
-
"town_kana": "ツカノメ",
|
2227
|
-
"street": "2190−5(三条郵便局私書箱第137号)",
|
2228
|
-
"office_name": "トップ工業 株式会社",
|
2229
|
-
"office_name_kana": "トツプコウギヨウ カブシキガイシヤ"
|
2230
|
-
},
|
2231
2218
|
"8686": {
|
2232
2219
|
"postcode": "9558686",
|
2233
2220
|
"prefecture": "新潟県",
|
@@ -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",
|
@@ -7482,9 +7482,9 @@
|
|
7482
7482
|
"city_kana": "フクシマシ",
|
7483
7483
|
"town": "花園町",
|
7484
7484
|
"town_kana": "ハナゾノチョウ",
|
7485
|
-
"street": "
|
7486
|
-
"office_name": "
|
7487
|
-
"office_name_kana": "
|
7485
|
+
"street": "5番38号",
|
7486
|
+
"office_name": "福島地方・家庭・簡易裁判所",
|
7487
|
+
"office_name_kana": "フクシマチホウカテイカンイサイバンシヨ"
|
7488
7488
|
},
|
7489
7489
|
"8513": {
|
7490
7490
|
"postcode": "9608513",
|
@@ -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": "福島県",
|
@@ -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
|
},
|
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.20201101
|
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-11-02 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: []
|