jpostcode 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +22 -0
  3. data/.gitmodules +2 -2
  4. data/README.md +4 -4
  5. data/jpostcode-data/data/json/025.json +13 -0
  6. data/jpostcode-data/data/json/065.json +13 -0
  7. data/jpostcode-data/data/json/099.json +0 -280
  8. data/jpostcode-data/data/json/100.json +26 -0
  9. data/jpostcode-data/data/json/103.json +13 -13
  10. data/jpostcode-data/data/json/104.json +1 -1
  11. data/jpostcode-data/data/json/108.json +13 -0
  12. data/jpostcode-data/data/json/113.json +13 -0
  13. data/jpostcode-data/data/json/135.json +3 -3
  14. data/jpostcode-data/data/json/140.json +2 -2
  15. data/jpostcode-data/data/json/153.json +5 -5
  16. data/jpostcode-data/data/json/181.json +3 -16
  17. data/jpostcode-data/data/json/205.json +0 -13
  18. data/jpostcode-data/data/json/213.json +21 -8
  19. data/jpostcode-data/data/json/216.json +13 -0
  20. data/jpostcode-data/data/json/231.json +13 -0
  21. data/jpostcode-data/data/json/251.json +13 -0
  22. data/jpostcode-data/data/json/259.json +13 -0
  23. data/jpostcode-data/data/json/275.json +2 -2
  24. data/jpostcode-data/data/json/289.json +2 -2
  25. data/jpostcode-data/data/json/324.json +13 -0
  26. data/jpostcode-data/data/json/330.json +13 -0
  27. data/jpostcode-data/data/json/340.json +2 -2
  28. data/jpostcode-data/data/json/369.json +2 -2
  29. data/jpostcode-data/data/json/482.json +13 -0
  30. data/jpostcode-data/data/json/518.json +2 -2
  31. data/jpostcode-data/data/json/522.json +3 -3
  32. data/jpostcode-data/data/json/530.json +3 -3
  33. data/jpostcode-data/data/json/547.json +3 -3
  34. data/jpostcode-data/data/json/571.json +13 -0
  35. data/jpostcode-data/data/json/590.json +0 -13
  36. data/jpostcode-data/data/json/630.json +5 -5
  37. data/jpostcode-data/data/json/638.json +2 -2
  38. data/jpostcode-data/data/json/651.json +3 -3
  39. data/jpostcode-data/data/json/655.json +13 -0
  40. data/jpostcode-data/data/json/683.json +1 -1
  41. data/jpostcode-data/data/json/760.json +0 -13
  42. data/jpostcode-data/data/json/771.json +3 -3
  43. data/jpostcode-data/data/json/777.json +13 -0
  44. data/jpostcode-data/data/json/779.json +4 -4
  45. data/jpostcode-data/data/json/790.json +3 -3
  46. data/jpostcode-data/data/json/791.json +15 -2
  47. data/jpostcode-data/data/json/799.json +2 -2
  48. data/jpostcode-data/data/json/810.json +13 -0
  49. data/jpostcode-data/data/json/830.json +13 -0
  50. data/jpostcode-data/data/json/836.json +2 -2
  51. data/jpostcode-data/data/json/857.json +13 -0
  52. data/jpostcode-data/data/json/870.json +2 -2
  53. data/jpostcode-data/data/json/880.json +2 -2
  54. data/jpostcode-data/data/json/890.json +13 -0
  55. data/jpostcode-data/data/json/899.json +3 -3
  56. data/jpostcode-data/data/json/900.json +0 -13
  57. data/jpostcode-data/data/json/919.json +13 -0
  58. data/jpostcode-data/data/json/920.json +42 -3
  59. data/jpostcode-data/data/json/921.json +3 -3
  60. data/jpostcode-data/data/json/930.json +3 -3
  61. data/jpostcode-data/data/json/933.json +2 -2
  62. data/jpostcode-data/data/json/950.json +3 -3
  63. data/jpostcode-data/data/json/963.json +2 -2
  64. data/jpostcode-data/data/json/997.json +1 -1
  65. data/jpostcode.gemspec +1 -1
  66. data/lib/jpostcode/version.rb +1 -1
  67. metadata +4 -4
  68. data/circle.yml +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0bb8c8e1733573db65cc46f1e2a98554298214c
4
- data.tar.gz: 096f6546614222bfd3d8e3bd4d46ba3e7316ffca
3
+ metadata.gz: ce61f2284c1f91224a866f06ac13f3b93bfdbf07
4
+ data.tar.gz: f59e89f32b9744485c80906ad8332918443f7eff
5
5
  SHA512:
6
- metadata.gz: 7c600457e98b3451d21807213579044ec7959c1df37e969f75f690ca546d8fc57c6e1092e5203cca00f49c6bd19f7b04459ce35b9f3af71da4fe23d62070fc2a
7
- data.tar.gz: 8b417b22e7ea9ccb029397c49047c0a3eb17df41e333dfa22836d97673bf2705872c2982312a59f6bd3e63337cf7e2326a5d9a195a7b3ae4c1393e0a3c30fd0b
6
+ metadata.gz: a687fc5ec3c47cdae676d670a0bcfd151e65622fa7b752b35a4ed1ffbb697716426992cc87f8835a7eea93d0c55b0392e4459dafcb8a59e5e2b1826022a28ca3
7
+ data.tar.gz: 6e6e0d3e27ce56198a9613a26efd45948e486e84ffe93ae5e73f8a6a79dc59285f0e98e35b3e518c4e4905ecf4e16b8fa233035d394a173cabf0dbbce1808cfe
@@ -0,0 +1,22 @@
1
+ version: 2
2
+
3
+ jobs:
4
+ ruby-2.3:
5
+ docker:
6
+ - image: ruby:2.3.1
7
+ steps:
8
+ - checkout
9
+ - run:
10
+ name: submodule update and execute
11
+ command: |
12
+ git submodule init
13
+ git submodule update
14
+ bundle install
15
+ bundle exec rake
16
+ bundle exec rubocop
17
+
18
+ workflows:
19
+ version: 2
20
+ test:
21
+ jobs:
22
+ - ruby-2.3
@@ -1,3 +1,3 @@
1
1
  [submodule "jpostcode-data"]
