activerecord-postgis-adapter 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.6.1 / 2013-02-28
2
+
3
+ * Fixed some gem loading issues.
4
+
1
5
  === 0.6.0 / 2013-02-28
2
6
 
3
7
  * Experimental support for the recently released Rails 4.0 beta.
data/Version CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
@@ -88,7 +88,7 @@ end
88
88
  ::ActiveRecord::ConnectionAdapters::PostGISAdapter.initial_setup
89
89
 
90
90
  if defined?(::Rails::Railtie)
91
- load 'active_record/connection_adapters/postgis_adapter/shared/railtie'
91
+ load ::File.expand_path('postgis_adapter/shared/railtie.rb', ::File.dirname(__FILE__))
92
92
  end
93
93
 
94
94
  # :startdoc:
@@ -36,4 +36,4 @@
36
36
 
37
37
  require 'rails/railtie'
38
38
  require 'active_record/connection_adapters/postgis_adapter'
39
- load 'active_record/connection_adapters/postgis_adapter/shared/railtie'
39
+ load ::File.expand_path('shared/railtie.rb', ::File.dirname(__FILE__))
@@ -0,0 +1,37 @@
1
+ # -----------------------------------------------------------------------------
2
+ #
3
+ # PostGIS adapter for ActiveRecord
4
+ #
5
+ # -----------------------------------------------------------------------------
6
+ # Copyright 2010-2012 Daniel Azuma
7
+ #
8
+ # All rights reserved.
9
+ #
10
+ # Redistribution and use in source and binary forms, with or without
11
+ # modification, are permitted provided that the following conditions are met:
12
+ #
13
+ # * Redistributions of source code must retain the above copyright notice,
14
+ # this list of conditions and the following disclaimer.
15
+ # * Redistributions in binary form must reproduce the above copyright notice,
16
+ # this list of conditions and the following disclaimer in the documentation
17
+ # and/or other materials provided with the distribution.
18
+ # * Neither the name of the copyright holder, nor the names of any other
19
+ # contributors to this software, may be used to endorse or promote products
20
+ # derived from this software without specific prior written permission.
21
+ #
22
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25
+ # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
26
+ # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27
+ # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28
+ # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29
+ # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30
+ # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32
+ # POSSIBILITY OF SUCH DAMAGE.
33
+ # -----------------------------------------------------------------------------
34
+ ;
35
+
36
+
37
+ require 'active_record/connection_adapters/postgis_adapter.rb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-postgis-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -102,6 +102,7 @@ files:
102
102
  - lib/active_record/connection_adapters/postgis_adapter/shared/setup.rb
103
103
  - lib/active_record/connection_adapters/postgis_adapter/shared/version.rb
104
104
  - lib/active_record/connection_adapters/postgis_adapter.rb
105
+ - lib/activerecord/postgis/adapter.rb
105
106
  - lib/activerecord-postgis-adapter.rb
106
107
  - lib/rgeo/active_record/postgis_adapter/railtie.rb
107
108
  - lib/active_record/connection_adapters/postgis_adapter/rails3/databases.rake