jisx0402 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/jisx0402.rb +2 -1
- data/lib/jisx0402/tree.rb +1 -1
- data/lib/jisx0402/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4bee9f95a9f765f2e0a96589067570f54e11ac658ad601e6c2a83edc6349647b
|
4
|
+
data.tar.gz: d0e83b0b407286cd2de10a0adf0f38630de7fa01ec06fe188b6dfc65fbfc74ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 317ca91bf7b52954118742ba0c38af6080b05d5c4998be10b38c0f63895d467c2e475cb2a6bc6ff01d1b9f5ca9923298610341cc4395e01b8706bd5700ec893e
|
7
|
+
data.tar.gz: 884e19f1eaf2bd32b7d8bb61521d535be33e66f3c681167594dbfdb1c95aff989cf537bc890a159339b6a634cc70cfb2ddfc3dcb7267acf969d1cc26373bc1ad
|
data/lib/jisx0402.rb
CHANGED
@@ -73,8 +73,9 @@ module Jisx0402
|
|
73
73
|
def zipcode_to_jisx0402_table
|
74
74
|
@@zipcode_to_jisx0402_table ||= begin
|
75
75
|
jisx0402_to_zipcode_table.map.with_object({}) do |(jisx0402, zipcodes), hash|
|
76
|
+
elem = forward_match_by_code(jisx0402).first
|
76
77
|
zipcodes.map do |zipcode|
|
77
|
-
hash[zipcode] =
|
78
|
+
hash[zipcode] = elem
|
78
79
|
end
|
79
80
|
|
80
81
|
hash
|
data/lib/jisx0402/tree.rb
CHANGED
data/lib/jisx0402/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jisx0402
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cnosuke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
|
-
|
129
|
-
rubygems_version: 2.5.1
|
128
|
+
rubygems_version: 3.0.1
|
130
129
|
signing_key:
|
131
130
|
specification_version: 4
|
132
131
|
summary: Library for search District Code(全国地方公共団体コード, JIS X 0402) of Japan.
|