activerecord-mysql2rgeo-adapter 1.0.1 → 1.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf8862e5aa9cc0a6ad9358eb11ef336c6d6121d
|
4
|
+
data.tar.gz: b0d45b2ce970040c8f7a4c86bf62a74f9e7867b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2008b6ddec86dd4bdf2677d692a34fed1c34036892cdb049692b394cced198abbf053e51d9e5a9befa2a73580e8f926e61d96192508c9e925e75a44ef57f5b5
|
7
|
+
data.tar.gz: 7f9479cded7e02999a7d52a3719e8b0280f674b7da7dd6b561d507fddf0841f2bfa612d9af2830e6e9c521b64c2064aadeff023f00424f2d334170440a3aeafd
|
@@ -29,8 +29,8 @@ module Arel # :nodoc:
|
|
29
29
|
if len == 0
|
30
30
|
if !o.projections.first.nil? && o.projections.first.respond_to?(:relation)
|
31
31
|
projections = []
|
32
|
-
|
33
|
-
projections << o.projections.first.relation[x.to_sym]
|
32
|
+
@connection.columns(o.projections.first.relation.name).each do |x|
|
33
|
+
projections << o.projections.first.relation[x.name.to_sym]
|
34
34
|
end
|
35
35
|
o.projections = projections
|
36
36
|
end
|
@@ -10,6 +10,7 @@ require "active_record/connection_adapters/mysql2rgeo/column_methods"
|
|
10
10
|
require "active_record/connection_adapters/mysql2rgeo/schema_statements"
|
11
11
|
require "active_record/connection_adapters/mysql2rgeo/spatial_table_definition"
|
12
12
|
require "active_record/connection_adapters/mysql2rgeo/spatial_column"
|
13
|
+
require "arel/visitors/bind_visitor"
|
13
14
|
require "active_record/connection_adapters/mysql2rgeo/arel_tosql"
|
14
15
|
require "active_record/type/spatial"
|
15
16
|
require "active_record/connection_adapters/mysql2rgeo/create_connection"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-mysql2rgeo-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yongdae Hwang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|