Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (30 loc) · 2.64 KB

History.rdoc

File metadata and controls

48 lines (30 loc) · 2.64 KB

0.4.2 / 2012-??-??

  • The gemspec no longer includes the timestamp in the version, so that bundler can pull from github. (Reported by corneverbruggen)

0.4.1 / 2012-02-22

  • Some compatibility fixes for Rails 3.2. (Reported by Nicholas Zaillian and Ryan Williams with implementation help from Radek Paviensky.) The mysql gem issue remains, however, and I do not know of a workaround. Use activerecord-mysql2-adapter for now if you need Rails >= 3.1 support.

  • Now requires rgeo-activerecord 0.4.3.

0.4.0 / 2011-08-15

  • Various fixes towards Rails 3.1 compatibility. However, this adapter is not yet actually Rails 3.1 compatible because of a bug in the mysql gem. Use activerecord-mysql2-adapter for now if you need Rails 3.1 support.

  • Now requires rgeo-activerecord 0.4.0.

  • INCOMPATIBLE CHANGE: simple queries (e.g. MyClass.where(:latlon => my_point)) use an objective rather than spatial equality test. Earlier versions transformed this form to use st_equals, but now if you need to test for spatial equality, you’ll need to call st_equals explicitly. I’m still evaluating which direction we want to go with this in the future, but we may be stuck with the current behavior because the hack required to transform these queries to use spatial equality was egregious and broke in Rails 3.1 with no clear workaround.

0.3.3 / 2011-06-21

  • Require latest rgeo-activerecord to get some fixes.

  • Support hex format for attribute setting.

  • No longer raises exceptions if parse fails on attribute setting. (Reported by Daniel Hackney)

0.3.2 / 2011-04-11

  • A .gemspec file is now available for gem building and bundler git integration.

0.3.1 / 2011-02-28

  • Now requires rgeo-activerecord 0.3.1 (which brings a critical fix involving declaring multiple spatial columns in migration).

0.3.0 / 2011-01-26

  • Reworked type and constraint handling, which should result in a large number of bug fixes, especially related to schema dumps.

  • Experimental support for complex spatial queries. (Requires Arel 2.1, which is expected to be released with Rails 3.1.)

  • The path to the Railtie is now different (see the README), though a compatibility wrapper has been left in the old location.

  • Reorganized the code a bit for better clarity.

0.2.1 / 2010-12-27

  • Support for basic spatial equality queries. e.g. constructs such as:

    MyClass.where(:geom_column => factory.point(1, 2))
    MyClass.where(:geom_column => 'POINT(1 2)')
    

0.2.0 / 2010-12-07

  • Initial public alpha release. Spun activerecord-mysqlspatial-adapter off from the core rgeo gem.

  • You can now set the factory for a specific column by name.

For earlier history, see the History file for the rgeo gem.