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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff064113668b46f7504e1651bdb503ae8f909314
4
- data.tar.gz: 361d5bcb1a36aaa98371c414d736e8fc27aa7595
3
+ metadata.gz: 2bf793104fdf0b68cd4338a273cb8db30190d5e9
4
+ data.tar.gz: 7908dfe89c232c9220db343380de40b23da0ddba
5
5
  SHA512:
6
- metadata.gz: d0f05be12fb1dccedcca3ca8fbb9e4889c71d6768d1438eacecc37a4d9a44461fdca88ead73513a7fd35da5749f2f9cb3a946f472f1d6818b5d76f800953f659
7
- data.tar.gz: ef3990575b03a918549b49ad75883b72811acb7f78a720522ef5d08d85986051fe7ee6f20bb8deb8980604782e6f7a85e7f036addaa48a73e12d7cffb936fd61
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.connection.instance_of? Mysql2Adapter
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
@@ -1,3 +1,3 @@
1
1
  module KonoUtils
2
- VERSION = '0.15.15'
2
+ VERSION = '0.15.16'
3
3
  end
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.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: 2018-07-13 00:00:00.000000000 Z
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.4.8
378
+ rubygems_version: 2.6.14
379
379
  signing_key:
380
380
  specification_version: 4
381
381
  summary: Kono Utilities