activerecord-jdbcvertica-adapter 0.2.0 → 0.3.0.pre0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eee2e317677f98ef5c0c32a2852f312da42c5d7
|
4
|
+
data.tar.gz: 72567c36d0c29e47cf9a254c384a4d53e7a94d1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56f38312551a433554d0ccfc9443282976b2e27bf7b48f5cef80d3a3d5b010ab866de82b899c41a108913b2030df28bc4c1f8e2319862db4c5e091834625f005
|
7
|
+
data.tar.gz: af00585fb267d4e9f5b3eb04d15e72171e7c250da194f775a46630956d5ef8214eecad546482ec50ac35cd464147b11cc9f27d92c653b0b955eb9f7b72c6990e
|
@@ -278,6 +278,12 @@ module ::ArJdbc
|
|
278
278
|
"temporary_table_#{::SecureRandom.hex}"
|
279
279
|
end
|
280
280
|
|
281
|
+
def type_to_sql(type, limit = nil, precision = nil, scale = nil) #:nodoc:
|
282
|
+
super unless type.to_sym == :integer
|
283
|
+
|
284
|
+
native_database_types[:integer][:name].dup
|
285
|
+
end
|
286
|
+
|
281
287
|
end
|
282
288
|
end
|
283
289
|
|
@@ -17,7 +17,7 @@ module ActiveRecord
|
|
17
17
|
when 5 #, 'bool', :bool
|
18
18
|
::ActiveRecord::Type::Boolean.new
|
19
19
|
when 6 #, 'integer', :integer
|
20
|
-
::ActiveRecord::Type::
|
20
|
+
::ActiveRecord::Type::BigInteger.new
|
21
21
|
when 7 #, 'float', :float
|
22
22
|
::ActiveRecord::Type::Float.new
|
23
23
|
when 8 #, 'char', :unicode_string
|
@@ -50,7 +50,7 @@ module ActiveRecord
|
|
50
50
|
when /bool/i # :bool
|
51
51
|
::ActiveRecord::Type::Boolean.new
|
52
52
|
when /integer/i # :integer
|
53
|
-
::ActiveRecord::Type::
|
53
|
+
::ActiveRecord::Type::BigInteger.new
|
54
54
|
when /float/i # :float
|
55
55
|
::ActiveRecord::Type::Float.new
|
56
56
|
when /^char/i # :unicode_string
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbcvertica-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0.pre0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Dewitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,12 +143,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
|
-
- - "
|
146
|
+
- - ">"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
148
|
+
version: 1.3.1
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.6.14.1
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: An ActiveRecord adapter JDBC
|