jpostcode 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/jpostcode/address.rb +3 -1
- data/lib/jpostcode/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4106fcc3611bf1539f01354f0605ff1e77a37bf4d56a65159c2a310dd9830cd
|
4
|
+
data.tar.gz: 234b300614b1b0ea0c0510fd634a31f6c89fa566ac4f27b8ba01c3611b1f140b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bcbd6f5aa1186d87c3e2da4767e9acdc3dfebda85607dabc3eb3d662affe329bb3d4c353f4171035890be98e7412176b68a8dd39da2512569acf8529117a8bd
|
7
|
+
data.tar.gz: 535ab92f5c4a021e3c9328565743b1c14b4341e7b057039843192ec544c93c3b99e39796c154aa086648348e6ba92c2f66b956a484b7d4d54ffb2ece5c0846c2
|
data/Gemfile.lock
CHANGED
data/lib/jpostcode/address.rb
CHANGED
@@ -6,8 +6,10 @@ module Jpostcode
|
|
6
6
|
:city, :city_kana, :town, :town_kana, :street,
|
7
7
|
:office_name, :office_name_kana
|
8
8
|
|
9
|
+
alias postcode zip_code
|
10
|
+
|
9
11
|
def initialize(data)
|
10
|
-
@zip_code = data['
|
12
|
+
@zip_code = data['postcode']
|
11
13
|
@prefecture = data['prefecture']
|
12
14
|
@prefecture_kana = data['prefecture_kana']
|
13
15
|
@prefecture_code = data['prefecture_code']
|
data/lib/jpostcode/version.rb
CHANGED
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: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kakipo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|