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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 930aea58a541962ce8972a5a0b2f366bac2da39ba9ebe47b2d80612e6b090646
4
- data.tar.gz: eed57692681b4a0be34de74cfba506cccade746fe8492c256d340360708857a5
3
+ metadata.gz: b4106fcc3611bf1539f01354f0605ff1e77a37bf4d56a65159c2a310dd9830cd
4
+ data.tar.gz: 234b300614b1b0ea0c0510fd634a31f6c89fa566ac4f27b8ba01c3611b1f140b
5
5
  SHA512:
6
- metadata.gz: 6b25e33688f4ade19590c72c0af06372bf5f4949cb9c9d5a963699fa1b69737e01c2af17f13bc51da00fb06affa695c0cefac06f3c277e864b8a25aa87ba4059
7
- data.tar.gz: 37b1b0744277df51f13af602b979d221478f5d776ba3385bdd553bdca0e738e2747ef92ec42553a6529f5075f5f5e6d49c66121ca450f7a389a7c88d3ca68de4
6
+ metadata.gz: 5bcbd6f5aa1186d87c3e2da4767e9acdc3dfebda85607dabc3eb3d662affe329bb3d4c353f4171035890be98e7412176b68a8dd39da2512569acf8529117a8bd
7
+ data.tar.gz: 535ab92f5c4a021e3c9328565743b1c14b4341e7b057039843192ec544c93c3b99e39796c154aa086648348e6ba92c2f66b956a484b7d4d54ffb2ece5c0846c2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jpostcode (0.1.10)
4
+ jpostcode (0.1.11)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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['zip_code']
12
+ @zip_code = data['postcode']
11
13
  @prefecture = data['prefecture']
12
14
  @prefecture_kana = data['prefecture_kana']
13
15
  @prefecture_code = data['prefecture_code']
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jpostcode
4
- VERSION = '0.1.10'
4
+ VERSION = '0.1.11'
5
5
  end
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.10
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-04-28 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler