From 8aaa2ec38f7a07dde2fde5bd001e8f676f2c0d50 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Tue, 27 Oct 2009 17:57:52 -0400 Subject: [PATCH] Update changelog and bump gem version to 0.8.6. --- CHANGELOG.rdoc | 5 +++++ README.rdoc | 8 ++++---- VERSION | 2 +- rails-geocoder.gemspec | 5 +++-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 9f8b6ca5..fb950177 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 daa691b8..f370da55 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 7ada0d30..7fc2521f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.8.5 +0.8.6 diff --git a/rails-geocoder.gemspec b/rails-geocoder.gemspec index e6e40c31..1a6c70ea 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" -- GitLab