clickhouse-activerecord 0.2.0 → 0.2.1
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: 69f9c33fc05b5f546d5dee119568fb0cf7526f5a
|
4
|
+
data.tar.gz: 16ed8eba8a672c1b19e014dbd9b07e4e7d0dc0c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15cf1658014e69203b6e23065b3397d735e3d940038c916e52de58e44955a0957476dd774d00c2a04f48898e56ba2039331f418bb4fc9a71c4924bed74c16e44
|
7
|
+
data.tar.gz: d878045baff7b0ee29fe805e886d87f61fb88e1bf693bb80a788d608ab061a588afe075d96d11e72392ea6a2ef7cc4131d5c432966233b2310c31efade4453ef
|
@@ -102,6 +102,10 @@ module ActiveRecord
|
|
102
102
|
case sql_type
|
103
103
|
when 'Nullable(String)'
|
104
104
|
255
|
105
|
+
when /Nullable\(U?Int(8|16)\)/
|
106
|
+
4
|
107
|
+
when /Nullable\(U?Int(32|64)\)/
|
108
|
+
8
|
105
109
|
else
|
106
110
|
super
|
107
111
|
end
|
@@ -114,11 +118,11 @@ module ActiveRecord
|
|
114
118
|
register_class_with_limit m, 'Uint8', Type::UnsignedInteger
|
115
119
|
register_class_with_limit m, 'Date', Clickhouse::OID::Date
|
116
120
|
register_class_with_limit m, 'DateTime', Clickhouse::OID::DateTime
|
117
|
-
m.alias_type 'UInt16', '
|
121
|
+
m.alias_type 'UInt16', 'uint4'
|
118
122
|
m.alias_type 'UInt32', 'uint8'
|
119
123
|
m.register_type 'UInt64', Clickhouse::OID::BigInteger.new
|
120
|
-
m.alias_type 'Int8', '
|
121
|
-
m.alias_type 'Int16', '
|
124
|
+
m.alias_type 'Int8', 'int4'
|
125
|
+
m.alias_type 'Int16', 'int4'
|
122
126
|
m.alias_type 'Int32', 'int8'
|
123
127
|
m.alias_type 'Int64', 'UInt64'
|
124
128
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clickhouse-activerecord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Odintsov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.13.4
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.13.4
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '5.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.15'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.15'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '10.0'
|
69
69
|
description: ActiveRecord adapter for ClickHouse
|
@@ -73,7 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
-
- .gitignore
|
76
|
+
- ".gitignore"
|
77
77
|
- CODE_OF_CONDUCT.md
|
78
78
|
- Gemfile
|
79
79
|
- LICENSE.txt
|
@@ -99,18 +99,19 @@ require_paths:
|
|
99
99
|
- lib
|
100
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- -
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.12
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: ClickHouse ActiveRecord
|
116
116
|
test_files: []
|
117
|
+
has_rdoc:
|