activerecord-mysql2spatial-adapter 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ === 0.4.3 / 2012-08-02
2
+
3
+ * The gemspec no longer includes the timestamp in the version, so that bundler can pull from github. (Reported by corneverbruggen)
4
+ * Fix for compatibility with ActiveRecord >= 3.2.2. (Pull request by janv)
5
+
1
6
  === 0.4.2 / 2012-02-22
2
7
 
3
8
  * Some compatibility fixes for Rails 3.2. (Reported by Nicholas Zaillian and Ryan Williams with implementation help from Radek Paviensky.)
@@ -103,8 +103,8 @@ This adapter has the following requirements:
103
103
  * \ActiveRecord 3.0.3 or later. Earlier versions will not work.
104
104
  Should be compatible with Rails versions through 3.2.x.
105
105
  * mysql2 gem 0.2.13 or later.
106
- * rgeo gem 0.3.4 or later.
107
- * rgeo-activerecord gem 0.4.3 or later.
106
+ * rgeo gem 0.3.15 or later.
107
+ * rgeo-activerecord gem 0.4.5 or later.
108
108
 
109
109
  Install this adapter as a gem:
110
110
 
@@ -149,7 +149,7 @@ Rails as of Rails 3.0.3, so we hope it will get rectified at some point.
149
149
 
150
150
  === Development and support
151
151
 
152
- Documentation is available at http://virtuoso.rubyforge.org/activerecord-mysql2spatial-adapter/README_rdoc.html
152
+ Documentation is available at http://dazuma.github.com/activerecord-mysql2spatial-adapter/rdoc
153
153
 
154
154
  Source code is hosted on Github at http://github.com/dazuma/activerecord-mysql2spatial-adapter
155
155
 
@@ -175,7 +175,7 @@ source gave us a head start on the implementation.
175
175
 
176
176
  === License
177
177
 
178
- Copyright 2010-2011 Daniel Azuma
178
+ Copyright 2010-2012 Daniel Azuma
179
179
 
180
180
  All rights reserved.
181
181
 
data/Version CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
@@ -41,6 +41,10 @@ module Arel
41
41
 
42
42
  class MySQL2Spatial < MySQL
43
43
 
44
+ if ::Arel::Visitors.const_defined?(:BindVisitor)
45
+ include ::Arel::Visitors::BindVisitor
46
+ end
47
+
44
48
  FUNC_MAP = {
45
49
  'st_wkttosql' => 'GeomFromText',
46
50
  'st_wkbtosql' => 'GeomFromWKB',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-mysql2spatial-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,27 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-23 00:00:00.000000000 Z
12
+ date: 2012-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rgeo-activerecord
16
- requirement: &2155892300 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.4.3
21
+ version: 0.4.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2155892300
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.4.5
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: mysql2
27
- requirement: &2155891180 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,7 +37,12 @@ dependencies:
32
37
  version: 0.2.13
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *2155891180
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.2.13
36
46
  description: This is an ActiveRecord connection adapter for MySQL Spatial Extensions.
37
47
  It is based on the stock MySQL2 adapter, but provides built-in support for spatial
38
48
  columns. It uses the RGeo library to represent spatial data in Ruby.
@@ -53,7 +63,7 @@ files:
53
63
  - History.rdoc
54
64
  - README.rdoc
55
65
  - Version
56
- homepage: http://virtuoso.rubyforge.org/activerecord-mysql2spatial-adapter
66
+ homepage: http://dazuma.github.com/activerecord-mysql2spatial-adapter
57
67
  licenses: []
58
68
  post_install_message:
59
69
  rdoc_options: []
@@ -73,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
83
  version: 1.3.1
74
84
  requirements: []
75
85
  rubyforge_project: virtuoso
76
- rubygems_version: 1.8.17
86
+ rubygems_version: 1.8.24
77
87
  signing_key:
78
88
  specification_version: 3
79
89
  summary: An ActiveRecord adapter for MySQL Spatial Extensions, based on RGeo and the