libcouchbase 1.2.4 → 1.2.5
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 +4 -4
- data/lib/libcouchbase/bucket.rb +4 -4
- data/lib/libcouchbase/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ae6fb8112f104f4c1ac7c749a21270e1498299be
|
|
4
|
+
data.tar.gz: a69d3ffd0b14eef01154a2de7c8c90ed473b0f8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af20781de12723ebc3ff5c926371c9288953c9a14e60d1c58fb55be8ce8d97cc548e90f86e29519a3f857fc2a6219c48ff55660c57a6914b35812bd23cfe5d64
|
|
7
|
+
data.tar.gz: d74882d88fc23ea72d2aafd1c3f88dea504d277f344182b49fe1cd068f71afcc7063b1199a9aa185258e27a78dfefc64b4d2f9d4ffbd6b4fc465fd21ecdf525e
|
data/lib/libcouchbase/bucket.rb
CHANGED
|
@@ -485,7 +485,7 @@ module Libcouchbase
|
|
|
485
485
|
#
|
|
486
486
|
# @return [Libcouchbase::DesignDocs]
|
|
487
487
|
def design_docs(**opts)
|
|
488
|
-
DesignDocs.new(self, @connection,
|
|
488
|
+
DesignDocs.new(self, @connection, proc { |promise, async| result(promise, async) }, **opts)
|
|
489
489
|
end
|
|
490
490
|
|
|
491
491
|
# Returns an enumerable for the results in a view.
|
|
@@ -675,7 +675,7 @@ module Libcouchbase
|
|
|
675
675
|
|
|
676
676
|
current = ::Libuv::Reactor.current
|
|
677
677
|
if current && current.running?
|
|
678
|
-
|
|
678
|
+
promise.value
|
|
679
679
|
elsif Object.const_defined?(:EventMachine) && EM.reactor_thread?
|
|
680
680
|
# Assume this is being run in em-synchrony
|
|
681
681
|
f = Fiber.current
|
|
@@ -749,7 +749,7 @@ module Libcouchbase
|
|
|
749
749
|
|
|
750
750
|
attempt = 0
|
|
751
751
|
begin
|
|
752
|
-
|
|
752
|
+
@connection.connect.value
|
|
753
753
|
rescue Libcouchbase::Error::ConnectError => e
|
|
754
754
|
attempt += 1
|
|
755
755
|
if attempt < 3
|
|
@@ -786,7 +786,7 @@ module Libcouchbase
|
|
|
786
786
|
|
|
787
787
|
attempt = 0
|
|
788
788
|
begin
|
|
789
|
-
|
|
789
|
+
@connection.connect.value
|
|
790
790
|
rescue Libcouchbase::Error::ConnectError => e
|
|
791
791
|
attempt += 1
|
|
792
792
|
if attempt < 3
|
data/lib/libcouchbase/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: libcouchbase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stephen von Takach
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-11-
|
|
11
|
+
date: 2017-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: ffi
|