jpostcode 0.1.20 → 1.0.0.20200201

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +73 -6
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +17 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile.lock +16 -16
  7. data/README.md +3 -0
  8. data/jpostcode-data/data/json/071.json +52 -0
  9. data/jpostcode-data/data/json/101.json +13 -0
  10. data/jpostcode-data/data/json/103.json +13 -0
  11. data/jpostcode-data/data/json/104.json +3 -3
  12. data/jpostcode-data/data/json/105.json +13 -0
  13. data/jpostcode-data/data/json/108.json +13 -0
  14. data/jpostcode-data/data/json/112.json +0 -13
  15. data/jpostcode-data/data/json/135.json +3 -3
  16. data/jpostcode-data/data/json/160.json +1 -1
  17. data/jpostcode-data/data/json/176.json +0 -13
  18. data/jpostcode-data/data/json/184.json +2 -2
  19. data/jpostcode-data/data/json/252.json +13 -0
  20. data/jpostcode-data/data/json/286.json +13 -0
  21. data/jpostcode-data/data/json/369.json +2 -2
  22. data/jpostcode-data/data/json/441.json +13 -0
  23. data/jpostcode-data/data/json/460.json +0 -312
  24. data/jpostcode-data/data/json/501.json +13 -0
  25. data/jpostcode-data/data/json/514.json +13 -0
  26. data/jpostcode-data/data/json/530.json +13 -0
  27. data/jpostcode-data/data/json/540.json +13 -0
  28. data/jpostcode-data/data/json/573.json +7 -7
  29. data/jpostcode-data/data/json/600.json +4 -4
  30. data/jpostcode-data/data/json/730.json +13 -0
  31. data/jpostcode-data/data/json/870.json +13 -28
  32. data/jpostcode-data/data/json/924.json +3 -3
  33. data/jpostcode-data/data/json/926.json +2 -2
  34. data/jpostcode-data/data/json/948.json +13 -0
  35. data/jpostcode-data/data/json/989.json +2 -2
  36. data/jpostcode.gemspec +2 -2
  37. data/lib/jpostcode/version.rb +1 -1
  38. metadata +10 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 711e665b1370f0526a48376955df81818fc4938db17832a509a745126b602d58
4
- data.tar.gz: 71017f6f609e6938d71dec06f57b504fc1c3a6def9e68d4463899153bbe42e62
3
+ metadata.gz: b5d2252c958ab2579af18af330383eac591f386af271a5e7987eac2fe930de40
4
+ data.tar.gz: c83b6778a258affba5964ea17eef4f61c5f863f60179fb5d3a4b3e8a6de9c554
5
5
  SHA512:
6
- metadata.gz: d8df49118ee7cbbe33b86b7c77b2a93fa59e4172422739a2d3d360d48141af946f5b6a8ccdaeb81b6bf6d610c739e1d7e0d616243969680bdff70c9eb3511c41
7
- data.tar.gz: 64fba536492802e50cdd0a3e4212d50b445fd2c9674a15234d8a1d1411edf01004d5fc0469ac28286c2a364025a542e369c65a90bfd5ae7f8743bc4e74b320cd
6
+ metadata.gz: 738cdddc62eddaed3863a126c332ecaeb5570ffc322b5541da1b94798695a2f6e827977aac342529ca764abe3ad92dd22258d83c6006c622faa9b814c0521db7
7
+ data.tar.gz: 4a218a13009f4e5e9bb40c1afdf0cc36255e0d6e9a047215fc3bef657f964c89cebd0d3d547829b20425fcf287f4a3e84fb4af5fbc5c8f62b94a4dc2754396a1
@@ -1,27 +1,94 @@
1
1
  version: 2.1
2
2
 
3
- jobs:
4
- ruby:
3
+ executors:
4
+ working_directory: /root/jpostcode-rb
5
+ ruby_2_7:
6
+ docker:
7
+ - image: rubylang/ruby:2.7.0-bionic
8
+ ruby_2_6:
5
9
  docker:
