click_house 1.3.1 → 1.3.2

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
  SHA256:
3
- metadata.gz: 1374424a3c271d0414b1d40088dfa532337f1047606b55bf4f1a4f0c2e22f140
4
- data.tar.gz: 53200789244d3e83c0bd2b9de660db0d82d8f8d9af83dd44a5813d4d5cbbfd39
3
+ metadata.gz: 040e53c977b5a0ef62fd73ef8f8b21915a2ec128d0649e3882dd1779e787ff28
4
+ data.tar.gz: 0c9c46b6c9ce234b497fbb2cbc0834b09fd697ea6a140544465bda93c66d1b9f
5
5
  SHA512:
6
- metadata.gz: 482c77bda957329e1187bd009567eb216547028ad0810ced5a3ee58474ac273cb11e4b271f2107edae78e44bc855cc0c3130b848c028ebc84422a517d3e1bfdf
7
- data.tar.gz: 82bdf1a4f88537652bcc7f0827fa3e89ff609c24e1631bd3f131080295b4b184164975b439244e1cdb15c89fcf294f3f8482032f00b93db83b60c1cb51804403
6
+ metadata.gz: 9b93c038ae5da62bdf3a951120da771c21e0b4ce1cd92ed2e381827dacaad0f97fb9121c488d78fab7d6a58ee5ab79d04aed5fb1195d7bd9575cdfd344ab095b
7
+ data.tar.gz: 52bee84670bfa5c6b8bb8d6566b94f69935b80fc15bc14c1d9223ab3a7be7e7f972c8958b0c28f4836e21ba30b9c8269a1f58375ee87ccf99cbe670df5bd14df
@@ -34,6 +34,8 @@ Performance/Squeeze:
34
34
  Enabled: true
35
35
  Performance/StringInclude:
36
36
  Enabled: true
37
+ Performance/Sum:
38
+ Enabled: true
37
39
 
38
40
  # ============================== Metrics ============================
39
41
  Metrics/ClassLength:
@@ -181,6 +183,16 @@ Style/SingleArgumentDig:
181
183
  Enabled: true
182
184
  Style/StringConcatenation:
183
185
  Enabled: true
186
+ Style/ClassEqualityComparison:
187
+ Enabled: true
188
+ Style/CombinableLoops:
189
+ Enabled: true
190
+ Style/KeywordParametersOrder:
191
+ Enabled: false
192
+ Style/RedundantSelfAssignment:
193
+ Enabled: true
194
+ Style/SoleNestedConditional:
195
+ Enabled: true
184
196
 
185
197
  # ============================== Lint ==============================
186
198
  Lint/DuplicateMethods:
@@ -215,3 +227,23 @@ Lint/TopLevelReturnWithArgument:
215
227
  Enabled: true
216
228
  Lint/UnreachableLoop:
217
229
  Enabled: true
230
+ Layout/BeginEndAlignment:
231
+ Enabled: true
232
+ Lint/ConstantDefinitionInBlock:
233
+ Enabled: true
234
+ Lint/DuplicateRequire:
235
+ Enabled: true
236
+ Lint/EmptyFile:
237
+ Enabled: true
238
+ Lint/HashCompareByIdentity:
239
+ Enabled: true
240
+ Lint/IdentityComparison:
241
+ Enabled: true
242
+ Lint/RedundantSafeNavigation:
243
+ Enabled: true
244
+ Lint/TrailingCommaInAttributeDeclaration:
245
+ Enabled: true
246
+ Lint/UselessMethodDefinition:
247
+ Enabled: true
248
+ Lint/UselessTimes:
249
+ Enabled: true
@@ -1,3 +1,6 @@
1
+ # 1.3.2
2
+ * fix null logger for windows users
3
+
1
4
  # 1.3.1
