jpostcode 1.0.0.20220601 → 1.0.0.20220901

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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +44 -0
  3. data/CODE_OF_CONDUCT.md +1 -1
  4. data/Gemfile.lock +16 -14
  5. data/jpostcode-data/data/json/001.json +13 -0
  6. data/jpostcode-data/data/json/005.json +1 -1
  7. data/jpostcode-data/data/json/015.json +2 -2
  8. data/jpostcode-data/data/json/027.json +3 -3
  9. data/jpostcode-data/data/json/029.json +1 -1
  10. data/jpostcode-data/data/json/044.json +65 -0
  11. data/jpostcode-data/data/json/045.json +2 -2
  12. data/jpostcode-data/data/json/060.json +0 -13
  13. data/jpostcode-data/data/json/080.json +13 -0
  14. data/jpostcode-data/data/json/100.json +29 -16
  15. data/jpostcode-data/data/json/102.json +14 -1
  16. data/jpostcode-data/data/json/103.json +19 -19
  17. data/jpostcode-data/data/json/105.json +26 -13
  18. data/jpostcode-data/data/json/107.json +26 -0
  19. data/jpostcode-data/data/json/108.json +3 -16
  20. data/jpostcode-data/data/json/125.json +0 -13
  21. data/jpostcode-data/data/json/130.json +3 -3
  22. data/jpostcode-data/data/json/135.json +15 -28
  23. data/jpostcode-data/data/json/141.json +14 -1
  24. data/jpostcode-data/data/json/150.json +0 -13
  25. data/jpostcode-data/data/json/160.json +13 -0
  26. data/jpostcode-data/data/json/163.json +3 -3
  27. data/jpostcode-data/data/json/167.json +3 -3
  28. data/jpostcode-data/data/json/174.json +1 -1
  29. data/jpostcode-data/data/json/214.json +0 -13
  30. data/jpostcode-data/data/json/223.json +13 -0
  31. data/jpostcode-data/data/json/252.json +13 -0
  32. data/jpostcode-data/data/json/260.json +2 -2
  33. data/jpostcode-data/data/json/299.json +14 -1
  34. data/jpostcode-data/data/json/306.json +13 -0
  35. data/jpostcode-data/data/json/310.json +3 -3
  36. data/jpostcode-data/data/json/319.json +2 -2
  37. data/jpostcode-data/data/json/330.json +13 -0
  38. data/jpostcode-data/data/json/350.json +13 -0
  39. data/jpostcode-data/data/json/380.json +15 -15
  40. data/jpostcode-data/data/json/384.json +3 -3
  41. data/jpostcode-data/data/json/415.json +3 -3
  42. data/jpostcode-data/data/json/424.json +3 -3
  43. data/jpostcode-data/data/json/436.json +13 -0
  44. data/jpostcode-data/data/json/444.json +3 -3
  45. data/jpostcode-data/data/json/454.json +2 -2
  46. data/jpostcode-data/data/json/462.json +5 -5
  47. data/jpostcode-data/data/json/470.json +3 -3
  48. data/jpostcode-data/data/json/474.json +2 -2
  49. data/jpostcode-data/data/json/484.json +3 -3
  50. data/jpostcode-data/data/json/491.json +5 -5
  51. data/jpostcode-data/data/json/494.json +2 -2
  52. data/jpostcode-data/data/json/496.json +3 -3
  53. data/jpostcode-data/data/json/508.json +3 -3
  54. data/jpostcode-data/data/json/520.json +1 -1
  55. data/jpostcode-data/data/json/530.json +26 -0
  56. data/jpostcode-data/data/json/540.json +13 -0
  57. data/jpostcode-data/data/json/541.json +3 -3
  58. data/jpostcode-data/data/json/543.json +0 -13
  59. data/jpostcode-data/data/json/567.json +1 -1
  60. data/jpostcode-data/data/json/577.json +1 -1
  61. data/jpostcode-data/data/json/587.json +13 -0
  62. data/jpostcode-data/data/json/596.json +1 -1
  63. data/jpostcode-data/data/json/598.json +28 -13
  64. data/jpostcode-data/data/json/601.json +48 -48
  65. data/jpostcode-data/data/json/621.json +13 -0
  66. data/jpostcode-data/data/json/630.json +4 -4
  67. data/jpostcode-data/data/json/651.json +6 -6
  68. data/jpostcode-data/data/json/660.json +2 -2
  69. data/jpostcode-data/data/json/685.json +3 -3
  70. data/jpostcode-data/data/json/700.json +13 -0
  71. data/jpostcode-data/data/json/708.json +2 -2
  72. data/jpostcode-data/data/json/720.json +1 -1
  73. data/jpostcode-data/data/json/730.json +5 -5
  74. data/jpostcode-data/data/json/755.json +1 -1
  75. data/jpostcode-data/data/json/761.json +13 -0
  76. data/jpostcode-data/data/json/763.json +13 -0
  77. data/jpostcode-data/data/json/764.json +3 -3
  78. data/jpostcode-data/data/json/795.json +5 -5
  79. data/jpostcode-data/data/json/796.json +0 -13
  80. data/jpostcode-data/data/json/811.json +26 -0
  81. data/jpostcode-data/data/json/812.json +1 -1
  82. data/jpostcode-data/data/json/813.json +16 -31
  83. data/jpostcode-data/data/json/814.json +13 -0
  84. data/jpostcode-data/data/json/819.json +1 -1
  85. data/jpostcode-data/data/json/820.json +2 -2
  86. data/jpostcode-data/data/json/862.json +3 -3
  87. data/jpostcode-data/data/json/915.json +2 -2
  88. data/jpostcode-data/data/json/920.json +4 -4
  89. data/jpostcode-data/data/json/921.json +3 -3
  90. data/jpostcode-data/data/json/922.json +5 -5
  91. data/jpostcode-data/data/json/930.json +0 -13
  92. data/jpostcode-data/data/json/949.json +2 -2
  93. data/jpostcode-data/data/json/950.json +2 -28
  94. data/jpostcode-data/data/json/960.json +13 -0
  95. data/jpostcode-data/data/json/969.json +26 -0
  96. data/jpostcode-data/data/json/979.json +2 -2
  97. data/lib/jpostcode/version.rb +1 -1
  98. data/lib/jpostcode.rb +1 -1
  99. metadata +2 -2
@@ -651,6 +651,19 @@
651
651
  "office_name": "(株) カナック",
652
652
  "office_name_kana": "カブシキガイシヤ カナツク"
653
653
  },
654
+ "0493": {
655
+ "postcode": "7610493",
656
+ "prefecture": "香川県",
657
+ "prefecture_kana": "カガワケン",
658
+ "prefecture_code": 37,
659
+ "city": "高松市",
660
+ "city_kana": "タカマツシ",
661
+ "town": "小村町",
662
+ "town_kana": "オモレチョウ",
663
+ "street": "331",
664
+ "office_name": "吉野川電線 株式会社",
665
+ "office_name_kana": "ヨシノガワデンセン カブシキガイシヤ"
666
+ },
654
667
  "0611": {
655
668
  "postcode": "7610611",
656
669
  "prefecture": "香川県",
@@ -1156,6 +1156,19 @@
1156
1156
  "office_name": "香川県立 丸亀高等学校",
1157
1157
  "office_name_kana": "カガワケンリツ マルガメコウトウガツコウ"
1158
1158
  },
1159
+ "8513": {
1160
+ "postcode": "7638513",
1161
+ "prefecture": "香川県",
1162
+ "prefecture_kana": "カガワケン",
1163
+ "prefecture_code": 37,
1164
+ "city": "丸亀市",
1165
+ "city_kana": "マルガメシ",
1166
+ "town": "港町",
1167
+ "town_kana": "ミナトマチ",
1168
+ "street": "307番地",
1169
+ "office_name": "香川県立高等技術学校丸亀校",
1170
+ "office_name_kana": "カガワケンリツコウトウギジユツガツコウマルガメコウ"
1171
+ },
1159
1172
  "8516": {
1160
1173
  "postcode": "7638516",
1161
1174
  "prefecture": "香川県",
@@ -437,9 +437,9 @@
437
437
  "city_kana": "ナカタドグンタドツチョウ",
438
438
  "town": "栄町",
439
439
  "town_kana": "サカエマチ",
440
- "street": "1丁目1−91",
441
- "office_name": "多度津町役場",
442
- "office_name_kana": "タドツチヨウヤクバ"
440
+ "street": "三丁目3番95号",
441
+ "office_name": "多度津町役場・地域交流センター",
442
+ "office_name_kana": "タドツチヨウヤクバ・チイキコウリユウセンタ-"
443
443
  },