2
- path = jpostcode-data
3
- url = git@github.com:kakipo/jpostcode-data.git
2
+ path = jpostcode-data
3
+ url = git@github.com:kufu/jpostcode-data.git
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Jpostcode [![CircleCI](https://circleci.com/gh/kakipo/jpostcode-rb.svg?style=svg)](https://circleci.com/gh/kakipo/jpostcode-rb)
1
+ # Jpostcode [![CircleCI](https://circleci.com/gh/kufu/jpostcode-rb.svg?style=svg)](https://circleci.com/gh/kufu/jpostcode-rb)
2
2
 
3
3
  A Ruby implementation for Japan postcode.
4
4
 
@@ -73,12 +73,12 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
73
73
 
74
74
  ### Update Submodule
75
75
 
76
- This gem depends on `kakipo/jpostcode-data`.
77
- After updating `kakipo/jpostcode-data`, run `git submodule foreach git pull origin master` in order to pull the data.
76
+ This gem depends on `kufu/jpostcode-data`.
77
+ After updating `kufu/jpostcode-data`, run `git submodule foreach git pull origin master` in order to pull the data.
78
78
 
79
79
  ## Contributing
80
80
 
81
- Bug reports and pull requests are welcome on GitHub at https://github.com/kakipo/jpostcode-rb.
81
+ Bug reports and pull requests are welcome on GitHub at https://github.com/kufu/jpostcode-rb.
82
82
 
83
83
 
84
84
  ## License
@@ -1444,6 +1444,19 @@
1444
1444
  "office_name": "岩手県立 総合教育センター",
1445
1445
  "office_name_kana": "イワテケンリツ ソウゴウキヨウイクセンタ-"
1446
1446
  },
1447
+ "8501": {
1448
+ "postcode": "0258501",
1449
+ "prefecture": "岩手県",
1450
+ "prefecture_kana": "イワテケン",
1451
+ "prefecture_code": 3,
1452
+ "city": "花巻市",
1453
+ "city_kana": "ハナマキシ",
1454
+ "town": "下根子",
1455
+ "town_kana": "シモネコ",
1456
+ "street": "450−3",
1457
+ "office_name": "学校法人 富士大学",
1458
+ "office_name_kana": "ガツコウホウジン フジダイガク"
1459
+ },
1447
1460
  "8601": {
1448
1461
  "postcode": "0258601",
1449
1462
  "prefecture": "岩手県",
@@ -662,6 +662,19 @@
662
662
  "office_name": "札幌市東区役所",
663
663
  "office_name_kana": "サツポロシヒガシクヤクシヨ"
664
664
  },
665
+ "8631": {
666
+ "postcode": "0658631",
667
+ "prefecture": "北海道",
668
+ "prefecture_kana": null,
669
+ "prefecture_code": null,
670
+ "city": "札幌市東区",
671
+ "city_kana": null,
672
+ "town": "北5条東",
673
+ "town_kana": null,
674
+ "street": "8丁目1番33号",
675
+ "office_name": "SATO社会保険労務士法人",
676
+ "office_name_kana": "サトウシヤカイホケンロウムシホウジン"
677
+ },
665
678
  "8633": {
666
679
  "postcode": "0658633",
667
680
  "prefecture": "北海道",
@@ -3499,286 +3499,6 @@
3499
3499
  "office_name": null,
3500
3500
  "office_name_kana": null
3501
3501
  },
3502
- "3625": [
3503
- {
3504
- "postcode": "0993625",
3505
- "prefecture": "北海道",
3506
- "prefecture_kana": "ホッカイドウ",
3507
- "prefecture_code": 1,
3508
- "city": "斜里郡小清水町",
3509
- "city_kana": "シャリグンコシミズチョウ",
3510
- "town": "小清水",
3511
- "town_kana": "コシミズ",
3512
- "street": null,
3513
- "office_name": null,
3514
- "office_name_kana": null
3515
- },
3516
- {
3517
- "postcode": "0993625",
3518
- "prefecture": "北海道",
3519
- "prefecture_kana": "ホッカイドウ",
3520
- "prefecture_code": 1,
3521
- "city": "斜里郡小清水町",
3522
- "city_kana": "シャリグンコシミズチョウ",
3523
- "town": "小清水4区",
3524
- "town_kana": "コシミズ4ク",
3525
- "street": null,
3526
- "office_name": null,
3527
- "office_name_kana": null
3528
- }
3529
- ],
3530
- "3626": [
3531
- {
3532
- "postcode": "0993626",
3533
- "prefecture": "北海道",
3534
- "prefecture_kana": "ホッカイドウ",
3535
- "prefecture_code": 1,
3536
- "city": "斜里郡小清水町",
3537
- "city_kana": "シャリグンコシミズチョウ",
3538
- "town": "小清水",
3539
- "town_kana": "コシミズ",
3540
- "street": null,
3541
- "office_name": null,
3542
- "office_name_kana": null
3543
- },
3544
- {
3545
- "postcode": "0993626",
3546
- "prefecture": "北海道",
3547
- "prefecture_kana": "ホッカイドウ",
3548
- "prefecture_code": 1,
3549
- "city": "斜里郡小清水町",
3550
- "city_kana": "シャリグンコシミズチョウ",
3551
- "town": "小清水5区",
3552
- "town_kana": "コシミズ5ク",
3553
- "street": null,
3554
- "office_name": null,
3555
- "office_name_kana": null
3556
- }
3557
- ],
3558
- "3627": [
3559
- {
3560
- "postcode": "0993627",
3561
- "prefecture": "北海道",
3562
- "prefecture_kana": "ホッカイドウ",
3563
- "prefecture_code": 1,
3564
- "city": "斜里郡小清水町",
3565
- "city_kana": "シャリグンコシミズチョウ",
3566
- "town": "小清水",
3567
- "town_kana": "コシミズ",
3568
- "street": null,
3569
- "office_name": null,
3570
- "office_name_kana": null
3571
- },
3572
- {
3573
- "postcode": "0993627",
3574
- "prefecture": "北海道",
3575
- "prefecture_kana": "ホッカイドウ",
3576
- "prefecture_code": 1,
3577
- "city": "斜里郡小清水町",
3578
- "city_kana": "シャリグンコシミズチョウ",
3579
- "town": "小清水6区",
3580
- "town_kana": "コシミズ6ク",
3581
- "street": null,
3582
- "office_name": null,
3583
- "office_name_kana": null
3584
- }
3585
- ],
3586
- "3628": [
3587
- {
3588
- "postcode": "0993628",
3589
- "prefecture": "北海道",
3590
- "prefecture_kana": "ホッカイドウ",
3591
- "prefecture_code": 1,
3592
- "city": "斜里郡小清水町",
3593
- "city_kana": "シャリグンコシミズチョウ",
3594
- "town": "小清水",
3595
- "town_kana": "コシミズ",
3596
- "street": null,
3597
- "office_name": null,
3598
- "office_name_kana": null
3599
- },
3600
- {
3601
- "postcode": "0993628",
3602
- "prefecture": "北海道",
3603
- "prefecture_kana": "ホッカイドウ",
3604
- "prefecture_code": 1,
3605
- "city": "斜里郡小清水町",
3606
- "city_kana": "シャリグンコシミズチョウ",
3607
- "town": "小清水7区",
3608
- "town_kana": "コシミズ7ク",
3609
- "street": null,
3610
- "office_name": null,
3611
- "office_name_kana": null
3612
- }
3613
- ],
3614
- "3631": [
3615
- {
3616
- "postcode": "0993631",
3617
- "prefecture": "北海道",
3618
- "prefecture_kana": "ホッカイドウ",
3619
- "prefecture_code": 1,
3620
- "city": "斜里郡小清水町",
3621
- "city_kana": "シャリグンコシミズチョウ",
3622
- "town": "小清水",
3623
- "town_kana": "コシミズ",
3624
- "street": null,
3625
- "office_name": null,
3626
- "office_name_kana": null
3627
- },
3628
- {
3629
- "postcode": "0993631",
3630
- "prefecture": "北海道",
3631
- "prefecture_kana": "ホッカイドウ",
3632
- "prefecture_code": 1,
3633
- "city": "斜里郡小清水町",
3634
- "city_kana": "シャリグンコシミズチョウ",
3635
- "town": "小清水7区川東",
3636
- "town_kana": "コシミズ7クカワヒガシ",
3637
- "street": null,
3638
- "office_name": null,
3639
- "office_name_kana": null
3640
- }
3641
- ],
3642
- "3632": [
3643
- {
3644
- "postcode": "0993632",
3645
- "prefecture": "北海道",
3646
- "prefecture_kana": "ホッカイドウ",
3647
- "prefecture_code": 1,
3648
- "city": "斜里郡小清水町",
3649
- "city_kana": "シャリグンコシミズチョウ",
3650
- "town": "小清水",
3651
- "town_kana": "コシミズ",
3652
- "street": null,
3653
- "office_name": null,
3654
- "office_name_kana": null
3655
- },
3656
- {
3657
- "postcode": "0993632",
3658
- "prefecture": "北海道",
3659
- "prefecture_kana": "ホッカイドウ",
3660
- "prefecture_code": 1,
3661
- "city": "斜里郡小清水町",
3662
- "city_kana": "シャリグンコシミズチョウ",
3663
- "town": "小清水8区北",
3664
- "town_kana": "コシミズ8クキタ",
3665
- "street": null,
3666
- "office_name": null,
3667
- "office_name_kana": null
3668
- }
3669
- ],
3670
- "3633": [
3671
- {
3672
- "postcode": "0993633",
3673
- "prefecture": "北海道",
3674
- "prefecture_kana": "ホッカイドウ",
3675
- "prefecture_code": 1,
3676
- "city": "斜里郡小清水町",
3677
- "city_kana": "シャリグンコシミズチョウ",
3678
- "town": "小清水",
3679
- "town_kana": "コシミズ",
3680
- "street": null,
3681
- "office_name": null,
3682
- "office_name_kana": null
3683
- },
3684
- {
3685
- "postcode": "0993633",
3686
- "prefecture": "北海道",
3687
- "prefecture_kana": "ホッカイドウ",
3688
- "prefecture_code": 1,
3689
- "city": "斜里郡小清水町",
3690
- "city_kana": "シャリグンコシミズチョウ",
3691
- "town": "小清水8区南",
3692
- "town_kana": "コシミズ8クミナミ",
3693
- "street": null,
3694
- "office_name": null,
3695
- "office_name_kana": null
3696
- }
3697
- ],
3698
- "3634": [
3699
- {
3700
- "postcode": "0993634",
3701
- "prefecture": "北海道",
3702
- "prefecture_kana": "ホッカイドウ",
3703
- "prefecture_code": 1,
3704
- "city": "斜里郡小清水町",
3705
- "city_kana": "シャリグンコシミズチョウ",
3706
- "town": "小清水",
3707
- "town_kana": "コシミズ",
3708
- "street": null,
3709
- "office_name": null,
3710
- "office_name_kana": null
3711
- },
3712
- {
3713
- "postcode": "0993634",
3714
- "prefecture": "北海道",
3715
- "prefecture_kana": "ホッカイドウ",
3716
- "prefecture_code": 1,
3717
- "city": "斜里郡小清水町",
3718
- "city_kana": "シャリグンコシミズチョウ",
3719
- "town": "小清水9区北",
3720
- "town_kana": "コシミズ9クキタ",
3721
- "street": null,
3722
- "office_name": null,
3723
- "office_name_kana": null
3724
- }
3725
- ],
3726
- "3635": [
3727
- {
3728
- "postcode": "0993635",
3729
- "prefecture": "北海道",
3730
- "prefecture_kana": "ホッカイドウ",
3731
- "prefecture_code": 1,
3732
- "city": "斜里郡小清水町",
3733
- "city_kana": "シャリグンコシミズチョウ",
3734
- "town": "小清水",
3735
- "town_kana": "コシミズ",
3736
- "street": null,
3737
- "office_name": null,
3738
- "office_name_kana": null
3739
- },
3740
- {
3741
- "postcode": "0993635",
3742
- "prefecture": "北海道",
3743
- "prefecture_kana": "ホッカイドウ",
3744
- "prefecture_code": 1,
3745
- "city": "斜里郡小清水町",
3746
- "city_kana": "シャリグンコシミズチョウ",
3747
- "town": "小清水9区南",
3748
- "town_kana": "コシミズ9クミナミ",
3749
- "street": null,
3750
- "office_name": null,
3751
- "office_name_kana": null
3752
- }
3753
- ],
3754
- "3636": [
3755
- {
3756
- "postcode": "0993636",
3757
- "prefecture": "北海道",
3758
- "prefecture_kana": "ホッカイドウ",
3759
- "prefecture_code": 1,
3760
- "city": "斜里郡小清水町",
3761
- "city_kana": "シャリグンコシミズチョウ",
3762
- "town": "小清水",
3763
- "town_kana": "コシミズ",
3764
- "street": null,
3765
- "office_name": null,
3766
- "office_name_kana": null
3767
- },
3768
- {
3769
- "postcode": "0993636",
3770
- "prefecture": "北海道",
3771
- "prefecture_kana": "ホッカイドウ",
3772
- "prefecture_code": 1,
3773
- "city": "斜里郡小清水町",
3774
- "city_kana": "シャリグンコシミズチョウ",
3775
- "town": "小清水10区",
3776
- "town_kana": "コシミズ10ク",
3777
- "street": null,
3778
- "office_name": null,
3779
- "office_name_kana": null
3780
- }
3781
- ],
3782
3502
  "3641": {
3783
3503
  "postcode": "0993641",
3784
3504
  "prefecture": "北海道",
@@ -8622,6 +8622,32 @@
8622
8622
  "office_name": "日本郵便 株式会社",
8623
8623
  "office_name_kana": "ニツポンユウビン カブシキガイシヤ"
8624
8624
  },
8625
+ "8793": {
8626
+ "postcode": "1008793",
8627
+ "prefecture": "東京都",
8628
+ "prefecture_kana": "トウキョウト",
8629
+ "prefecture_code": 13,
8630
+ "city": "千代田区",
8631
+ "city_kana": "チヨダク",
8632
+ "town": "大手町",
8633
+ "town_kana": "オオテマチ",
8634
+ "street": "2−3−1",
8635
+ "office_name": "株式会社 ゆうちょ銀行",
8636
+ "office_name_kana": "カブシキガイシヤ ユウチヨギンコウ"
8637
+ },
8638
+ "8794": {
8639
+ "postcode": "1008794",
8640
+ "prefecture": "東京都",
8641
+ "prefecture_kana": "トウキョウト",
8642
+ "prefecture_code": 13,
8643
+ "city": "千代田区",
8644
+ "city_kana": "チヨダク",
8645
+ "town": "大手町",
8646
+ "town_kana": "オオテマチ",
8647
+ "street": "2−3−1",
8648
+ "office_name": "株式会社 かんぽ生命保険",
8649
+ "office_name_kana": "カブシキガイシヤ カンポセイメイホケン"
8650
+ },
8625
8651
  "8798": [
8626
8652
  {
8627
8653
  "postcode": "1008798",
@@ -1405,6 +1405,19 @@
1405
1405
  "office_name": "田中貴金属工業 株式会社",
1406
1406
  "office_name_kana": "タナカキキンゾクコウギヨウ (カブ)"
1407
1407
  },
1408
+ "8208": {
1409
+ "postcode": "1038208",
1410
+ "prefecture": "東京都",
1411
+ "prefecture_kana": "トウキョウト",
1412
+ "prefecture_code": 13,
1413
+ "city": "中央区",
1414
+ "city_kana": "チュウオウク",
1415
+ "town": "日本橋茅場町",
1416
+ "town_kana": "ニホンバシカヤバチョウ",
1417
+ "street": "1丁目2番4号",
1418
+ "office_name": "日本電子計算 株式会社",
1419
+ "office_name_kana": "ニホンデンシケイサン カブシキガイシヤ"
1420
+ },
1408
1421
  "8210": {
1409
1422
  "postcode": "1038210",
1410
1423
  "prefecture": "東京都",
@@ -1457,19 +1470,6 @@
1457
1470
  "office_name": "株式会社 第一成和事務所",
1458
1471
  "office_name_kana": "カブシキガイシヤ ダイイチセイワジムシヨ"
1459
1472
  },
1460
- "8217": {
1461
- "postcode": "1038217",
1462
- "prefecture": "東京都",
1463
- "prefecture_kana": "トウキョウト",
1464
- "prefecture_code": 13,
1465
- "city": "中央区",
1466
- "city_kana": "チュウオウク",
1467
- "town": "日本橋茅場町",
1468
- "town_kana": "ニホンバシカヤバチョウ",
1469
- "street": "1丁目8−1",
1470
- "office_name": "日本電子計算 株式会社",
1471
- "office_name_kana": "ニホンデンシケイサン カブシキガイシヤ"
1472
- },
1473
1473
  "8218": {
1474
1474
  "postcode": "1038218",
1475
1475
  "prefecture": "東京都",