2
5
  * added request [headers](https://github.com/shlima/click_house/pull/8) support
3
6
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- click_house (1.3.1)
4
+ click_house (1.3.2)
5
5
  faraday
6
6
  faraday_middleware
7
7
 
@@ -11,27 +11,28 @@ GEM
11
11
  ast (2.4.1)
12
12
  coderay (1.1.3)
13
13
  diff-lcs (1.4.4)
14
- faraday (1.0.1)
14
+ faraday (1.1.0)
15
15
  multipart-post (>= 1.2, < 3)
16
+ ruby2_keywords
16
17
  faraday_middleware (1.0.0)
17
18
  faraday (~> 1.0)
18
19
  method_source (1.0.0)
19
20
  multipart-post (2.1.1)
20
21
  parallel (1.19.2)
21
- parser (2.7.1.4)
22
+ parser (2.7.2.0)
22
23
  ast (~> 2.4.1)
23
24
  pry (0.13.1)
24
25
  coderay (~> 1.1)
25
26
  method_source (~> 1.0)
26
27
  rainbow (3.0.0)
27
28
  rake (13.0.1)
28
- regexp_parser (1.7.1)
29
+ regexp_parser (1.8.2)
29
30
  rexml (3.2.4)
30
31
  rspec (3.9.0)
31
32
  rspec-core (~> 3.9.0)
32
33
  rspec-expectations (~> 3.9.0)
33
34
  rspec-mocks (~> 3.9.0)
34
- rspec-core (3.9.2)
35
+ rspec-core (3.9.3)
35
36
  rspec-support (~> 3.9.3)
36
37
  rspec-expectations (3.9.2)
37
38
  diff-lcs (>= 1.2.0, < 2.0)
@@ -40,20 +41,22 @@ GEM
40
41
  diff-lcs (>= 1.2.0, < 2.0)
41
42
  rspec-support (~> 3.9.0)
42
43
  rspec-support (3.9.3)
43
- rubocop (0.89.1)
44
+ rubocop (0.93.1)
44
45
  parallel (~> 1.10)
45
- parser (>= 2.7.1.1)
46
+ parser (>= 2.7.1.5)
46
47
  rainbow (>= 2.2.2, < 4.0)
47
- regexp_parser (>= 1.7)
48
+ regexp_parser (>= 1.8)
48
49
  rexml
49
- rubocop-ast (>= 0.3.0, < 1.0)
50
+ rubocop-ast (>= 0.6.0)
50
51
  ruby-progressbar (~> 1.7)
51
52
  unicode-display_width (>= 1.4.0, < 2.0)
52
- rubocop-ast (0.3.0)
53
- parser (>= 2.7.1.4)
54
- rubocop-performance (1.7.1)
55
- rubocop (>= 0.82.0)
53
+ rubocop-ast (0.8.0)
54
+ parser (>= 2.7.1.5)
55
+ rubocop-performance (1.8.1)
56
+ rubocop (>= 0.87.0)
57
+ rubocop-ast (>= 0.4.0)
56
58
  ruby-progressbar (1.10.1)
59
+ ruby2_keywords (0.0.2)
57
60
  unicode-display_width (1.7.0)
58
61
 
59
62
  PLATFORMS
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Gem Version](https://badge.fury.io/rb/click_house.svg)](https://badge.fury.io/rb/click_house)
8
8
 
9
9
  ```bash
10
- # Requires modern Ruby (>= 2.5), tested with Yandex.Clickhouse v 20.9.2.20
10
+ # Requires modern Ruby (>= 2.5), tested with Yandex.Clickhouse v 20.9.3.45
11
11
  gem install click_house
12
12
  ```
13
13
 
@@ -2,7 +2,7 @@ version: '3.5'
2
2
 
3
3
  services:
4
4
  clickhouse:
5
- image: yandex/clickhouse-server:20.9.2.20
5
+ image: yandex/clickhouse-server:20.9.3.45
6
6
  ports:
7
7
  - "8123:8123"
8
8
  - "9000:9000"
@@ -53,7 +53,7 @@ module ClickHouse
53
53
  end
54
54
 
55
55
  def logger!
56
- @logger || Logger.new('/dev/null')
56
+ @logger || Logger.new(IO::NULL)
57
57
  end
58
58
 
59
59
  def url!
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClickHouse
4
- VERSION = '1.3.1'
4
+ VERSION = '1.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: click_house
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aliaksandr Shylau
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2020-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday