rgeo-activerecord 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.2 / 2011-02-28
2
+
3
+ * Fixed a bug that sometimes caused spatial column detection to fail, which could result in exceptions or incorrect spatial queries.
4
+
1
5
  === 0.3.1 / 2011-02-28
2
6
 
3
7
  * Fixed a bug that could cause some spatial ActiveRecord adapters to fail to create multiple spatial columns in a migration.
data/README.rdoc CHANGED
@@ -39,7 +39,14 @@ installation information.
39
39
 
40
40
  === To-do list
41
41
 
42
- * Arel extensions for constructing more complex spatial queries.
42
+ This gem has not yet been tested in a large variety of environments, and
43
+ we are still rapidly fixing bugs. We still consider it to be in early
44
+ alpha, but we are working toward an initial production deployment at
45
+ GeoPage.
46
+
47
+ We are also currently working on a mechanism for constructing complex
48
+ spatial queries via extensions to Arel. This work is in the experimental
49
+ stage, and requires the Rails 3.1 / Arel 2.1 head.
43
50
 
44
51
  === Development and support
45
52
 
data/Version CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -81,7 +81,7 @@ module RGeo
81
81
  when ::Arel::Attribute
82
82
  @connection.instance_variable_set(:@_getting_columns, true)
83
83
  begin
84
- col_ = @engine.columns_hash[node_.name.to_s] unless @engine == ::ActiveRecord::Base
84
+ col_ = node_.column
85
85
  col_ && col_.respond_to?(:spatial?) && col_.spatial? ? true : false
86
86
  ensure
87
87
  @connection.instance_variable_set(:@_getting_columns, false)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rgeo-activerecord
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.1
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Azuma
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-27 00:00:00 -08:00
13
+ date: 2011-02-28 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  requirements: []
93
93
 
94
94
  rubyforge_project: virtuoso
95
- rubygems_version: 1.5.2
95
+ rubygems_version: 1.5.3
96
96
  signing_key:
97
97
  specification_version: 3
98
98
  summary: An RGeo module providing spatial extensions to ActiveRecord.