rgeo-activerecord 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/README.rdoc +3 -4
- data/Version +1 -1
- data/lib/rgeo/active_record/ar_factory_settings.rb +1 -1
- metadata +42 -46
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -15,8 +15,7 @@ along with a set of geometric analysis operations. See the README for the
|
|
15
15
|
|
16
16
|
RGeo::ActiveRecord is an optional \RGeo add-on module providing spatial
|
17
17
|
extensions for \ActiveRecord, as well as a set of helpers for writing
|
18
|
-
spatial \ActiveRecord adapters based on \RGeo.
|
19
|
-
need to interact directly with this library.
|
18
|
+
spatial \ActiveRecord adapters based on \RGeo.
|
20
19
|
|
21
20
|
=== Installation
|
22
21
|
|
@@ -25,7 +24,7 @@ RGeo::ActiveRecord has the following requirements:
|
|
25
24
|
* Ruby 1.8.7 or later. Ruby 1.9.2 or later preferred.
|
26
25
|
* \RGeo 0.3.2 or later.
|
27
26
|
* \ActiveRecord 3.0.3 or later. Earlier versions will not work.
|
28
|
-
|
27
|
+
Should be compatible with Rails 3.1.
|
29
28
|
* \Arel 2.0.6 or later. Earlier versions will not work.
|
30
29
|
|
31
30
|
Generally, \ActiveRecord adapters which depend on this module should be
|
@@ -47,7 +46,7 @@ deployments.
|
|
47
46
|
|
48
47
|
We are also currently working on a mechanism for constructing complex
|
49
48
|
spatial queries via extensions to Arel. This work is in the experimental
|
50
|
-
stage
|
49
|
+
stage.
|
51
50
|
|
52
51
|
=== Development and support
|
53
52
|
|
data/Version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
@@ -179,7 +179,7 @@ module RGeo
|
|
179
179
|
# factory. Otherwise, if no params hash is given, just returns the
|
180
180
|
# rgeo_factory_generator for this class.
|
181
181
|
|
182
|
-
def rgeo_factory_for_column(
|
182
|
+
def rgeo_factory_for_column(column_name_, params_=nil)
|
183
183
|
rgeo_factory_settings.get_column_factory(table_name, column_name_, params_)
|
184
184
|
end
|
185
185
|
|
metadata
CHANGED
@@ -1,60 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgeo-activerecord
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.1
|
4
5
|
prerelease:
|
5
|
-
version: 0.4.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Daniel Azuma
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-10-26 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
16
15
|
name: rgeo
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &2160521800 !ruby/object:Gem::Requirement
|
19
17
|
none: false
|
20
|
-
requirements:
|
21
|
-
- -
|
22
|
-
- !ruby/object:Gem::Version
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
23
21
|
version: 0.3.2
|
24
22
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
|
-
- !ruby/object:Gem::Dependency
|
27
|
-
name: activerecord
|
28
23
|
prerelease: false
|
29
|
-
|
24
|
+
version_requirements: *2160521800
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activerecord
|
27
|
+
requirement: &2160521000 !ruby/object:Gem::Requirement
|
30
28
|
none: false
|
31
|
-
requirements:
|
32
|
-
- -
|
33
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
34
32
|
version: 3.0.3
|
35
33
|
type: :runtime
|
36
|
-
version_requirements: *id002
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: arel
|
39
34
|
prerelease: false
|
40
|
-
|
35
|
+
version_requirements: *2160521000
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: arel
|
38
|
+
requirement: &2160520440 !ruby/object:Gem::Requirement
|
41
39
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
45
43
|
version: 2.0.6
|
46
44
|
type: :runtime
|
47
|
-
|
48
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2160520440
|
47
|
+
description: RGeo is a geospatial data library for Ruby. RGeo::ActiveRecord is an
|
48
|
+
optional RGeo module providing some spatial extensions to ActiveRecord, as well
|
49
|
+
as common tools used by RGeo-based spatial adapters.
|
49
50
|
email: dazuma@gmail.com
|
50
51
|
executables: []
|
51
|
-
|
52
52
|
extensions: []
|
53
|
-
|
54
|
-
extra_rdoc_files:
|
53
|
+
extra_rdoc_files:
|
55
54
|
- History.rdoc
|
56
55
|
- README.rdoc
|
57
|
-
files:
|
56
|
+
files:
|
58
57
|
- lib/rgeo/active_record/adapter_test_helper.rb
|
59
58
|
- lib/rgeo/active_record/ar_factory_settings.rb
|
60
59
|
- lib/rgeo/active_record/arel_spatial_queries.rb
|
@@ -70,30 +69,27 @@ files:
|
|
70
69
|
- Version
|
71
70
|
homepage: http://virtuoso.rubyforge.org/rgeo-activerecord
|
72
71
|
licenses: []
|
73
|
-
|
74
72
|
post_install_message:
|
75
73
|
rdoc_options: []
|
76
|
-
|
77
|
-
require_paths:
|
74
|
+
require_paths:
|
78
75
|
- lib
|
79
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
80
77
|
none: false
|
81
|
-
requirements:
|
82
|
-
- -
|
83
|
-
- !ruby/object:Gem::Version
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
84
81
|
version: 1.8.7
|
85
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
83
|
none: false
|
87
|
-
requirements:
|
88
|
-
- -
|
89
|
-
- !ruby/object:Gem::Version
|
84
|
+
requirements:
|
85
|
+
- - ! '>'
|
86
|
+
- !ruby/object:Gem::Version
|
90
87
|
version: 1.3.1
|
91
88
|
requirements: []
|
92
|
-
|
93
89
|
rubyforge_project: virtuoso
|
94
90
|
rubygems_version: 1.8.7
|
95
91
|
signing_key:
|
96
92
|
specification_version: 3
|
97
93
|
summary: An RGeo module providing spatial extensions to ActiveRecord.
|
98
|
-
test_files:
|
94
|
+
test_files:
|
99
95
|
- test/tc_basic.rb
|