kono_utils 0.15.15 → 0.15.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/mysql.rb +2 -2
- data/lib/kono_utils/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bf793104fdf0b68cd4338a273cb8db30190d5e9
|
4
|
+
data.tar.gz: 7908dfe89c232c9220db343380de40b23da0ddba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98bc125c6c448115e5443e8ffc85af6af6ae626b9aa8f88af7ea1a54bf4c4bdc598908224d3998e0a23e70e99b859d3c52f6630ee5606958100c314c4c6eefc8
|
7
|
+
data.tar.gz: 181f226160a7cb998c307561b3d0fa205423ecf5aaa112bcbe979955216b407cfac62e27c3612690e49ad2a6f4d4a6b2324d8cd1f9c03af215842d9ab60aa9e9
|
@@ -4,10 +4,10 @@
|
|
4
4
|
if defined?(ActiveRecord)
|
5
5
|
module ActiveRecord::ConnectionAdapters
|
6
6
|
if defined?(Mysql2Adapter)
|
7
|
-
if ActiveRecord::Base.
|
7
|
+
if ActiveRecord::Base.connection_config[:adapter].downcase == Mysql2Adapter::ADAPTER_NAME.downcase
|
8
8
|
version = Gem::Version.new(Mysql2::Client.info.fetch(:version))
|
9
9
|
min_vresion = Gem::Version.new('5.6.4')
|
10
|
-
if version>=min_vresion
|
10
|
+
if version >= min_vresion
|
11
11
|
AbstractMysqlAdapter::NATIVE_DATABASE_TYPES[:datetime][:limit] = 6
|
12
12
|
end
|
13
13
|
end
|
data/lib/kono_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kono_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marino
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -375,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
375
375
|
version: '0'
|
376
376
|
requirements: []
|
377
377
|
rubyforge_project:
|
378
|
-
rubygems_version: 2.
|
378
|
+
rubygems_version: 2.6.14
|
379
379
|
signing_key:
|
380
380
|
specification_version: 4
|
381
381
|
summary: Kono Utilities
|