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 +5 -5
- data/lib/redshift_cursor.rb +9 -5
- data/lib/redshift_cursor/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ff7a24e22cff304d81205993ce36135f51ba1203d155c01bc5034ca117d45e82
|
4
|
+
data.tar.gz: aa309120f3b5c89d1fa9003d7714e6daee180abff8816873e6e99ed0fb4e712c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5512134766bbf3630aa5e483e6e19726e606282cc662661a074b04fa6531e6c5b7cf8ee41aab60f22f0b6d0947b407c37b89974fbf985880b27cb8ccc79ba7d
|
7
|
+
data.tar.gz: 463196fea74a1f902ec4927fdb21bfc41443a4c93e86a97034e961fc48304ebfe313b10a6965b1848713b48fc5213beff6e7ade0ede3e9de108a7d39398fe1da
|
data/lib/redshift_cursor.rb
CHANGED
@@ -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 '
|
3
|
+
require 'active_support'
|
5
4
|
|
6
|
-
|
7
|
-
require 'active_record/connection_adapters/
|
8
|
-
|
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
|
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.
|
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:
|
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
|
-
|
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
|