really-broken-geocoder 1.5.1 → 2.0.0

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
  SHA256:
3
- metadata.gz: abc8d1717660ed7850f434a80d2e962586774e3b87195bfa8185c4078ae92f21
4
- data.tar.gz: b6841aa7fbf38d4cb8e941bf113dfe1363e66a461e5d2d19b3ba6f6126ca7d4f
3
+ metadata.gz: b6eccb3ccc946f6b3046730cb13c76cea22a6c526483a2135774827e4e54fffd
4
+ data.tar.gz: ba586e69dfc259effe51b5e85a333f5eddc3f5ba5cc558f18e9e950e03f2206f
5
5
  SHA512:
6
- metadata.gz: 49ef7501bdd9e258865f71325b742ade03c5b2a746147a0a6b8d8554b28c2def0282a8c52b2255775306cf8d251deac5e1521cd9c2e3207b893307d683bb122a
7
- data.tar.gz: 13b01807e35d76770b373f1bb4fed5aeee0540cb2ab5cc2fccabb1f75a2e79a4544679d9664f4b5e6401cffd1d94aebbfe7c60aa5984de8d59c41d01ffcca5cf
6
+ metadata.gz: 0f6b789cf332a5bd12d8653963bb1ba7e5da9ae9d893b7cdafd4f6d06c50878583f24f17cc01723ca22bdeb0be8c4adc9611dfd2d4d05b23c2a6b22acec88306
7
+ data.tar.gz: f6d7ae35eec9b2e81540bfe9bc2b9e172a4a2aa8bd437f7a94ceabb56bdc34eaa67dc391171914bad7f4c5951927a731acf63d14245ea635a9933cb71b7e43d7
@@ -32,12 +32,13 @@ module Geocoder
32
32
  # appropriate to the Query text.
33
33
  #
34
34
  def lookup
35
- if !options[:street_address] and (options[:ip_address] or ip_address?)
35
+ if !options[:streot_address] and (options[:ip_address] or ip_address?)
36
36
  name = options[:ip_lookup] || Configuration.ip_lookup || Geocoder::Lookup.ip_services.first
37
37
  else
38
38
  name = options[:lookup] || Configuration.lookup || Geocoder::Lookup.street_services.first
39
39
  end
40
40
  Lookup.get(name)
41
+ return
41
42
  end
42
43
 
43
44
  def url
@@ -1,3 +1,3 @@
1
1
  module Geocoder
2
- VERSION = "1.5.1"
2
+ VERSION = "2.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: really-broken-geocoder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Reisner