rgeo-ar 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 884d15ce933553a27a4b32bb75f6bb4d05de3528
4
- data.tar.gz: 2a39a44670be789d1413d0bd5f7f14dc2e36a077
3
+ metadata.gz: 1eaa56f75cff845b812e5ebd9ebf3c99a7cc1dfb
4
+ data.tar.gz: 30633bd53fed22ffc58159c98838be6d1feee77e
5
5
  SHA512:
6
- metadata.gz: 78814b6eff0aef502a235350a14d911a8dd5bf134927e3824513f490ded0e74667cf6964a543fdb8723d060e439af7efcdf54a80854891bd055733350b0418f4
7
- data.tar.gz: 7c0ad97aa229444d9050281dc93b1565b1f37da1993b3d75a9d26ba448162a11bc15a5de78555f52ab4ca4b899c96dc7e0ec9c5fe1c9402f8f25e7b37ebdfe7a
6
+ metadata.gz: ed49266beb9306fa7fa84902057a45d3ff6320636aa2899d2f543532611b785b056963450e9a63b6a334487a3e488678c7cd6938307b9faac69c9796e211470b
7
+ data.tar.gz: 021b546ed080c842fd8bab1cd5d7b11b5c8f9c5093f3715d55b207023cbd8b49c1c483edcaba15a7521832d6563e0c8a6b48c492fb0ec8cfe6501699ec976cfc
@@ -8,8 +8,8 @@ of helpers for writing spatial \ActiveRecord adapters based on \RGeo.
8
8
  ==== FORK NOTICE
9
9
 
10
10
  This project is released as the `rgeo-ar` gem. It only works
11
- with ActiveRecord 4.1+. It works with this PostGIS ActiveRecord extension:
12
- https://github.com/neighborland/activerecord-postgis-adapter
11
+ with ActiveRecord 4.0+. It works with this PostGIS ActiveRecord extension:
12
+ https://github.com/ar-postgis/ar-postgis
13
13
 
14
14
 
15
15
  === Summary
@@ -31,14 +31,12 @@ RGeo::ActiveRecord has the following requirements:
31
31
 
32
32
  * Ruby 2.0.0+
33
33
  * rgeo 0.3.20+
34
- * ActiveRecord 4.1.0+
35
- * arel 5.0.0+
34
+ * ActiveRecord 4.0.0+
36
35
 
37
36
  Generally, \ActiveRecord adapters which depend on this module should be
38
37
  installed as gems, and they will install this module automatically as
39
38
  a dependency. However, you can also install it manually as a gem:
40
39
 
41
- gem install rgeo
42
40
  gem install rgeo-ar
43
41
 
44
42
  See the README for the "rgeo" gem, a required dependency, for further
@@ -46,50 +44,19 @@ installation information.
46
44
 
47
45
  === Development and support
48
46
 
49
- Documentation is available at http://dazuma.github.com/rgeo-activerecord/rdoc
47
+ TODO
50
48
 
51
- Original source code is hosted on Github at http://github.com/dazuma/rgeo-activerecord
52
-
53
- Contributions are welcome. Fork the project on Github.
49
+ Original documentation is available at http://dazuma.github.com/rgeo-activerecord/rdoc
54
50
 
55
- Report bugs on Github issues at http://github.org/dazuma/rgeo-activerecord/issues
56
-
57
- Support available on the rgeo-users google group at http://groups.google.com/group/rgeo-users
51
+ Original source code is hosted on Github at http://github.com/dazuma/rgeo-activerecord
58
52
 
59
- Contact the author at dazuma at gmail dot com.
60
53
 
61
54
  === Acknowledgments
62
55
 
63
- \RGeo is written by Daniel Azuma (http://www.daniel-azuma.com).
56
+ \RGeo was originally written by Daniel Azuma (http://www.daniel-azuma.com).
64
57
 
65
- Development is supported by Pirq. (http://pirq.com).
58
+ Development was supported by Pirq. (http://pirq.com).
66
59
 
67
60
  === License
68
61
 
69
- Copyright 2010-2013 Daniel Azuma
70
-
71
- All rights reserved.
72
-
73
- Redistribution and use in source and binary forms, with or without
74
- modification, are permitted provided that the following conditions are met:
75
-
76
- * Redistributions of source code must retain the above copyright notice,
77
- this list of conditions and the following disclaimer.
78
- * Redistributions in binary form must reproduce the above copyright notice,
79
- this list of conditions and the following disclaimer in the documentation
80
- and/or other materials provided with the distribution.
81
- * Neither the name of the copyright holder, nor the names of any other
82
- contributors to this software, may be used to endorse or promote products
83
- derived from this software without specific prior written permission.
84
-
85
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
86
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
87
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
88
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
89
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
90
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
91
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
92
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
93
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
94
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
95
- POSSIBILITY OF SUCH DAMAGE.
62
+ https://github.com/ar-postgis/rgeo-ar/LICENSE.txt
@@ -1,5 +1,5 @@
1
1
  module RGeo
2
2
  module ActiveRecord
3
- VERSION = '0.7.0'.freeze
3
+ VERSION = '0.7.1'.freeze
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'test_helper'
3
3
  module RGeo
4
4
  module ActiveRecord
5
5
  module Tests # :nodoc:
6
- class TestBasic < ::MiniTest::Test # :nodoc:
6
+ class TestBasic < MINITEST_CLASS # :nodoc:
7
7
  class MyTable < ::ActiveRecord::Base
8
8
  end
9
9
 
@@ -2,6 +2,12 @@ require 'minitest/autorun'
2
2
  require 'rgeo/active_record'
3
3
  require 'support/fake_record'
4
4
 
5
+ MINITEST_CLASS = if defined?(::Minitest::Test)
6
+ ::Minitest::Test
7
+ else
8
+ ::Minitest::Unit::TestCase
9
+ end
10
+
5
11
  Arel::Visitors::PostgreSQL.send(:include, ::RGeo::ActiveRecord::SpatialToSql)
6
12
  Arel::Table.engine = Arel::Sql::Engine.new(FakeRecord::Base.new)
7
13
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rgeo-ar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
- - Daniel Azuma
7
+ - Daniel Azuma, Tee Parham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-11 00:00:00.000000000 Z
11
+ date: 2014-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rgeo
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.3.20
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.3.20
27
27
  - !ruby/object:Gem::Dependency
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '4.1'
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '4.1'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '5.3'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '5.3'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -83,7 +83,7 @@ dependencies:
83
83
  description: RGeo is a geospatial data library for Ruby. RGeo::ActiveRecord is an
84
84
  optional RGeo module providing some spatial extensions to ActiveRecord, as well
85
85
  as common tools used by RGeo-based spatial adapters.
86
- email: dazuma@gmail.com
86
+ email: dazuma@gmail.com, parhameter@gmail.com
87
87
  executables: []
88
88
  extensions: []
89
89
  extra_rdoc_files:
@@ -105,7 +105,7 @@ files:
105
105
  - test/support/fake_record.rb
106
106
  - test/tc_basic.rb
107
107
  - test/test_helper.rb
108
- homepage: http://dazuma.github.com/rgeo-activerecord
108
+ homepage: http://github.com/ar-postgis/rgeo-ar
109
109
  licenses: []
110
110
  metadata: {}
111
111
  post_install_message: