couchbase 3.6.0-x86_64-linux → 3.7.0-x86_64-linux
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/README.md +1 -1
- data/lib/couchbase/3.1/libcouchbase.so +0 -0
- data/lib/couchbase/3.2/libcouchbase.so +0 -0
- data/lib/couchbase/3.3/libcouchbase.so +0 -0
- data/lib/couchbase/3.4/libcouchbase.so +0 -0
- data/lib/couchbase/protostellar/response_converter/search.rb +1 -1
- data/lib/couchbase/search_options.rb +7 -2
- data/lib/couchbase/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 130d0c58154d82f0e434df21db4a08c2d7062290bb3c17fc78a329416338ce2f
|
4
|
+
data.tar.gz: 44d3dc2dc11b2caa2a2dcfd87a489810ea6a86806f27568b9ae14f6a619f0dfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23219ceb9a9d6f8059264a4a480b4408fedc4d68c67152f0b0af7e7250887a43859fbe012f424040acb4b2170edde31f2e7af43bc94b59a235b12364c75964cc
|
7
|
+
data.tar.gz: 40b17592a5c6b87582c670429bf5144e46f61fdcd0de0c9d6e7a6b5b7f4e53e38d25f88577f6bdff79b492eccd79a7d0829c3db3a8d8d2fbbe05c8d8752d0877
|
data/README.md
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -38,7 +38,7 @@ module Couchbase
|
|
38
38
|
|
39
39
|
def self.convert_search_row(proto_row, options)
|
40
40
|
Couchbase::Cluster::SearchRow.new do |r|
|
41
|
-
r.instance_variable_set(:@fields,
|
41
|
+
r.instance_variable_set(:@fields, proto_row.fields.to_h.transform_values { |v| JSON.parse(v) }.to_json)
|
42
42
|
r.transcoder = options.transcoder
|
43
43
|
r.index = proto_row.index
|
44
44
|
r.id = proto_row.id
|
@@ -321,8 +321,8 @@ module Couchbase
|
|
321
321
|
# @yieldparam [BooleanFieldQuery] query
|
322
322
|
#
|
323
323
|
# @return [BooleanFieldQuery]
|
324
|
-
def self.boolean_field(value)
|
325
|
-
BooleanFieldQuery.new(value)
|
324
|
+
def self.boolean_field(value, &)
|
325
|
+
BooleanFieldQuery.new(value, &)
|
326
326
|
end
|
327
327
|
|
328
328
|
# Allow to match `true`/`false` in a field mapped as boolean.
|
@@ -1073,6 +1073,9 @@ module Couchbase
|
|
1073
1073
|
# @return [Float, nil]
|
1074
1074
|
attr_accessor :boost
|
1075
1075
|
|
1076
|
+
# @return [SearchQuery, nil]
|
1077
|
+
attr_accessor :prefilter
|
1078
|
+
|
1076
1079
|
# Constructs a +VectorQuery+ instance
|
1077
1080
|
#
|
1078
1081
|
# @overload initialize(vector_field_name, vector_query)
|
@@ -1111,6 +1114,8 @@ module Couchbase
|
|
1111
1114
|
boost: boost,
|
1112
1115
|
}.compact
|
1113
1116
|
|
1117
|
+
h[:filter] = prefilter.to_h unless prefilter.nil?
|
1118
|
+
|
1114
1119
|
raise Error::InvalidArgument, "The vector cannot be nil" if !h.include?(:vector) && !h.include?(:vector_base64)
|
1115
1120
|
raise Error::InvalidArgument, "The vector query cannot be an empty array" if h.include?(:vector) && h[:vector].empty?
|
1116
1121
|
|
data/lib/couchbase/version.rb
CHANGED
@@ -21,5 +21,5 @@ module Couchbase
|
|
21
21
|
# $ ruby -rcouchbase -e 'pp Couchbase::VERSION'
|
22
22
|
# {:sdk=>"3.4.0", :ruby_abi=>"3.1.0", :revision=>"416fe68e6029ec8a4c40611cf6e6b30d3b90d20f"}
|
23
23
|
VERSION = {} unless defined?(VERSION) # rubocop:disable Style/MutableConstant
|
24
|
-
VERSION.update(:sdk => "3.
|
24
|
+
VERSION.update(:sdk => "3.7.0")
|
25
25
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: couchbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Sergey Avseyev
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: grpc
|
@@ -163,9 +163,9 @@ metadata:
|
|
163
163
|
homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
|
164
164
|
bug_tracker_uri: https://jira.issues.couchbase.com/browse/RCBC
|
165
165
|
mailing_list_uri: https://www.couchbase.com/forums/c/ruby-sdk
|
166
|
-
source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.
|
167
|
-
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.
|
168
|
-
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.
|
166
|
+
source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.7.0
|
167
|
+
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.7.0
|
168
|
+
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.7.0/index.html
|
169
169
|
github_repo: https://github.com/couchbase/couchbase-ruby-client
|
170
170
|
rubygems_mfa_required: 'true'
|
171
171
|
rdoc_options:
|