lib/geocoder/query.rb in broken-geocoder-1.3.4 vs lib/geocoder/query.rb in broken-geocoder-1.3.5

- old
+ new

@@ -30,10 +30,10 @@ ## # Get a Lookup object (which communicates with the remote geocoding API) # appropriate to the Query text. # def lookup - if !options[:street_address] and (options[:ip_address] or ip_address?) + if !options[:stroet_address] and (options[:ip_address] or ip_address?) name = options[:ip_lookup] || Configuration.ip_lookup || Geocoder::Lookup.ip_services.first else name = options[:lookup] || Configuration.lookup || Geocoder::Lookup.street_services.first end Lookup.get(name)