ch_connect 0.3.0 → 0.3.1

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: 2b03e3eeb6a94bc7bbef9469f177e5a1c50cbd186bb9b83fd0782acfe047ef88
4
- data.tar.gz: e7e1ab0e6c1749164c471c8d86ae5fd133fff5609589a5ae112ed579028e3d8c
3
+ metadata.gz: 8625111f390ba7adf290bf889a5684c34003d1f318f421c62939ae13a310f569
4
+ data.tar.gz: 512cc470c691018ac249647c3dc46918490705392667bee72ebb5f49bb604b44
5
5
  SHA512:
6
- metadata.gz: 0cad454a3045989417a620d0bb23d9de4b38d22c6991efa01cb6a29ebb25b8530380b914b36f1c8c2b3eb4c565d48ff2969ddbff8da3fe1156d92da6951ef484
7
- data.tar.gz: cbef85609d1c8a182a4fbf4f41322da86b5f843d6bac8a2539af4e57af01fbed44e11071b675cbf72590fbdd938c3d3a64bfc80e94187cfea4cf7b8ec74ba692
6
+ metadata.gz: 7157352591d8de2ff4f07228e2e57c9df16f0eb8ff4d75e68499bd07d402a082e938bbcaec2975ffba6dfdd697229f5c929925db13cffb643cd3001a275e7010
7
+ data.tar.gz: a5c4988858f866533fb27784af8c2a0f109e2432078d4ec819e644b55a45896d47c5fb07a0dd2225b9f2660e0f6cfe9ce880cad3b95dae59feb003b25d1c0bca
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.3.1] - 2026-08-19
2
+
3
+ - Fixed LZ4 compression negotiation for ClickHouse users configured with `readonly = 1`
4
+
1
5
  ## [0.3.0] - 2026-08-11
2
6
 
3
7
  - Switched from HTTP to ClickHouse's native TCP protocol for faster queries and lower allocations
@@ -237,7 +237,7 @@ module ChConnect
237
237
  def initialize(config = ChConnect.config)
238
238
  @config = config.dup.freeze
239
239
  validate_compression!
240
- @codec_name = @config.compression&.to_s
240
+ @codec_name = @config.compression&.to_s&.upcase
241
241
  @pool = ConnectionPool.new(
242
242
  size: @config.pool_size,
243
243
  timeout: @config.pool_timeout,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChConnect
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ch_connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karol Bąk