jipcode 1.0.0 → 1.0.1

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: 6c4061d9567afe4e3ff283cedb29e90166493fefd7e1e74ed4ed928640dab2b3
4
- data.tar.gz: b0004f280b1da321f1f9d8d6108998a2705cd4fe92836515101e3624e20bba9a
3
+ metadata.gz: 3e5620b236c93df3186c2cb16360abc4814ac465e11b2dce95107a0acbdaca6c
4
+ data.tar.gz: 393ee74249d4806e6fe77dc71834d62bc78010c6e7129492d2e5ac93ed644288
5
5
  SHA512:
6
- metadata.gz: 5d623c59743a20fa070d94dbcdb74fcaa1a249b7196ac0617b88fef69ec07226bd7ff37312931734ae2e2095fce53ae95a2d38e4ded5b090d21e93046717be93
7
- data.tar.gz: 1edaf34b0e8deaa8bef1df08a1c34f7c78f8d8d4d12b30ac50a142133fc85fc901b5da03304be099a64fb4096f2a90f92fff0425dac7347791459c20bdbd4efe
6
+ metadata.gz: fd75c97c82f63baa067a92a91169b636775c50cfc2fcf97ff4719dcdb2a3c0891bffc6623c5a4eea8cff1c1c01bf133c3c35a34f3dda18d904c64bd47cb1a130
7
+ data.tar.gz: 0a1cf5c1391da5090a59fb3218df99e1d0a8351422a9ba2a2cf5a42034407c91b7e43074ddb722dfd88b5fcb3e3b79dffb93e2ddc3e670a0d5caf4a0f305ce87
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jipcode (1.0.0)
4
+ jipcode (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/jipcode.gemspec CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["rinkei"]
10
10
  spec.email = ["kei.h.hayashi@gmail.com"]
11
11
 
12
- spec.summary = %q{jipcode is a search & update gem for Japan Post's official zipcode data.}
13
- spec.description = %q{jipcode is a search & update gem for Japan Post's official zipcode data.}
12
+ spec.summary = %q{A gem for Japan Post's official zipcode data search & update.}
13
+ spec.description = %q{A gem for Japan Post's official zipcode data search & update.}
14
14
  spec.homepage = "https://github.com/rinkei/jipcode"
15
15
  spec.license = "MIT"
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Jipcode
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
data/lib/jipcode.rb CHANGED
@@ -2,7 +2,7 @@ require "jipcode/version"
2
2
  require 'csv'
3
3
 
4
4
  module Jipcode
5
- ZIPCODE_PATH = 'zipcode/latest'.freeze
5
+ ZIPCODE_PATH = "#{File.dirname(__FILE__)}/../zipcode/latest".freeze
6
6
 
7
7
  def search(zipcode)
8
8
  path = "#{ZIPCODE_PATH}/#{zipcode[0..2]}.csv"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jipcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rinkei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-25 00:00:00.000000000 Z
11
+ date: 2018-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: jipcode is a search & update gem for Japan Post's official zipcode data.
97
+ description: A gem for Japan Post's official zipcode data search & update.
98
98
  email:
99
99
  - kei.h.hayashi@gmail.com
100
100
  executables: []
@@ -1090,5 +1090,5 @@ rubyforge_project:
1090
1090
  rubygems_version: 2.7.3
1091
1091
  signing_key:
1092
1092
  specification_version: 4
1093
- summary: jipcode is a search & update gem for Japan Post's official zipcode data.
1093
+ summary: A gem for Japan Post's official zipcode data search & update.
1094
1094
  test_files: []