444
444
  "8502": {
445
445
  "postcode": "7648502",
@@ -924,11 +924,11 @@
924
924
  "prefecture_code": 38,
925
925
  "city": "大洲市",
926
926
  "city_kana": "オオズシ",
927
- "town": "東大洲",
928
- "town_kana": "ヒガシオオズ",
929
- "street": "174",
930
- "office_name": "南予地方局大洲庁舎",
931
- "office_name_kana": "ナンヨチホウキヨクオオズチヨウシヤ"
927
+ "town": "田口",
928
+ "town_kana": "タノクチ",
929
+ "street": "甲425−1",
930
+ "office_name": "愛媛県南予地方局大洲庁舎",
931
+ "office_name_kana": "エヒメケンナンヨチホウキヨクオオズチヨウシヤ"
932
932
  },
933
933
  "8505": {
934
934
  "postcode": "7958505",
@@ -1602,19 +1602,6 @@
1602
1602
  "office_name": null,
1603
1603
  "office_name_kana": null
1604
1604
  },
1605
- "0892": {
1606
- "postcode": "7960892",
1607
- "prefecture": "愛媛県",
1608
- "prefecture_kana": "エヒメケン",
1609
- "prefecture_code": 38,
1610
- "city": "西宇和郡伊方町",
1611
- "city_kana": "ニシウワグンイカタチョウ",
1612
- "town": "三崎",
1613
- "town_kana": "ミサキ",
1614
- "street": "692",
1615
- "office_name": "伊方町役場 三崎総合支所",
1616
- "office_name_kana": "イカタチヨウヤクバ ミサキソウゴウシシヨ"
1617
- },
1618
1605
  "0901": {
1619
1606
  "postcode": "7960901",
1620
1607
  "prefecture": "愛媛県",
@@ -2653,6 +2653,19 @@
2653
2653
  "office_name": null,
2654
2654
  "office_name_kana": null
2655
2655
  },
2656
+ "2321": {
2657
+ "postcode": "8112321",
2658
+ "prefecture": "福岡県",
2659
+ "prefecture_kana": "フクオカケン",
2660
+ "prefecture_code": 40,
2661
+ "city": "糟屋郡粕屋町",
2662
+ "city_kana": "カスヤグンカスヤマチ",
2663
+ "town": "内橋西",
2664
+ "town_kana": "ウチハシニシ",
2665
+ "street": null,
2666
+ "office_name": null,
2667
+ "office_name_kana": null
2668
+ },
2656
2669
  "2392": {
2657
2670
  "postcode": "8112392",
2658
2671
  "prefecture": "福岡県",
@@ -2666,6 +2679,19 @@
2666
2679
  "office_name": "粕屋町役場",
2667
2680
  "office_name_kana": "カスヤマチヤクバ"
2668
2681
  },
2682
+ "2393": {
2683
+ "postcode": "8112393",
2684
+ "prefecture": "福岡県",
2685
+ "prefecture_kana": "フクオカケン",
2686
+ "prefecture_code": 40,
2687
+ "city": "糟屋郡粕屋町",
2688
+ "city_kana": "カスヤグンカスヤマチ",
2689
+ "town": "大字上大隈",
2690
+ "town_kana": null,
2691
+ "street": "字部木原758GLP福岡粕屋",
2692
+ "office_name": "JP楽天ロジスティクス 株式会社 楽天フルフィルメントセンター福岡",
2693
+ "office_name_kana": "ジエイピ-ラクテンロジステイクス カブシキガイシヤ ラクテンフルフイルメントセンタ-フクオカ"
2694
+ },
2669
2695
  "2395": {
2670
2696
  "postcode": "8112395",
2671
2697
  "prefecture": "福岡県",
@@ -1685,7 +1685,7 @@
1685
1685
  "city_kana": "フクオカシハカタク",
1686
1686
  "town": "博多駅東",
1687
1687
  "town_kana": "ハカタエキヒガシ",
1688
- "street": "3−15−23",
1688
+ "street": "3−14−1T−BuildingHAKATAEAST4−5階",
1689
1689
  "office_name": "日本年金機構 博多年金事務所",
1690
1690
  "office_name_kana": "ニツポンネンキンキコウ ハカタネンキンジムシヨ"
1691
1691
  },
