redshift_cursor 1.1.0 → 1.2.0

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
- SHA1:
3
- metadata.gz: ae0cd5217ad71460f5df5f86b900d7ed65dc53ef
4
- data.tar.gz: d496b6a3fc2c77dfa67264540b7418a62f4ab81a
2
+ SHA256:
3
+ metadata.gz: ff7a24e22cff304d81205993ce36135f51ba1203d155c01bc5034ca117d45e82
4
+ data.tar.gz: aa309120f3b5c89d1fa9003d7714e6daee180abff8816873e6e99ed0fb4e712c
5
5
  SHA512:
6
- metadata.gz: d687adcc333e90fa3c21f74f749596cc34e1fd26e3e1fdcdf5c67fe1784bbec3d65e7bdb99846d2d7ef0dabb363ff6caef233bf1615ad12bb7ae6c873243348f
7
- data.tar.gz: e9ba09864ea7ca324d12e5417d4a3b7b1a541bef5f9abb64ddf35ff6b25881609f6314e969e2ce247bef9d29261aac3b5e7b4be971be56d833de969b23d54f32
6
+ metadata.gz: e5512134766bbf3630aa5e483e6e19726e606282cc662661a074b04fa6531e6c5b7cf8ee41aab60f22f0b6d0947b407c37b89974fbf985880b27cb8ccc79ba7d
7
+ data.tar.gz: 463196fea74a1f902ec4927fdb21bfc41443a4c93e86a97034e961fc48304ebfe313b10a6965b1848713b48fc5213beff6e7ade0ede3e9de108a7d39398fe1da
@@ -1,8 +1,12 @@
1
1
  require 'redshift_cursor/version'
2
- require 'redshift_cursor/active_record/connection_adapters/redshift_type_map'
3
2
 
4
- require 'postgresql_cursor'
3
+ require 'active_support'
5
4
 
6
- require 'active_record'
7
- require 'active_record/connection_adapters/redshift_adapter'
8
- ActiveRecord::ConnectionAdapters::RedshiftAdapter.send(:include, RedshiftCursor::ActiveRecord::ConnectionAdapters::RedshiftTypeMap)
5
+ ActiveSupport.on_load :active_record do
6
+ require 'redshift_cursor/active_record/connection_adapters/redshift_type_map'
7
+
8
+ require 'postgresql_cursor'
9
+
10
+ require 'active_record/connection_adapters/redshift_adapter'
11
+ ActiveRecord::ConnectionAdapters::RedshiftAdapter.send(:include, RedshiftCursor::ActiveRecord::ConnectionAdapters::RedshiftTypeMap)
12
+ end
@@ -1,3 +1,3 @@
1
1
  module RedshiftCursor
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redshift_cursor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiroyuki Inoue
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-19 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -117,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  requirements: []
120
- rubyforge_project:
121
- rubygems_version: 2.6.11
120
+ rubygems_version: 3.0.3
122
121
  signing_key:
123
122
  specification_version: 4
124
123
  summary: Enable cursor to Redshift on ActiveRecord