Commit a416144c418ad4ac86d4fc9670348b2fa4264f4b

Authored by Andrew Kane
1 parent 8ee45fb1

Version bump

CHANGELOG.md
  1 +## 0.3.0
  2 +
  3 +- Fixed reversed coordinates
  4 +- Added bounded by a box queries
  5 +- Expanded `or` queries
  6 +
1 7 ## 0.2.8
2 8  
3 9 - Added option to disable callbacks
... ...
README.md
... ... @@ -353,6 +353,8 @@ product.similar(fields: ["name"])
353 353  
354 354 ### Geospatial Searches
355 355  
  356 +**Note:** Before `0.3.0`, locations were indexed incorrectly. When upgrading, be sure to reindex immediately.
  357 +
356 358 ```ruby
357 359 class City < ActiveRecord::Base
358 360 searchkick locations: ["location"]
... ... @@ -369,7 +371,7 @@ Reindex and search with:
369 371 City.search "san", where: {location: {near: [37, -114], within: "100mi"}} # or 160km
370 372 ```
371 373  
372   -Bounded by a box [master]
  374 +Bounded by a box
373 375  
374 376 ```ruby
375 377 City.search "san", where: {location: {top_left: [38, -123], bottom_right: [37, -122]}}
... ...
lib/searchkick/version.rb
1 1 module Searchkick
2   - VERSION = "0.2.8"
  2 + VERSION = "0.3.0"
3 3 end
... ...