couchbase 3.6.0-arm64-darwin → 3.7.0-arm64-darwin
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.bundle +0 -0
- data/lib/couchbase/3.2/libcouchbase.bundle +0 -0
- data/lib/couchbase/3.3/libcouchbase.bundle +0 -0
- data/lib/couchbase/3.4/libcouchbase.bundle +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: 6a882b4718ee8b96bd994ca009d22995ded27c1a99e65064e3f23dbc324ee690
         | 
| 4 | 
            +
              data.tar.gz: fe4a728a81abc6765d9903b6043e61c39ec772b99b879967d21b0d7900d608d7
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7bf68c4368e30f8c1d257a89c8001ed808eadf7d6eb33cc67194131055ab184f7e82501356794c2e5bcbe737e933ef301cb975d23f7f9f1c5dcfea72cc2219d2
         | 
| 7 | 
            +
              data.tar.gz: 468bfdea111369f89a09691b3c3fba53a8f8853c153d0f03cf5ada05e8b0cfed81c049cf27bce79a6b9cc4e53f0a4fd4cce1ffc788291579f54d9db0942f05d0
         | 
    
        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: arm64-darwin
         | 
| 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:
         |