activerecord-mysql2rgeo-adapter 1.0.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f55ea70084ad8be5ca756a592e573db85c455659
|
4
|
+
data.tar.gz: 1f2d32298e3267a50142160bb851cdcd028f385e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8042d89057cdec1fcd4a624edf9831c5acd99f6cbc8d6a414fbf74db465ebbe2ca62f4538e8356408a7a00e4dd8e54fc5a999f3c67dab575f28d7a1ba2fd4f07
|
7
|
+
data.tar.gz: 6860bef798f57bf86005db99d7fe48aa9e124b34c6c694cb727c1924c2bb31b246172ab380385c803ced037945a383b344c0d81a7c3ebc417051c13f5bc37a10
|
@@ -67,7 +67,7 @@ module ActiveRecord
|
|
67
67
|
mysql_index_type = row[:Index_type].downcase.to_sym
|
68
68
|
index_type = INDEX_TYPES.include?(mysql_index_type) ? mysql_index_type : nil
|
69
69
|
index_using = INDEX_USINGS.include?(mysql_index_type) ? mysql_index_type : nil
|
70
|
-
options = [row[:Table], row[:Key_name], row[:Non_unique].to_i == 0, [],
|
70
|
+
options = [row[:Table], row[:Key_name], row[:Non_unique].to_i == 0, [], {}, nil, nil, index_type, index_using, row[:Index_comment].presence]
|
71
71
|
indexes << if mysql_index_type == :spatial
|
72
72
|
options.push(true)
|
73
73
|
Mysql2Rgeo::SpatialIndexDefinition.new(*options)
|
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.1
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|