@@ -77,34 +77,19 @@
77
77
  "office_name": null,
78
78
  "office_name_kana": null
79
79
  },
80
- "0008": [
81
- {
82
- "postcode": "8130008",
83
- "prefecture": "福岡県",
84
- "prefecture_kana": "フクオカケン",
85
- "prefecture_code": 40,
86
- "city": "糟屋郡粕屋町",
87
- "city_kana": "カスヤグンカスヤマチ",
88
- "town": "内橋790の1",
89
- "town_kana": "ウチハシ790-1",
90
- "street": null,
91
- "office_name": null,
92
- "office_name_kana": null
93
- },
94
- {
95
- "postcode": "8130008",
96
- "prefecture": "福岡県",
97
- "prefecture_kana": "フクオカケン",
98
- "prefecture_code": 40,
99
- "city": "糟屋郡粕屋町",
100
- "city_kana": "カスヤグンカスヤマチ",
101
- "town": "内橋790の1多ノ津団地",
102
- "town_kana": "ウチハシ790-1タノツダンチ",
103
- "street": null,
104
- "office_name": null,
105
- "office_name_kana": null
106
- }
107
- ],
80
+ "0008": {
81
+ "postcode": "8130008",
82
+ "prefecture": "福岡県",
83
+ "prefecture_kana": "フクオカケン",
84
+ "prefecture_code": 40,
85
+ "city": "糟屋郡粕屋町",
86
+ "city_kana": "カスヤグンカスヤマチ",
87
+ "town": "内橋西",
88
+ "town_kana": "ウチハシニシ",
89
+ "street": null,
90
+ "office_name": null,
91
+ "office_name_kana": null
92
+ },
108
93
  "0011": {
109
94
  "postcode": "8130011",
110
95
  "prefecture": "福岡県",
@@ -567,9 +552,9 @@
567
552
  "prefecture_code": 40,
568
553
  "city": "福岡市東区",
569
554
  "city_kana": "フクオカシヒガシク",
570
- "town": "香椎浜",
571
- "town_kana": "カシイハマ",
572
- "street": "3丁目21−1",
555
+ "town": "香椎浜ふ頭",
556
+ "town_kana": "カシイハマフトウ",
557
+ "street": "1丁目2−17",
573
558
  "office_name": "アビスパ福岡 株式会社",
574
559
  "office_name_kana": "アビスパフクオカ カブシキガイシヤ"
575
560
  },
@@ -922,6 +922,19 @@
922
922
  "office_name": "福岡大学西新病院",
923
923
  "office_name_kana": "フクオカダイガクニシジンビヨウイン"
924
924
  },
925
+ "8524": {
926
+ "postcode": "8148524",
927
+ "prefecture": "福岡県",
928
+ "prefecture_kana": "フクオカケン",
929
+ "prefecture_code": 40,
930
+ "city": "福岡市早良区",
931
+ "city_kana": "フクオカシサワラク",
932
+ "town": "祖原",
933
+ "town_kana": "ソハラ",
934
+ "street": "14−15",
935
+ "office_name": "福岡法務局 西新出張所",
936
+ "office_name_kana": "フクオカホウムキヨク ニシジンシユツチヨウシヨ"
937
+ },
925
938
  "8525": {
926
939
  "postcode": "8148525",
927
940
  "prefecture": "福岡県",
@@ -2586,7 +2586,7 @@
2586
2586
  "city_kana": "フクオカシニシク",
2587
2587
  "town": "石丸",
2588
2588
  "town_kana": "イシマル",
2589
- "street": "3−2−1",
2589
+ "street": "3−3−9",
2590
2590
  "office_name": "社会医療法人財団 白十字会 白十字リハビリテーション病院",
2591
2591
  "office_name_kana": "シヤカイイリヨウホウジンザイダン ハクジユウジカイ ハクジユウジリハビリテ-シヨンビヨウイン"
2592
2592
  }
@@ -1906,7 +1906,7 @@
1906
1906
  "city_kana": "クラテグンコタケマチ",
1907
1907
  "town": "大字勝野",
1908
1908
  "town_kana": null,
1909
- "street": "3349",
1909
+ "street": "3167−1",
1910
1910
  "office_name": "小竹町役場",
1911
1911
  "office_name_kana": "コタケマチヤクバ"
1912
1912
  },