6
10
  - image: rubylang/ruby:2.6.5-bionic
11
+ ruby_2_5:
12
+ docker:
13
+ - image: rubylang/ruby:2.5.7-bionic
14
+ ruby_2_4:
15
+ docker:
16
+ - image: rubylang/ruby:2.4.9-bionic
17
+
18
+ commands:
19
+ install_system_dependencies:
20
+ description: "Install system dependencies"
7
21
  steps:
8
22
  - run:
9
23
  name: Install System Dependencies
10
24
  # https://circleci.com/docs/2.0/custom-images/#required-tools-for-primary-containers
11
25
  command: apt-get update -y && apt-get install -y ssh
12
- - checkout
26
+
27
+ submodule_sync:
28
+ description: "git submodule init & update"
29
+ steps:
13
30
  - run:
14
- name: submodule update and execute
31
+ name: git submodule init & update
15
32
  command: |
16
33
  git submodule init
17
34
  git submodule update
18
- gem install bundler
35
+
36
+ bundle_gems:
37
+ description: "Bundle gems"
38
+ steps:
39
+ - run:
40
+ name: Bundle gems
41
+ command: |
42
+ gem install bundler -v 2.1.4 --no-document --force
19
43
  bundle install
44
+ run_tests:
45
+ description: "Run tests"
46
+ steps:
47
+ - run:
48
+ name: Run tests
49
+ command: |
20
50
  bundle exec rake
21
51
  bundle exec rubocop
22
52
 
53
+ jobs:
54
+ run_tests_on_ruby_2_7:
55
+ executor: ruby_2_7
56
+ steps:
57
+ - install_system_dependencies
58
+ - checkout
59
+ - submodule_sync
60
+ - bundle_gems
61
+ - run_tests
62
+ run_tests_on_ruby_2_6:
63
+ executor: ruby_2_6
64
+ steps:
65
+ - install_system_dependencies
66
+ - checkout
67
+ - submodule_sync
68
+ - bundle_gems
69
+ - run_tests
70
+ run_tests_on_ruby_2_5:
71
+ executor: ruby_2_5
72
+ steps:
73
+ - install_system_dependencies
74
+ - checkout
75
+ - submodule_sync
76
+ - bundle_gems
77
+ - run_tests
78
+ run_tests_on_ruby_2_4:
79
+ executor: ruby_2_4
80
+ steps:
81
+ - install_system_dependencies
82
+ - checkout
83
+ - submodule_sync
84
+ - bundle_gems
85
+ - run_tests
86
+
23
87
  workflows:
24
88
  version: 2
25
89
  test:
26
90
  jobs:
