mt-libcouchbase 1.4.01 → 1.4.02

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: 43d2701d4c63b09ba54f884912c54cfa50f3895db157d3223c783d42132baac4
4
- data.tar.gz: 212470c2403694e7d2c0a3bbefced7f1b2fff3c35a27f7c61e6d965c79d6f654
3
+ metadata.gz: 76c99133f1f92aa3573a4f83c6c12f8407f059b8842b79c03c03d86b8d1b3a33
4
+ data.tar.gz: b48fa7a6a9a55fef3633a0c24ce406508dcef06f537759f5de4845fc4a0efe02
5
5
  SHA512:
6
- metadata.gz: 2314a4098b853010e7c9392e4c8aaafcc3e6e48ca4eb6fb23d032e4eab6fd4ab67d08eff7fb9bf12c8a155a10b5e88a9188a2863e79787456325d90b057b4449
7
- data.tar.gz: de4aabbde6450ac10ed270c53b7fb196b932b712afca0ec0038bf669cae4328b70af4d0a1bb0ad01f29bf01e10980ae619f16fdfda94e988481de381cf6dab75
6
+ metadata.gz: 2e1dde2fd37f3c565ddb86d613d4783381df8172124845823af9dd833cb796f2e87a6ccb41008ccaad0eea2be79183b4c64d2ee09041fd09a00cb64733c271e0
7
+ data.tar.gz: c75f7dc0f3f2eb84951813dc1e67127a037fad75cad748fbc00308c05119f83f8e45b83c2b98a849e9022e086802d0676d766a185b0554a99c500b1d48325acf
@@ -63,7 +63,11 @@ module MTLibcouchbase
63
63
  def initialize(hosts: Defaults.host, bucket: Defaults.bucket, username: Defaults.username, password: Defaults.password, thread: nil, **opts)
64
64
  # build host string http://docs.couchbase.com/sdk-api/couchbase-c-client-2.5.6/group__lcb-init.html
65
65
  hosts = Array(hosts).flatten.join(',')
66
- connstr = "couchbase://#{hosts}/#{bucket}"
66
+ if hosts.start_with? 'couchbase'
67
+ connstr = "#{hosts}/#{bucket}"
68
+ else
69
+ connstr = "couchbase://#{hosts}/#{bucket}"
70
+ end
67
71
  connstr = "#{connstr}?#{opts.map { |k, v| "#{k}=#{v}" }.join('&') }" unless opts.empty?
68
72
 
69
73
  # It's good to know
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true, encoding: ASCII-8BIT
2
2
 
3
3
  module MTLibcouchbase
4
- VERSION = '1.4.01'
4
+ VERSION = '1.4.02'
5
5
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true, encoding: ASCII-8BIT
2
2
 
3
3
  require 'mt-libcouchbase'
4
- require 'uv-rays'
4
+ require 'mt-uv-rays'
5
5
 
6
6
 
7
7
  class MockQuery
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true, encoding: ASCII-8BIT
2
2
 
3
3
  require 'mt-libcouchbase'
4
- require 'uv-rays'
4
+ require 'mt-uv-rays'
5
5
 
6
6
 
7
7
  class NativeMockQuery
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mt-libcouchbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.01
4
+ version: 1.4.02
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giallombardo Nathan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2023-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi