basho 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d5062b6af6d64bcb37a5b30cd46521e4cad6705db4d742f29ec417cc6f91aed
4
- data.tar.gz: c144f49283693da2234a7d560eb65d4a08741ba2e7531385602504b18799b60e
3
+ metadata.gz: 2e73dfba16705f8823e475e527bc9fa05dafee5eb74c50fdd629a21f14be136c
4
+ data.tar.gz: 0b15fc8f9227de46def4ec406430cf415ecd205cb3bba3a222badf7b02a0950c
5
5
  SHA512:
6
- metadata.gz: 18dbff26b5479ac3c280de831441285b8388725afe1c7f58c69ff0c664e877dea9a1e81f5d02986dc851f8cce60e7a6679d47f4d70804f756196138257f0e2fc
7
- data.tar.gz: 8f57383aaee2e18e118d3001d824ddc3c8a2aa83ba4af136c6d5dcc273e4c83c1138c42ceea0bdbaf2c995de4407deb41d116aa3b64aa1e69fcc9400135e793c
6
+ metadata.gz: d01f5a933e2301770651bb77e024fa2ded872060139e7bfce1f01d8e9e47535e5af46bc14d2475d1e8dc44d13cbfcb79db70b82cd38593b378eacd49d311dbc4
7
+ data.tar.gz: ae3fbc94116fc55679261d44d51ea4b877e730c18c5c082e9f2692ca9448e0303b3394adff390ad2bc158bf9036b4e01245eaac2914cd0741ff642726c0c0a22
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.1] - 2026-02-09
9
+
10
+ ### Fixed
11
+
12
+ - `PostalAutoResolve.resolve_city_code`で郡のある町村(923件)の`city_code`が解決されないバグを修正
13
+
8
14
  ## [0.2.0] - 2026-02-08
9
15
 
10
16
  ### Added
@@ -38,6 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
38
44
  - GitHub Actions CI(Ruby 3.2/3.3/3.4)
39
45
  - 月次データ自動更新ワークフロー
40
46
 
47
+ [0.2.1]: https://github.com/wagai/basho/releases/tag/v0.2.1
41
48
  [0.2.0]: https://github.com/wagai/basho/releases/tag/v0.2.0
42
49
  [0.1.2]: https://github.com/wagai/basho/releases/tag/v0.1.2
43
50
  [0.1.0]: https://github.com/wagai/basho/releases/tag/v0.1.0
@@ -66,7 +66,7 @@ module Basho
66
66
 
67
67
  def resolve_city_code(postal)
68
68
  City.where(prefecture_code: postal.prefecture_code)
69
- .find { |c| c.name == postal.city_name }&.code
69
+ .find { |c| c.full_name == postal.city_name }&.code
70
70
  end
71
71
  end
72
72
  end
data/lib/basho/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Basho
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hirotaka Wagai