rgeo-activerecord 0.3.0 → 0.3.1
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.1 / 2011-02-28
|
2
|
+
|
3
|
+
* Fixed a bug that could cause some spatial ActiveRecord adapters to fail to create multiple spatial columns in a migration.
|
4
|
+
|
1
5
|
=== 0.3.0 / 2011-01-26
|
2
6
|
|
3
7
|
* Experimental support for complex spatial queries. (Requires Arel 2.1, which is expected to be released with Rails 3.1.) Currently, only a low-level Arel-based interface is supported.
|
data/Version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
@@ -88,7 +88,7 @@ module ActiveRecord
|
|
88
88
|
# Returns the factory generator or specific factory to use for this
|
89
89
|
# ActiveRecord class and the given column name.
|
90
90
|
# If an explicit factory was set for the given column, returns it.
|
91
|
-
# Otherwise, if a params hash is given, passes that
|
91
|
+
# Otherwise, if a params hash is given, passes that hash to the
|
92
92
|
# rgeo_factory_generator for this class, and returns the resulting
|
93
93
|
# factory. Otherwise, if no params hash is given, just returns the
|
94
94
|
# rgeo_factory_generator for this class.
|
@@ -132,6 +132,7 @@ module ActiveRecord
|
|
132
132
|
alias_method :method_missing_without_rgeo_modification, :method_missing
|
133
133
|
def method_missing(method_name_, *args_, &block_)
|
134
134
|
if @base.respond_to?(:spatial_column_constructor) && (info_ = @base.spatial_column_constructor(method_name_))
|
135
|
+
info_ = info_.dup
|
135
136
|
type_ = (info_.delete(:type) || method_name_).to_s
|
136
137
|
opts_ = args_.extract_options!.merge(info_)
|
137
138
|
args_.each do |name_|
|
@@ -156,6 +157,7 @@ module ActiveRecord
|
|
156
157
|
alias_method :method_missing_without_rgeo_modification, :method_missing
|
157
158
|
def method_missing(method_name_, *args_, &block_)
|
158
159
|
if @base.respond_to?(:spatial_column_constructor) && (info_ = @base.spatial_column_constructor(method_name_))
|
160
|
+
info_ = info_.dup
|
159
161
|
type_ = (info_.delete(:type) || method_name_).to_s
|
160
162
|
opts_ = args_.extract_options!.merge(info_)
|
161
163
|
args_.each do |name_|
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgeo-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 0
|
9
|
-
version: 0.3.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.3.1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Daniel Azuma
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-02-27 00:00:00 -08:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,10 +21,6 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
- 2
|
31
|
-
- 4
|
32
24
|
version: 0.2.4
|
33
25
|
type: :runtime
|
34
26
|
version_requirements: *id001
|
@@ -40,10 +32,6 @@ dependencies:
|
|
40
32
|
requirements:
|
41
33
|
- - ">="
|
42
34
|
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 3
|
45
|
-
- 0
|
46
|
-
- 3
|
47
35
|
version: 3.0.3
|
48
36
|
type: :runtime
|
49
37
|
version_requirements: *id002
|
@@ -55,10 +43,6 @@ dependencies:
|
|
55
43
|
requirements:
|
56
44
|
- - ">="
|
57
45
|
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 2
|
60
|
-
- 0
|
61
|
-
- 6
|
62
46
|
version: 2.0.6
|
63
47
|
type: :runtime
|
64
48
|
version_requirements: *id003
|
@@ -98,23 +82,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
82
|
requirements:
|
99
83
|
- - ">="
|
100
84
|
- !ruby/object:Gem::Version
|
101
|
-
segments:
|
102
|
-
- 1
|
103
|
-
- 8
|
104
|
-
- 7
|
105
85
|
version: 1.8.7
|
106
86
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
87
|
none: false
|
108
88
|
requirements:
|
109
89
|
- - ">="
|
110
90
|
- !ruby/object:Gem::Version
|
111
|
-
segments:
|
112
|
-
- 0
|
113
91
|
version: "0"
|
114
92
|
requirements: []
|
115
93
|
|
116
94
|
rubyforge_project: virtuoso
|
117
|
-
rubygems_version: 1.
|
95
|
+
rubygems_version: 1.5.2
|
118
96
|
signing_key:
|
119
97
|
specification_version: 3
|
120
98
|
summary: An RGeo module providing spatial extensions to ActiveRecord.
|