- Apr 28, 2015
-
-
Alex Reisner authored
Tests were failing like this: <Geocoder::Result::Nominatim> expected but was <"Geocoder::Result::Nominatim">
-
- Mar 21, 2015
-
-
Alex Reisner authored
To run a single file, use: ruby -I test <filename>
-
- Feb 25, 2014
-
-
Alex Reisner authored
-
Alex Reisner authored
-
- Feb 24, 2014
-
-
Alex Reisner authored
-
- Feb 08, 2014
-
-
Alex Reisner authored
-
- Dec 28, 2013
-
-
Alex Reisner authored
-
- Dec 23, 2013
-
-
Bonias authored
Example: class City < ActiveRecord::Base geocoded_by :address, :lookup => lambda{|obj| obj.custom_lookup } def custom_lookup # return custom lookup for record end end
-
Bonias authored
Allow to set custom lookup option for Geocoder.search, Geocoder::Query.new and ActiveRecord::Base.(reverse_)geocoded_by Examples: class City < ActiveRecord::Base geocoded_by :address, :lookup => :nominatim end Geocoder.search("address", :lookup => :nominatim)
-
- Sep 07, 2011
-
-
Alex Reisner authored
This has always been the intended behavior (as shown by the README's sample code which begins `if results.first`) but it wasn't implemented properly. Thanks to github.com/nhippenmeyer for pointing it out.
-
- Jul 21, 2011
-
-
James McCarthy authored
Removed set_defaults from all tests and replaced with teardown to reset the defaults. Signed-off-by:
James McCarthy <james2mccarthy@gmail.com>
-
- Jun 02, 2011
-
-
Alex Reisner authored
-
- May 10, 2011
-
-
Ahmed Adam authored
Allows custom handling of geocoding service connection problems.
-
- May 08, 2011
-
-
Jeff Keen authored
Fixes #56
-
- May 02, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
Instead use a proxy if http_proxy or https_proxy is set. Also revise code style to be more consistent with rest of library.
-
Olivier Garcia authored
Geocoder will try to use environment's http_proxy or https_proxy when doing lookups unless that behaviour has been disabled in the configuration
-
- Apr 22, 2011
-
-
Andrew Stevens authored
-
Andrew Stevens authored
-
Alex Reisner authored
Also alias as #province and #province_code.
-
Alex Reisner authored
-
- Apr 05, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
- Apr 01, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
Also add extract_coordinates method and use wherever relevant.
-
- Mar 29, 2011
-
-
Alex Reisner authored
Reported by github.com/joelmats. The array passed to Geocoder::Calculations.geographic_center was being modified in-place.
-
- Mar 25, 2011
-
-
Alex Reisner authored
Get rid of space after comma, if any (Google was returning no results).
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
Alex Reisner authored
-
- Mar 24, 2011
-
-
Alex Reisner authored
Was ignoring non-ASCII characters. Thanks to github.com/supergivi for reporting the bug.
-
Alex Reisner authored
-
Alex Reisner authored
Also clean up code comments.
-
Alex Reisner authored
-
- Mar 22, 2011
-
-
Alex Reisner authored
-
Alex Reisner authored
Was preventing other test from running.
-