From fdfb29b38d46f8042034cd70b91fa4e07f965aa0 Mon Sep 17 00:00:00 2001
From: alexreisner <alex@alexreisner.com>
Date: Thu, 11 Feb 2010 23:12:53 -0500
Subject: [PATCH] Prepare for 0.8.9 gem release.

Update changelog, bump version, and change gem home page from
code.alexreisner.com to github.com.
---
 CHANGELOG.rdoc         | 5 +++++
 Rakefile               | 2 +-
 VERSION                | 2 +-
 rails-geocoder.gemspec | 8 ++++----
 4 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc
index db678683..5086b463 100644
--- a/CHANGELOG.rdoc
+++ b/CHANGELOG.rdoc
@@ -2,6 +2,11 @@
 
 Per-release changes to Geocoder.
 
+== 0.8.9 (2010 Feb 11)
+
+* Add Rails 3 compatibility.
+* Avoid querying Google when query would be an empty string.
+
 == 0.8.8 (2009 Dec 7)
 
 * Automatically select a less accurate but compatible distance algorithm when SQLite database detected (fixes SQLite incompatibility).
diff --git a/Rakefile b/Rakefile
index 7a4ca3ac..50643863 100644
--- a/Rakefile
+++ b/Rakefile
@@ -8,7 +8,7 @@ begin
     gem.summary     = %Q{Add geocoding functionality to Rails models.}
     gem.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.}
     gem.email       = "alex@alexreisner.com"
-    gem.homepage    = "http://code.alexreisner.com/code/geocoder.html"
+    gem.homepage    = "http://github.com/alexreisner/geocoder"
     gem.authors     = ["Alex Reisner"]
     # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
   end
diff --git a/VERSION b/VERSION
index 6201b5f7..55485e17 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.8.8
+0.8.9
diff --git a/rails-geocoder.gemspec b/rails-geocoder.gemspec
index e7a8a0ae..28b59bbd 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.8"
+  s.version = "0.8.9"
 
   s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
   s.authors = ["Alex Reisner"]
-  s.date = %q{2009-12-07}
+  s.date = %q{2010-02-11}
   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 = [
@@ -26,13 +26,13 @@ Gem::Specification.new do |s|
      "VERSION",
      "init.rb",
      "lib/geocoder.rb",
+     "lib/tasks/geocoder_tasks.rake",
      "rails-geocoder.gemspec",
-     "tasks/geocoder_tasks.rake",
      "test/fixtures/madison_square_garden.xml",
      "test/geocoder_test.rb",
      "test/test_helper.rb"
   ]
-  s.homepage = %q{http://code.alexreisner.com/code/geocoder.html}
+  s.homepage = %q{http://github.com/alexreisner/geocoder}
   s.rdoc_options = ["--charset=UTF-8"]
   s.require_paths = ["lib"]
   s.rubygems_version = %q{1.3.5}
-- 
GitLab