geocoder-olleh 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 52c8c58f189f258e7bd8a5077b6535dad1b22553
4
- data.tar.gz: e55643a6a4ae11eb8354f2f569255ac03fc38eeb
3
+ metadata.gz: b98a68cdb6208ee6881571f0dfc8d3f2b34eee13
4
+ data.tar.gz: 7a2da2a1e627aa1227b72523e2140c4cef970c34
5
5
  SHA512:
6
- metadata.gz: ecfa0c37449a223e726ea42ecb3476bf3631c778bde7bf03a973856957e530393a85437e18701202e4ade1c4fe4ce3517d6d06024fac154d63bbf9abf84e49ed
7
- data.tar.gz: f244862f4593922cf8924dc84495ad42609a043dbd523b2503cc8a5a9da0f7fec81deccc506f3292cab62dcc3f42a6cf9ac5ee94d861aa70234e25788c5c1723
6
+ metadata.gz: 5593bc6499bc8125c3e889ce62a4d5646b4fa31e69364319de23ecd958bc3af9a3d126a846325a2106c01cdb0832f4f55abfcc291e04b07a97d47bb4d0253111
7
+ data.tar.gz: 73d9e58ab32cfbef33e69a54be3a3295c6ec559d234dbbac0ed4b793aa61cae8dd2d4cf1b1ef6e641da4b7f758b0cac8302e0bd3858daba60cafd85185dad5ea
@@ -1,5 +1,5 @@
1
1
  module Geocoder
2
2
  module Olleh
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.6"
4
4
  end
5
5
  end
@@ -175,7 +175,11 @@ module Geocoder::Result
175
175
  # addr used when we call km2_LocalSearch
176
176
  # using new address system
177
177
  def new_addr
178
- @data["NEW_ADDR"].gsub("+", " ")
178
+ if @data["NEW_ADDR"]
179
+ @data["NEW_ADDR"].gsub("+", " ")
180
+ else
181
+ @data["ADDR"]
182
+ end
179
183
  end
180
184
 
181
185
  ##
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geocoder-olleh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaigouk Kim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-24 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler