diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 9f8b6ca59a94bd052795bdf9e4b13f70c25a7ba8..fb950177057bcd7edc4e9f3ce2d75a442869e5a3 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -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. diff --git a/README.rdoc b/README.rdoc index daa691b8afcf92f22ba8f69c7807ec3e113b794d..f370da55d8c6fe1582d86df63a602b32092366b9 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 diff --git a/VERSION b/VERSION index 7ada0d303f3e7e49c3f18bfa9dcfa73a1895b28b..7fc2521fd745b54057892273fa61ae99ed9fc122 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.5 +0.8.6 diff --git a/rails-geocoder.gemspec b/rails-geocoder.gemspec index e6e40c31dc488f9bd0da3d84a3adb6c042f3f2d0..1a6c70ea782b298343a1da5d0e30a2c5f88228dc 100644 --- a/rails-geocoder.gemspec +++ b/rails-geocoder.gemspec @@ -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"