rgeo-activerecord 0.2.3 → 0.2.4

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.2.4 / 2011-01-13
2
+
3
+ * Fixed a problem that caused a hang during rake db:rollback, as well as probably certain other functions that use ActiveRecord::Base directly rather than a subclass. (Reported by Alexander Graefe.)
4
+
1
5
  === 0.2.3 / 2011-01-07
2
6
 
3
7
  * Updated gem dependencies to include Arel 2.0.6, since some earlier Arel versions weren't working. (Reported by Pirmin Kalberer.)
data/Version CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -69,7 +69,7 @@ module RGeo
69
69
  when ::Arel::Attribute
70
70
  @connection.instance_variable_set(:@_getting_columns, true)
71
71
  begin
72
- col_ = @engine.columns_hash[node_.name.to_s]
72
+ col_ = @engine.columns_hash[node_.name.to_s] unless @engine == ::ActiveRecord::Base
73
73
  col_ && col_.respond_to?(:spatial?) && col_.spatial?
74
74
  ensure
75
75
  @connection.instance_variable_set(:@_getting_columns, false)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 3
9
- version: 0.2.3
8
+ - 4
9
+ version: 0.2.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Azuma
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-07 00:00:00 -08:00
17
+ date: 2011-01-13 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency