activerecord-postgis-adapter 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.2.1 / 2010-12-15
2
+
3
+ * Provides meta-information to RGeo 0.2.2 or later to support access to PostGIS's spatial reference system table.
4
+
1
5
  === 0.2.0 / 2010-12-07
2
6
 
3
7
  * Initial public alpha release. Spun activerecord-postgis-adapter off from the core rgeo gem.
data/Version CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -115,6 +115,11 @@ module ActiveRecord
115
115
  end
116
116
 
117
117
 
118
+ def srs_database_columns
119
+ {:srtext_column => 'srtext', :proj4text_column => 'proj4text', :auth_name_column => 'auth_name', :auth_srid_column => 'auth_srid'}
120
+ end
121
+
122
+
118
123
  def quote(value_, column_=nil)
119
124
  if ::RGeo::Feature::Geometry.check_type(value_)
120
125
  "'#{::RGeo::WKRep::WKBGenerator.new(:hex_format => true, :type_format => :ewkb, :emit_ewkb_srid => true).generate(value_)}'"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
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: 2010-12-07 00:00:00 -08:00
17
+ date: 2010-12-15 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency