Skip to content
Snippets Groups Projects
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGELOG.rdoc 6.12 KiB

Changelog

Per-release changes to Geocoder.

1.0.1 (2011 May 17)

  • Add option to not rescue from certain exceptions (thanks github.com/ahmedrb).

  • Fix STI child/parent geocoding bug (thanks github.com/ogennadi).

  • Other bugfixes.

1.0.0 (2011 May 9)

  • Add command line interface.

  • Add support for local proxy (thanks github.com/Olivier).

  • Add support for Yandex.ru geocoding service.

  • Add support for Bing geocoding service (thanks github.com/astevens).

  • Fix single table inheritance bug (reported by github.com/enrico).

  • Fix bug when Google result supplies no city (thanks github.com/jkeen).

0.9.13 (2011 Apr 11)

  • Fix “can’t find special index: 2d” error when using Mongoid with Ruby 1.8.

0.9.12 (2011 Apr 6)

  • Add support for Mongoid.

  • Add bearing_to/from methods to geocoded objects.

  • Improve SQLite’s distance calculation heuristic.

  • Fix: Geocoder::Calculations.geographic_center was modifying its argument in-place (reported by github.com/joelmats).

  • Fix: sort ‘near’ query results by distance when using SQLite.

  • Clean up input: search for coordinates as a string with space after comma yields zero results from Google. Now we get rid of any such space before sending the query.

  • DEPRECATION: Geocoder.near should not take :limit or :offset options.

  • DEPRECATION: Change argument format of all methods that take lat/lon as separate arguments. Now you must pass the coordinates as an array [lat,lon], but you may alternatively pass a address string (will look up coordinates) or a geocoded object (or any object that implements a to_coordinates method which returns a [lat,lon] array).

0.9.11 (2011 Mar 25)

  • Add support for result caching.

  • Add support for Geocoder.ca geocoding service.

  • Add bearing attribute to objects returned by geo-aware queries (thanks github.com/matellis).

  • Add config setting: language.

  • Add config settings: use_https, google_api_key (thanks github.com/svesely).

  • DEPRECATION: Geocoder.search now returns an array instead of a single result.

  • DEPRECATION: obj.nearbys second argument is now an options hash (instead of units). Please change obj.nearbys(20, :km) to: obj.nearbys(20, :units => :km).

0.9.10 (2011 Mar 9)

  • Fix broken scopes (github.com/mikepinde).

  • Fix broken Ruby 1.9 and JRuby compatibility (don’t require json gem).

0.9.9 (2011 Mar 9)

  • Add support for IP address geocoding via FreeGeoIp.net.

  • Add support for Yahoo PlaceFinder geocoding API.

  • Add support for custom geocoder data handling by passing a block to geocoded_by or reverse_geocoded_by.

  • Add Rack::Request#location method for geocoding user’s IP address.

  • Change gem name to geocoder (no more rails-geocoder).

  • Gem now works outside of Rails.

  • DEPRECATION: fetch_coordinates no longer takes an argument.

  • DEPRECATION: fetch_address no longer takes an argument.

  • DEPRECATION: Geocoder.search now returns a single result instead of an array.

  • DEPRECATION: fetch_coordinates! has been superceded by geocode (then save your object manually).

  • DEPRECATION: fetch_address! has been superceded by reverse_geocode (then save your object manually).

  • Fix: don’t die when trying to get coordinates with a nil address (github.com/zmack).

0.9.8 (2011 Feb 8)

  • Include geocode:all Rake task in gem (was missing!).

  • Add Geocoder.search for access to Google’s full response.

  • Add ability to configure Google connection timeout.

  • Emit warnings on Google connection problems and errors.

  • Refactor: insert Geocoder into ActiveRecord via Railtie.

0.9.7 (2011 Feb 1)

  • Add reverse geocoding (reverse_geocoded_by).

  • Prevent exception (uninitialized constant Geocoder::Net) when net/http not already required (github.com/sleepycat).

  • Refactor: split monolithic Geocoder module into several smaller ones.