clickhouse-activerecord 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41dd800df06e6269f91b1a39d3c9df2e1e903068b5f13913cd2aad863063685f
|
|
4
|
+
data.tar.gz: 50252db6e694467f48669a3c7c52c89e6b1633f08586714db300b8eee59ebbbc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 539e7dfb17998dd1bcc95ee2c15c6111229775ec29837d8f102291bf5da64db2dcf74ef0f01087443c8c1b1d9902cfdf4a586357508d3d8ed97fa099b1545770
|
|
7
|
+
data.tar.gz: f5f8acbf806f9bc8497dcd6aa29c6bfd18b651aae78c28cc0f9449effd4ddce965a1978027d91fa57a998fc1ba0bb0027d33917a3ef35379299185bfde06c784
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
### Version 0.5.3 (Sep 22, 2021)
|
|
2
|
+
|
|
3
|
+
* Fix replica cluster for a new syntax MergeTree
|
|
4
|
+
* Fix support rails 5.2 on alter table
|
|
5
|
+
* Support array type of column
|
|
6
|
+
* Support Rails 6.1.0 [@bdevel](https://github.com/bdevel)
|
|
7
|
+
|
|
1
8
|
### Version 0.4.10 (Mar 10, 2021)
|
|
2
9
|
|
|
3
10
|
* Support ClickHouse 20.9+
|
|
@@ -371,7 +371,7 @@ module ActiveRecord
|
|
|
371
371
|
|
|
372
372
|
def apply_replica(table, options)
|
|
373
373
|
if replica && cluster && options[:options]
|
|
374
|
-
match = options[:options].match(/^(.*?MergeTree)
|
|
374
|
+
match = options[:options].match(/^(.*?MergeTree)(?:\(([^\)]*)\))?(.*?)$/)
|
|
375
375
|
if match
|
|
376
376
|
options[:options] = "Replicated#{match[1]}(#{([replica_path(table), replica].map{|v| "'#{v}'"} + [match[2].presence]).compact.join(', ')})#{match[3]}"
|
|
377
377
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clickhouse-activerecord
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergey Odintsov
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -135,7 +135,7 @@ homepage: https://github.com/pnixx/clickhouse-activerecord
|
|
|
135
135
|
licenses:
|
|
136
136
|
- MIT
|
|
137
137
|
metadata: {}
|
|
138
|
-
post_install_message:
|
|
138
|
+
post_install_message:
|
|
139
139
|
rdoc_options: []
|
|
140
140
|
require_paths:
|
|
141
141
|
- lib
|
|
@@ -150,8 +150,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
151
|
version: '0'
|
|
152
152
|
requirements: []
|
|
153
|
-
rubygems_version: 3.0.
|
|
154
|
-
signing_key:
|
|
153
|
+
rubygems_version: 3.0.3
|
|
154
|
+
signing_key:
|
|
155
155
|
specification_version: 4
|
|
156
156
|
summary: ClickHouse ActiveRecord
|
|
157
157
|
test_files: []
|