Skip to content

Commit

Permalink
Update changelog and bump gem version to 0.8.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreisner committed Oct 27, 2009
1 parent a87e328 commit 8aaa2ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.5
0.8.6
5 changes: 3 additions & 2 deletions rails-geocoder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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{[email protected]}
s.extra_rdoc_files = [
Expand All @@ -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"
Expand Down

0 comments on commit 8aaa2ec

Please sign in to comment.