clickhouse-native 0.1.2-x86_64-linux-gnu → 0.1.3-x86_64-linux-gnu

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: d0b297fd8cb705be39f7cf7328a8acd492eea1efb177f736f27ad595b8997421
4
- data.tar.gz: 96e75e5378ddeda09b99971d3f098a50b9ad509027868975f5705e454e56e087
3
+ metadata.gz: 50dcc655b9c965c3134138dc5b42da579122b89e6c7048a6d8f716e31eeb248b
4
+ data.tar.gz: 5cae96ac49cc8895057aa38222ce6622aaef611c1fb1dfda5808afcc3cea29d9
5
5
  SHA512:
6
- metadata.gz: 2fe2ce613b260d44c17011ccf0b90e00d2aa3a1b22c3d42ae2f44297285ec5d9a7d520602d855c20087d9cec52622815b71e6833bdcc82925ff0708441fd9b5d
7
- data.tar.gz: 07d22e321f9994069fc175650a67b29cf78c559fa8d84df5ecb0af6d7ef82e4f29d08edfab316951959445dc62e4f442a50aa37bf009b3ac3875cb1f8b3171bf
6
+ metadata.gz: d841ed2b483b9a9f0fdfef5fd9cedf99303eb27f56313fdedc3c2460b3c042bcaca812fa76975d2aad7e2a62c820b95fcf6c75bfc2bc07063857f77eaa389c5d
7
+ data.tar.gz: 9f915a91d63b56bcdb3b7f93fe68648f4b73d44547add6b3da8c4f9099d57640f9f02865be7a58a6a0f0b689efea30f58533fa4c9091b4353cf960a048bcb8cd
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClickhouseNative
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -4,7 +4,18 @@ require "time"
4
4
  require "bigdecimal"
5
5
  require "clickhouse_native/version"
6
6
  require "clickhouse_native/errors"
7
- require "clickhouse_native/clickhouse_native"
7
+
8
+ # Precompiled gems ship the native extension under a Ruby-ABI subdir
9
+ # (e.g. lib/clickhouse_native/4.0/clickhouse_native.bundle). Source gems
10
+ # build into lib/clickhouse_native/clickhouse_native.{bundle,so}. Try the
11
+ # ABI-matched path first; fall back to the flat path.
12
+ begin
13
+ RUBY_VERSION =~ /(\d+\.\d+)/
14
+ require "clickhouse_native/#{Regexp.last_match(1)}/clickhouse_native"
15
+ rescue LoadError
16
+ require "clickhouse_native/clickhouse_native"
17
+ end
18
+
8
19
  require "clickhouse_native/client"
9
20
  require "clickhouse_native/logging"
10
21
  require "clickhouse_native/pool"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clickhouse-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - Yuri Smirnov