27
- - ruby
91
+ - run_tests_on_ruby_2_7
92
+ - run_tests_on_ruby_2_6
93
+ - run_tests_on_ruby_2_5
94
+ - run_tests_on_ruby_2_4
@@ -1 +1 @@
1
- 2.6.5
1
+ 2.7.0
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.1.20](https://github.com/kufu/jpostcode-rb/tree/v0.1.20) (2019-12-31)
4
+
5
+ [Full Changelog](https://github.com/kufu/jpostcode-rb/compare/v0.1.19...v0.1.20)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - bumpup 0.1.20 \(2020/01\) [\#78](https://github.com/kufu/jpostcode-rb/pull/78) ([tknzk](https://github.com/tknzk))
10
+ - use build by rubylang docker image on circleci [\#77](https://github.com/kufu/jpostcode-rb/pull/77) ([tknzk](https://github.com/tknzk))
11
+ - bundle update [\#76](https://github.com/kufu/jpostcode-rb/pull/76) ([tknzk](https://github.com/tknzk))
12
+ - Bump rb-inotify from 0.10.0 to 0.10.1 [\#74](https://github.com/kufu/jpostcode-rb/pull/74) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
13
+ - circleci 2.1 [\#73](https://github.com/kufu/jpostcode-rb/pull/73) ([tknzk](https://github.com/tknzk))
14
+ - use bundler 2.1.2 [\#71](https://github.com/kufu/jpostcode-rb/pull/71) ([tknzk](https://github.com/tknzk))
15
+ - Bump rubocop from 0.77.0 to 0.78.0 [\#70](https://github.com/kufu/jpostcode-rb/pull/70) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
16
+ - Bump thor from 1.0.0 to 1.0.1 [\#69](https://github.com/kufu/jpostcode-rb/pull/69) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
17
+ - Bump thor from 0.20.3 to 1.0.0 [\#68](https://github.com/kufu/jpostcode-rb/pull/68) ([dependabot-preview[bot]](https://github.com/apps/dependabot-preview))
18
+ - update changelog [\#67](https://github.com/kufu/jpostcode-rb/pull/67) ([tknzk](https://github.com/tknzk))
19
+
3
20
  ## [v0.1.19](https://github.com/kufu/jpostcode-rb/tree/v0.1.19) (2019-12-12)
4
21
 
5
22
  [Full Changelog](https://github.com/kufu/jpostcode-rb/compare/v0.1.18...v0.1.19)
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at dev@smarthr.jp. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -1,16 +1,16 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jpostcode (0.1.20)
4
+ jpostcode (1.0.0.20200201)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.0)
10
- byebug (11.0.1)
10
+ byebug (11.1.0)
11
11
  coderay (1.1.2)
12
12
  diff-lcs (1.3)
13
- ffi (1.11.3)
13
+ ffi (1.12.1)
14
14
  formatador (0.2.5)
15
15
  guard (2.16.1)
16
16
  formatador (>= 0.2.4)
@@ -37,14 +37,14 @@ GEM
37
37
  listen (3.2.1)
38
38
  rb-fsevent (~> 0.10, >= 0.10.3)
39
39
  rb-inotify (~> 0.9, >= 0.9.10)
40
- lumberjack (1.0.13)
40
+ lumberjack (1.2.0)
41
41
  method_source (0.9.2)
42
42
  nenv (0.3.0)
43
43
  notiffany (0.1.3)
44
44
  nenv (~> 0.1)
45
45
  shellany (~> 0.0)
46
46
  parallel (1.19.1)
47
- parser (2.6.5.0)
47
+ parser (2.7.0.2)
48
48
  ast (~> 2.4.0)
49
49
  pry (0.12.2)
50
50
  coderay (~> 1.1.0)
@@ -53,7 +53,7 @@ GEM
53
53
  byebug (~> 11.0)
54
54
  pry (~> 0.10)
55
55
  rainbow (3.0.0)
56
- rake (12.3.3)
56
+ rake (13.0.1)
57
57
  rb-fsevent (0.10.3)
58
58
  rb-inotify (0.10.1)
59
59
  ffi (~> 1.0)
@@ -61,19 +61,19 @@ GEM
61
61
  rspec-core (~> 3.9.0)
62
62
  rspec-expectations (~> 3.9.0)
63
63
  rspec-mocks (~> 3.9.0)
64
- rspec-core (3.9.0)
65
- rspec-support (~> 3.9.0)
64
+ rspec-core (3.9.1)
65
+ rspec-support (~> 3.9.1)
66
66
  rspec-expectations (3.9.0)
67
67
  diff-lcs (>= 1.2.0, < 2.0)
68
68
  rspec-support (~> 3.9.0)
69
- rspec-mocks (3.9.0)
69
+ rspec-mocks (3.9.1)
70
70
  diff-lcs (>= 1.2.0, < 2.0)
71
71
  rspec-support (~> 3.9.0)
72
- rspec-support (3.9.0)
73
- rubocop (0.78.0)
72
+ rspec-support (3.9.2)
73
+ rubocop (0.79.0)
74
74
  jaro_winkler (~> 1.5.1)
75
75
  parallel (~> 1.10)
76
- parser (>= 2.6)
76
+ parser (>= 2.7.0.1)
77
77
  rainbow (>= 2.2.2, < 4.0)
78
78
  ruby-progressbar (~> 1.7)
79
79
  unicode-display_width (>= 1.4.0, < 1.7)
@@ -82,13 +82,13 @@ GEM
82
82
  ruby-progressbar (1.10.1)
83
83
  shellany (0.0.1)
84
84
  thor (1.0.1)
85
- unicode-display_width (1.6.0)
85
+ unicode-display_width (1.6.1)
86
86
 
87
87
  PLATFORMS
88
88
  ruby
89
89
 
90
90
  DEPENDENCIES
91
- bundler
91
+ bundler (~> 2.1)
92
92
  guard
93
93
  guard-bundler
94
94
  guard-rspec
@@ -96,10 +96,10 @@ DEPENDENCIES
96
96
  jpostcode!
97
97
  pry
98
98
  pry-byebug
99
- rake (~> 12.3)
99
+ rake (~> 13)
100
100
  rspec
101
101
  rubocop
102
102
  rubocop-performance
103
103
 
104
104
  BUNDLED WITH
105
- 2.1.2
105
+ 2.1.4
data/README.md CHANGED
@@ -80,6 +80,9 @@ After updating `kufu/jpostcode-data`, run `git submodule foreach git pull origin
80
80
 
81
81
  Bug reports and pull requests are welcome on GitHub at https://github.com/kufu/jpostcode-rb.
82
82
 
83
+ ## Code of Conduct
84
+
85
+ Everyone interacting in the Jpostcode project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kufu/jpostcode-rb/blob/master/CODE_OF_CONDUCT.md).
83
86
 
84
87
  ## License
85
88
 
@@ -3395,6 +3395,58 @@
3395
3395
  "office_name": null,
3396
3396
  "office_name_kana": null
3397
3397
  },
3398
+ "1413": {
3399
+ "postcode": "0711413",
3400
+ "prefecture": "北海道",
3401
+ "prefecture_kana": "ホッカイドウ",
3402
+ "prefecture_code": 1,
3403
+ "city": "上川郡東川町",
3404
+ "city_kana": "カミカワグンヒガシカワチョウ",
3405
+ "town": "新栄東",
3406
+ "town_kana": "シンエイヒガシ",
3407
+ "street": null,
3408
+ "office_name": null,
3409
+ "office_name_kana": null
3410
+ },
3411
+ "1414": {
3412
+ "postcode": "0711414",
3413
+ "prefecture": "北海道",
3414
+ "prefecture_kana": "ホッカイドウ",
3415
+ "prefecture_code": 1,
3416
+ "city": "上川郡東川町",
3417
+ "city_kana": "カミカワグンヒガシカワチョウ",
3418
+ "town": "新栄南",
3419
+ "town_kana": "シンエイミナミ",
3420
+ "street": null,
3421
+ "office_name": null,
3422
+ "office_name_kana": null
3423
+ },
3424
+ "1415": {
3425
+ "postcode": "0711415",
3426
+ "prefecture": "北海道",
3427
+ "prefecture_kana": "ホッカイドウ",
3428
+ "prefecture_code": 1,
3429
+ "city": "上川郡東川町",
3430
+ "city_kana": "カミカワグンヒガシカワチョウ",
3431
+ "town": "新栄西",
3432
+ "town_kana": "シンエイニシ",
3433
+ "street": null,
3434
+ "office_name": null,
3435
+ "office_name_kana": null
3436
+ },
3437
+ "1416": {
3438
+ "postcode": "0711416",
3439
+ "prefecture": "北海道",
3440
+ "prefecture_kana": "ホッカイドウ",
3441
+ "prefecture_code": 1,
3442
+ "city": "上川郡東川町",
3443
+ "city_kana": "カミカワグンヒガシカワチョウ",
3444
+ "town": "新栄北",
3445
+ "town_kana": "シンエイキタ",
3446
+ "street": null,
3447
+ "office_name": null,
3448
+ "office_name_kana": null
3449
+ },
3398
3450
  "1418": {
3399
3451
  "postcode": "0711418",
3400
3452
  "prefecture": "北海道",
@@ -2794,6 +2794,19 @@
2794
2794
  "office_name": "新生フィナンシャル 株式会社",
2795
2795
  "office_name_kana": "シンセイフイナンシヤル カブシキガイシヤ"
2796
2796
  },
2797
+ "8604": {
2798
+ "postcode": "1018604",
2799
+ "prefecture": "東京都",
2800
+ "prefecture_kana": "トウキョウト",
2801
+ "prefecture_code": 13,
2802
+ "city": "千代田区",
2803
+ "city_kana": "チヨダク",
2804
+ "town": "外神田",
2805
+ "town_kana": "ソトカンダ",
2806
+ "street": "3丁目12番8号住友不動産秋葉原ビル17階",
2807
+ "office_name": "アルファ債権回収 株式会社",
2808
+ "office_name_kana": "アルフアサイケンカイシユウ カブシキガイシヤ"
2809
+ },
2797
2810
  "8605": {
2798
2811
  "postcode": "1018605",
2799
2812
  "prefecture": "東京都",
@@ -2120,6 +2120,19 @@
2120
2120
  "office_name": "株式会社 QUICK 本社",
2121
2121
  "office_name_kana": "カブシキガイシヤ クイツク ホンシヤ"
2122
2122
  },
2123
+ "8318": {
2124
+ "postcode": "1038318",
2125
+ "prefecture": "東京都",
2126
+ "prefecture_kana": "トウキョウト",
2127
+ "prefecture_code": 13,
2128
+ "city": "中央区",
2129
+ "city_kana": "チュウオウク",
2130
+ "town": "日本橋室町",
2131
+ "town_kana": "ニホンバシムロマチ",
2132
+ "street": "2丁目4番3号",
2133
+ "office_name": "昭和リース 株式会社",
2134
+ "office_name_kana": "シヨウワリ-ス カブシキガイシヤ"
2135
+ },
2123
2136
  "8321": {
2124
2137
  "postcode": "1038321",
2125
2138
  "prefecture": "東京都",
@@ -3555,9 +3555,9 @@
3555
3555
  "prefecture_code": 13,
3556
3556
  "city": "中央区",
3557
3557
  "city_kana": "チュウオウク",
3558
- "town": "京橋",
3559
- "town_kana": "キョウバシ",
3560
- "street": "1丁目7−1TODABLDG",
3558
+ "town": "八丁堀",
3559
+ "town_kana": "ハッチョウボリ",
3560
+ "street": "2−8−5",
3561
3561
  "office_name": "戸田建設 株式会社",
3562
3562
  "office_name_kana": "トダケンセツ カブシキガイシヤ"
3563
3563
  },
@@ -3327,6 +3327,19 @@
3327
3327
  "office_name": null,
3328
3328
  "office_name_kana": null
3329
3329
  },
3330
+ "7050": {
3331
+ "postcode": "1057050",
3332
+ "prefecture": "東京都",
3333
+ "prefecture_kana": "トウキョウト",
3334
+ "prefecture_code": 13,
3335
+ "city": "港区",
3336
+ "city_kana": "ミナトク",
3337
+ "town": "東新橋",
3338
+ "town_kana": "ヒガシシンバシ",
3339
+ "street": "1−8−1",
3340
+ "office_name": "株式会社 電通グループ",
3341
+ "office_name_kana": "カブシキガイシヤ デンツウグル-プ"
3342
+ },
3330
3343
  "7077": {
3331
3344
  "postcode": "1057077",
3332
3345
  "prefecture": "東京都",