spatial_adapter 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +178 -0
- data/VERSION +1 -0
- data/lib/spatial_adapter.rb +26 -0
- data/lib/spatial_adapter/adapters/mysql.rb +101 -0
- data/lib/spatial_adapter/adapters/postgis.rb +302 -0
- data/lib/spatial_adapter/raw_geom_info.rb +23 -0
- data/lib/spatial_adapter/schema_definitions.rb +11 -0
- data/lib/spatial_adapter/schema_dumper.rb +135 -0
- data/lib/spatial_adapter/spatial_column.rb +68 -0
- data/lib/spatial_adapter/table_definition.rb +14 -0
- data/rails/init.rb +1 -0
- data/spec/README.txt +16 -0
- data/spec/db/mysql_raw.rb +69 -0
- data/spec/db/postgis_raw.rb +95 -0
- data/spec/models/common.rb +32 -0
- data/spec/mysql/connection_adapter_spec.rb +93 -0
- data/spec/mysql/migration_spec.rb +63 -0
- data/spec/mysql/models_spec.rb +103 -0
- data/spec/mysql/schema_dumper_spec.rb +55 -0
- data/spec/postgis/connection_adapter_spec.rb +152 -0
- data/spec/postgis/migration_spec.rb +218 -0
- data/spec/postgis/models_spec.rb +136 -0
- data/spec/postgis/schema_dumper_spec.rb +58 -0
- data/spec/spec_helper.rb +73 -0
- metadata +97 -0
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spatial_adapter
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Pete Deffendol
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2010-02-18 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activerecord
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.2.2
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: GeoRuby
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.0
|
34
|
+
version:
|
35
|
+
description: Provides enhancements to ActiveRecord to handle spatial datatypes in PostgreSQL and MySQL.
|
36
|
+
email: pete@fragility.us
|
37
|
+
executables: []
|
38
|
+
|
39
|
+
extensions: []
|
40
|
+
|
41
|
+
extra_rdoc_files:
|
42
|
+
- README.rdoc
|
43
|
+
files:
|
44
|
+
- MIT-LICENSE
|
45
|
+
- README.rdoc
|
46
|
+
- VERSION
|
47
|
+
- lib/spatial_adapter.rb
|
48
|
+
- lib/spatial_adapter/adapters/mysql.rb
|
49
|
+
- lib/spatial_adapter/adapters/postgis.rb
|
50
|
+
- lib/spatial_adapter/raw_geom_info.rb
|
51
|
+
- lib/spatial_adapter/schema_definitions.rb
|
52
|
+
- lib/spatial_adapter/schema_dumper.rb
|
53
|
+
- lib/spatial_adapter/spatial_column.rb
|
54
|
+
- lib/spatial_adapter/table_definition.rb
|
55
|
+
- rails/init.rb
|
56
|
+
has_rdoc: true
|
57
|
+
homepage: http://github.com/fragility/spatial_adapter
|
58
|
+
licenses: []
|
59
|
+
|
60
|
+
post_install_message:
|
61
|
+
rdoc_options:
|
62
|
+
- --charset=UTF-8
|
63
|
+
require_paths:
|
64
|
+
- lib
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: "0"
|
70
|
+
version:
|
71
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: "0"
|
76
|
+
version:
|
77
|
+
requirements: []
|
78
|
+
|
79
|
+
rubyforge_project:
|
80
|
+
rubygems_version: 1.3.5
|
81
|
+
signing_key:
|
82
|
+
specification_version: 3
|
83
|
+
summary: Spatial Adapter for ActiveRecord
|
84
|
+
test_files:
|
85
|
+
- spec/db/mysql_raw.rb
|
86
|
+
- spec/db/postgis_raw.rb
|
87
|
+
- spec/models/common.rb
|
88
|
+
- spec/mysql/connection_adapter_spec.rb
|
89
|
+
- spec/mysql/migration_spec.rb
|
90
|
+
- spec/mysql/models_spec.rb
|
91
|
+
- spec/mysql/schema_dumper_spec.rb
|
92
|
+
- spec/postgis/connection_adapter_spec.rb
|
93
|
+
- spec/postgis/migration_spec.rb
|
94
|
+
- spec/postgis/models_spec.rb
|
95
|
+
- spec/postgis/schema_dumper_spec.rb
|
96
|
+
- spec/spec_helper.rb
|
97
|
+
- spec/README.txt
|