@@ -2140,7 +2140,7 @@
2140
2140
  "city_kana": "イイヅカシ",
2141
2141
  "town": "伊川",
2142
2142
  "town_kana": "イカワ",
2143
- "street": "1115(飯塚郵便局私書箱第1号)",
2143
+ "street": "1115",
2144
2144
  "office_name": "一番食品 株式会社",
2145
2145
  "office_name_kana": "イチバンシヨクヒン カブシキガイシヤ"
2146
2146
  },
@@ -1250,9 +1250,9 @@
1250
1250
  "city_kana": "クマモトシチュウオウク",
1251
1251
  "town": "九品寺",
1252
1252
  "town_kana": "クホンジ",
1253
- "street": "5丁目7−29",
1254
- "office_name": "ヒノマル 株式会社",
1255
- "office_name_kana": "ヒノマル カブシキガイシヤ"
1253
+ "street": "5丁目7番29号",
1254
+ "office_name": "九州セキスイ商事インフラテック 株式会社",
1255
+ "office_name_kana": "キユウシユウセキスイシヨウジインフラテツク カブシキガイシヤ"
1256
1256
  },
1257
1257
  "8666": {
1258
1258
  "postcode": "8628666",
@@ -3114,8 +3114,8 @@
3114
3114
  "town": "池ノ上町",
3115
3115
  "town_kana": "イケノカミチョウ",
3116
3116
  "street": "38",
3117
- "office_name": "アイシン・エィ・ダブリュ工業 株式会社",
3118
- "office_name_kana": "アイシン・エイ・ダブリユコウギヨウ カブシキガイシヤ"
3117
+ "office_name": "株式会社 アイシン福井",
3118
+ "office_name_kana": "カブシキガイシヤ アイシンフクイ"
3119
3119
  },
3120
3120
  "8524": {
3121
3121
  "postcode": "9158524",
@@ -9088,9 +9088,9 @@
9088
9088
  "city_kana": "カナザワシ",
9089
9089
  "town": "香林坊",
9090
9090
  "town_kana": "コウリンボウ",
9091
- "street": "1丁目2−21",
9092
- "office_name": "損害保険ジャパン日本興亜 株式会社",
9093
- "office_name_kana": "ソンガイホケンジヤパンニツポンコウア カブシキガイシヤ"
9091
+ "street": "1丁目2−21損保ジャパン金沢ビル5F",
9092
+ "office_name": "損害保険ジャパン 株式会社 北陸保険金サービス部北陸車両保険金サービス課",
9093
+ "office_name_kana": "ソンガイホケンジヤパン カブシキガイシヤ ホクリクホケンキンサ-ビスブホクリクシヤリヨウホケンキンサ-ビスカ"
9094
9094
  },
9095
9095
  "8560": {
9096
9096
  "postcode": "9208560",
@@ -10210,7 +10210,7 @@
10210
10210
  "city_kana": "カナザワシ",
10211
10211
  "town": "南町",
10212
10212
  "town_kana": "ミナミチョウ",
10213
- "street": "4番55号住友生命金沢ビル9階",
10213
+ "street": "4番55号WAKITA金沢ビル9階",
10214
10214
  "office_name": "全国健康保険協会 石川支部",
10215
10215
  "office_name_kana": "ゼンコクケンコウホケンキヨウカイ イシカワシブ"
10216
10216
  },
@@ -2064,9 +2064,9 @@
2064
2064
  "prefecture_code": 17,
2065
2065
  "city": "金沢市",
2066
2066
  "city_kana": "カナザワシ",
2067
- "town": "",
2068
- "town_kana": "イズミ",
2069
- "street": "3丁目1−6",
2067
+ "town": "古府",
2068
+ "town_kana": "コブ",
2069
+ "street": "2丁目74番地",
2070
2070
  "office_name": "株式会社 ジェスクホリウチ",
2071
2071
  "office_name_kana": "カブシキガイシヤ ジエスクホリウチ"
2072
2072
  },
@@ -1471,11 +1471,11 @@
1471
1471
  "prefecture_code": 17,
1472
1472
  "city": "加賀市",
1473
1473
  "city_kana": "カガシ",
