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: 1d0b0c732c20c79a3c0b43cfb579062910095e02
4
- data.tar.gz: b177970830c534be704dffd1947226dd60fda3b8
3
+ metadata.gz: f55ea70084ad8be5ca756a592e573db85c455659
4
+ data.tar.gz: 1f2d32298e3267a50142160bb851cdcd028f385e
5
5
  SHA512:
6
- metadata.gz: 80a6789fabf449fd1492e68736235fa28f9c83b307cf126f4473cec5deea2b7390ef73c0e7652a534045f84370917be06ba2eb8cb245e2d149bd87da8c26630e
7
- data.tar.gz: 2ae5516787390b36e96c79d9312c1b91f94be7d8d4adfa0d2241d8f879ffdee1ae0ed5f09da8bae8985d43b32cf28851d80c693d938f87421420c5965d4b0593
6
+ metadata.gz: 8042d89057cdec1fcd4a624edf9831c5acd99f6cbc8d6a414fbf74db465ebbe2ca62f4538e8356408a7a00e4dd8e54fc5a999f3c67dab575f28d7a1ba2fd4f07
7
+ data.tar.gz: 6860bef798f57bf86005db99d7fe48aa9e124b34c6c694cb727c1924c2bb31b246172ab380385c803ced037945a383b344c0d81a7c3ebc417051c13f5bc37a10
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module ConnectionAdapters
3
3
  module Mysql2Rgeo
4
- VERSION = "1.0.0".freeze
4
+ VERSION = "1.0.1".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -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, [], [], nil, nil, index_type, index_using, row[:Index_comment].presence]
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.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-09 00:00:00.000000000 Z
11
+ date: 2017-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord