couchbase-jruby-client 0.1.6-java → 0.1.7-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/couchbase/operations/get.rb +1 -6
- data/lib/couchbase/version.rb +1 -1
- data/test/test_get.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7e0d408c5e5e7be7aef116504c626b47e3370ca
|
4
|
+
data.tar.gz: 449cc0459b4cca48176034faebc9b1164a8bb7d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 631922413e409bad9ebd705a3e08baed7715a697e8426db07c14c86c270f95c4b81b1350e67d2b963569f8fbbb5feefd3dcc3effd1d4eedae56200dc0a760a46
|
7
|
+
data.tar.gz: 86070762df8a647c3968192aeea98a9e5b3703f958d250d1b926be15240a62b8823769974ffd69ba51aaf3e5ce464071a72c4136c35dc5aa28137a3a68bb5a77
|
@@ -150,11 +150,6 @@ module Couchbase::Operations
|
|
150
150
|
|
151
151
|
if async?
|
152
152
|
async_get(key, &block)
|
153
|
-
# if block_given?
|
154
|
-
# async_get(key, &Proc.new)
|
155
|
-
# else
|
156
|
-
# async_get(key)
|
157
|
-
# end
|
158
153
|
else
|
159
154
|
sync_block_error if block_given?
|
160
155
|
get_key(key, options)
|
@@ -167,7 +162,7 @@ module Couchbase::Operations
|
|
167
162
|
|
168
163
|
def get_bulk(keys, options)
|
169
164
|
results = if options[:extended]
|
170
|
-
get_bulk_extended(keys)
|
165
|
+
get_bulk_extended(keys, options)
|
171
166
|
else
|
172
167
|
client_get_bulk(keys)
|
173
168
|
end
|
data/lib/couchbase/version.rb
CHANGED
data/test/test_get.rb
CHANGED
@@ -124,6 +124,11 @@ class TestGet < MiniTest::Test
|
|
124
124
|
refute cb.get(uniq_id(:missing), :quiet => true)
|
125
125
|
end
|
126
126
|
|
127
|
+
def test_it_allows_temporary_quiet_flag_with_bulk_extended
|
128
|
+
results = cb.get([uniq_id(:missing1), uniq_id(:missing2)], :extended => true, :quiet => true)
|
129
|
+
assert_empty results
|
130
|
+
end
|
131
|
+
|
127
132
|
def test_missing_in_verbose_mode
|
128
133
|
cb.set(uniq_id(1), "foo1")
|
129
134
|
cb.set(uniq_id(2), "foo2")
|