1474
- "town": "山中温泉湯の出町",
1475
- "town_kana": "ヤマナカオンセンユノデマチ",
1476
- "street": "タ33",
1477
- "office_name": "加賀市役所 山中温泉支所",
1478
- "office_name_kana": "カガシヤクシヨ ヤマナカオンセンシシヨ"
1474
+ "town": "山中温泉本町",
1475
+ "town_kana": "ヤマナカオンセンホンマチ",
1476
+ "street": "二丁目ソ22番地",
1477
+ "office_name": "加賀市 山中温泉支所",
1478
+ "office_name_kana": "カガシ ヤマナカオンセンシシヨ"
1479
1479
  },
1480
1480
  "0193": {
1481
1481
  "postcode": "9220193",
@@ -9972,19 +9972,6 @@
9972
9972
  "office_name": "富山県庁",
9973
9973
  "office_name_kana": "トヤマケンチヨウ"
9974
9974
  },
9975
- "8502": {
9976
- "postcode": "9308502",
9977
- "prefecture": "富山県",
9978
- "prefecture_kana": "トヤマケン",
9979
- "prefecture_code": 16,
9980
- "city": "富山市",
9981
- "city_kana": "トヤマシ",
9982
- "town": "新総曲輪",
9983
- "town_kana": "シンソウガワ",
9984
- "street": "3−1",
9985
- "office_name": "日本放送協会 富山放送局",
9986
- "office_name_kana": "ニツポンホウソウキヨウカイ トヤマホウソウキヨク"
9987
- },
9988
9975
  "8504": {
9989
9976
  "postcode": "9308504",
9990
9977
  "prefecture": "富山県",
@@ -8047,8 +8047,8 @@
8047
8047
  "town": "津久野",
8048
8048
  "town_kana": "ツクノ",
8049
8049
  "street": "1112番地14",
8050
- "office_name": "高速紙工業 株式会社",
8051
- "office_name_kana": "コウソクカミコウギヨウ カブシキガイシヤ"
8050
+ "office_name": "株式会社 エム・エフ・テック",
8051
+ "office_name_kana": "カブシキガイシヤ エム・エフ・テツク"
8052
8052
  },
8053
8053
  "7101": {
8054
8054
  "postcode": "9497101",
@@ -4356,19 +4356,6 @@
4356
4356
  "office_name": "新潟県立 新潟翠江高等学校 通信制",
4357
4357
  "office_name_kana": "ニイガタケンリツ ニイガタスイコウコウトウガツコウ ツウシンセイ"
4358
4358
  },
4359
- "1185": {
4360
- "postcode": "9501185",
4361
- "prefecture": "新潟県",
4362
- "prefecture_kana": "ニイガタケン",
4363
- "prefecture_code": 15,
4364
- "city": "新潟市西区",
4365
- "city_kana": "ニイガタシニシク",
4366
- "town": "山田",
4367
- "town_kana": "ヤマダ",
4368
- "street": "2307",
4369
- "office_name": "コマツ新潟 株式会社",
4370
- "office_name_kana": "コマツニイガタ カブシキガイシヤ"
4371
- },
4372
4359
  "1186": {
4373
4360
  "postcode": "9501186",
4374
4361
  "prefecture": "新潟県",
@@ -9551,19 +9538,6 @@
9551
9538
  "office_name": "東京海上日動火災保険 株式会社 新潟支店",
9552
9539
  "office_name_kana": "トウキヨウカイジヨウニチドウカサイホケン カブシキガイシヤ ニイガタシテン"
9553
9540
  },
9554
- "8546": {
9555
- "postcode": "9508546",
9556
- "prefecture": "新潟県",
9557
- "prefecture_kana": "ニイガタケン",
9558
- "prefecture_code": 15,
9559
- "city": "新潟市中央区",
9560
- "city_kana": "ニイガタシチュウオウク",
9561
- "town": "万代",
9562
- "town_kana": "バンダイ",
9563
- "street": "3丁目1番1号メディアシップ14階",
9564
- "office_name": "株式会社 新潟日報事業社",
9565
- "office_name_kana": "カブシキガイシヤ ニイガタニツポウジギヨウシヤ"
9566
- },
9567
9541
  "8547": {
9568
9542
  "postcode": "9508547",
9569
9543
  "prefecture": "新潟県",
@@ -9574,8 +9548,8 @@
9574
9548
  "town": "万代",
9575
9549
  "town_kana": "バンダイ",
9576
9550
  "street": "3丁目1番1号メディアシップ3階",
9577
- "office_name": "株式会社 新潟日報事業社 保険部",
9578
- "office_name_kana": "カブシキガイシヤ ニイガタニツポウジギヨウシヤ ホケンブ"
9551
+ "office_name": "株式会社 新潟日報メディアネット",
9552
+ "office_name_kana": "カブシキガイシヤ ニイガタニツポウメデイアネツト"
9579
9553
  },
