Skip to content
Snippets Groups Projects
Commit 8aaa2ec3 authored by Alex Reisner's avatar Alex Reisner
Browse files

Update changelog and bump gem version to 0.8.6.

parent a87e328b
No related branches found
Tags 0.9.2
No related merge requests found
......@@ -2,6 +2,11 @@
Per-release changes to Geocoder.
== 0.8.6 (2009 Oct 27)
* The fetch_coordinates method now assigns coordinates to attributes (behaves like fetch_coordinates! used to) and fetch_coordinates! both assigns and saves the attributes.
* Added geocode:all rake task.
== 0.8.5 (2009 Oct 26)
* Avoid calling deprecated method from within Geocoder itself.
......
......@@ -22,21 +22,21 @@ or as a gem:
== 2. Configure
A. Get a Google Maps API key (see http://code.google.com/apis/maps/signup.html) and store it in a constant:
A) Get a Google Maps API key (see http://code.google.com/apis/maps/signup.html) and store it in a constant:
# eg, in config/initializers/google_maps.rb
GOOGLE_MAPS_API_KEY = "..."
B. Add +latitude+ and +longitude+ columns to your model:
B) Add +latitude+ and +longitude+ columns to your model:
script/generate migration AddLatitudeAndLongitudeToYourModel latitude:float longitude:float
rake db:migrate
C. Tell geocoder where your model stores its address:
C) Tell geocoder where your model stores its address:
geocoded_by :address
D. Optionally, auto-fetch coordinates every time your model is saved:
D) Optionally, auto-fetch coordinates every time your model is saved:
after_validation :fetch_coordinates
......
0.8.5
0.8.6
......@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{rails-geocoder}
s.version = "0.8.5"
s.version = "0.8.6"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Alex Reisner"]
s.date = %q{2009-10-26}
s.date = %q{2009-10-27}
s.description = %q{Geocoder adds object geocoding and database-agnostic distance calculations to Ruby on Rails. It does not rely on proprietary database functions so finding geocoded objects in a given area is easily done using out-of-the-box MySQL or even SQLite.}
s.email = %q{alex@alexreisner.com}
s.extra_rdoc_files = [
......@@ -27,6 +27,7 @@ Gem::Specification.new do |s|
"init.rb",
"lib/geocoder.rb",
"rails-geocoder.gemspec",
"tasks/geocoder_tasks.rake",
"test/fixtures/madison_square_garden.xml",
"test/geocoder_test.rb",
"test/test_helper.rb"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment