mt-libcouchbase 1.4.02 → 1.4.03

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: 76c99133f1f92aa3573a4f83c6c12f8407f059b8842b79c03c03d86b8d1b3a33
4
- data.tar.gz: b48fa7a6a9a55fef3633a0c24ce406508dcef06f537759f5de4845fc4a0efe02
3
+ metadata.gz: bd112941cd59b79494818db26ef0d161f1bb10d107e3b3d552c9c42e5512674c
4
+ data.tar.gz: e387c8996003fc462176640e1c1cce73f8b063566e11636c073789772c98a2f5
5
5
  SHA512:
6
- metadata.gz: 2e1dde2fd37f3c565ddb86d613d4783381df8172124845823af9dd833cb796f2e87a6ccb41008ccaad0eea2be79183b4c64d2ee09041fd09a00cb64733c271e0
7
- data.tar.gz: c75f7dc0f3f2eb84951813dc1e67127a037fad75cad748fbc00308c05119f83f8e45b83c2b98a849e9022e086802d0676d766a185b0554a99c500b1d48325acf
6
+ metadata.gz: f23b1b6e6ad49b1b6ca7dfaeced43af3a3e5900399c75896f755fb587ba5e449409561ee52d23d9ac7908a1c9425e9bfe1bb4aa2e7a9f82bac57478067dcea43
7
+ data.tar.gz: 6c5b1a4523de6bfa0ab573e3e910212a155386d8ee4d44f8cf645634ac9fd78571a7d8fe5075e486540f310082f3e5f3d3410bed5c9903b8611db82e0d56a4bf
@@ -63,7 +63,7 @@ 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
- if hosts.start_with? 'couchbase'
66
+ if hosts.include? '://'
67
67
  connstr = "#{hosts}/#{bucket}"
68
68
  else
69
69
  connstr = "couchbase://#{hosts}/#{bucket}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true, encoding: ASCII-8BIT
2
2
 
3
3
  module MTLibcouchbase
4
- VERSION = '1.4.02'
4
+ VERSION = '1.4.03'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mt-libcouchbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.02
4
+ version: 1.4.03
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giallombardo Nathan