9580
9554
  "8548": {
9581
9555
  "postcode": "9508548",
@@ -7473,6 +7473,19 @@
7473
7473
  "office_name": "福島テレビ",
7474
7474
  "office_name_kana": "フクシマテレビ"
7475
7475
  },
7476
+ "8509": {
7477
+ "postcode": "9608509",
7478
+ "prefecture": "福島県",
7479
+ "prefecture_kana": "フクシマケン",
7480
+ "prefecture_code": 7,
7481
+ "city": "福島市",
7482
+ "city_kana": "フクシマシ",
7483
+ "town": "森合町",
7484
+ "town_kana": "モリアイチョウ",
7485
+ "street": "16番6号福島税務署内",
7486
+ "office_name": "仙台国税局業務センター福島分室",
7487
+ "office_name_kana": "センダイコクゼイキヨクギヨウムセンタ-フクシマブンシツ"
7488
+ },
7476
7489
  "8511": {
7477
7490
  "postcode": "9608511",
7478
7491
  "prefecture": "福島県",
@@ -7225,6 +7225,19 @@
7225
7225
  "office_name": null,
7226
7226
  "office_name_kana": null
7227
7227
  },
7228
+ "3520": {
7229
+ "postcode": "9693520",
7230
+ "prefecture": "福島県",
7231
+ "prefecture_kana": "フクシマケン",
7232
+ "prefecture_code": 7,
7233
+ "city": "喜多方市",
7234
+ "city_kana": "キタカタシ",
7235
+ "town": "塩川町古戸城",
7236
+ "town_kana": "シオカワマチフルトジョウ",
7237
+ "street": null,
7238
+ "office_name": null,
7239
+ "office_name_kana": null
7240
+ },
7228
7241
  "3521": [
7229
7242
  {
7230
7243
  "postcode": "9693521",
@@ -7415,6 +7428,19 @@
7415
7428
  "office_name": null,
7416
7429
  "office_name_kana": null
7417
7430
  },
7431
+ "3529": {
7432
+ "postcode": "9693529",
7433
+ "prefecture": "福島県",
7434
+ "prefecture_kana": "フクシマケン",
7435
+ "prefecture_code": 7,
7436
+ "city": "喜多方市",
7437
+ "city_kana": "キタカタシ",
7438
+ "town": "塩川町下前田",
7439
+ "town_kana": "シオカワマチシモマエダ",
7440
+ "street": null,
7441
+ "office_name": null,
7442
+ "office_name_kana": null
7443
+ },
7418
7444
  "3531": {
7419
7445
  "postcode": "9693531",
7420
7446
  "prefecture": "福島県",
@@ -1671,9 +1671,9 @@
1671
1671
  "prefecture_code": 7,
1672
1672
  "city": "双葉郡双葉町",
1673
1673
  "city_kana": "フタバグンフタバマチ",
1674
- "town": "大字新山",
1674
+ "town": "大字長塚",
1675
1675
  "town_kana": null,
1676
- "street": "字前沖28番地",
1676
+ "street": "字町西73番地4",
1677
1677
  "office_name": "双葉町役場",
1678
1678
  "office_name_kana": "フタバマチヤクバ"
1679
1679
  },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jpostcode
4
- VERSION = '1.0.0.20220601'
4
+ VERSION = '1.0.0.20220901'
5
5
  end
data/lib/jpostcode.rb CHANGED
@@ -11,7 +11,7 @@ module Jpostcode
11
11
 
12
12
  def find(raw_zip_code)
13
13
  zip_code = raw_zip_code.to_s.delete('-')
14
- return nil unless /^\d{7,7}$/ =~ zip_code
14
+ return nil unless zip_code.match?(/^\d{7,7}$/)
15
15
 
16
16
  json_file = "#{DATA_DIR}#{zip_code.slice(0, 3)}.json"
17
17
  return nil unless File.exist?(json_file)
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.20220601
4
+ version: 1.0.0.20220901
5
5
  platform: ruby
6
6
  authors:
7
7
  - kakipo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-01 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler