couchbase 3.8.1-x86_64-linux-musl → 3.8.2-x86_64-linux-musl

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75935c95464948b558887d88c0e05bfca77aef590df758887d12c0d5464958ce
4
- data.tar.gz: 10c5d5270792b969dc597fa6c44dfa155dac66c6a798f4709f51e20ce2ab95ac
3
+ metadata.gz: 6b3c6a9734299e5aa566c9ee5d41ada34e71ee20bbe2c839e6bfed7a1c1605b1
4
+ data.tar.gz: 2d5e71c458cf3273a53f6db25d11689a8c516ae2b9fc2f89c0a7328185c44e1d
5
5
  SHA512:
6
- metadata.gz: 6650b3facaa7b9d2844ce2839c7f5acc2b8f252036a23c1663f9fec3b70667d248f46e4fad60fc405765eaa430f2cc12eb71581c9d92b66f101296466e17ee7e
7
- data.tar.gz: 506456a4e2faedea570f0747fe26d4a8dd4595c2fadd20a6296776af5c9363ddd373282cf3b2f6287995e1344a4c50797fb96c64a983d073a505d1d60f3294a7
6
+ metadata.gz: 8c32e40d1295ba86b6613efedd6f033b5279c329eb3a100d7c93107ea369acb75b8fe9c1cb935a07c3e807a606c09fda6f4cbfd77873312def76ba326c38a710
7
+ data.tar.gz: c5bc6a0674d579717196736b38725fc69d496f671a36384e43a61020f9da7b61c20c7db64730422c3679cab8dcf61b7ca471fede672aadb07d80769dc269b671
data/README.md CHANGED
@@ -9,7 +9,7 @@ This repository contains the third generation of the official Couchbase SDK for
9
9
 
10
10
  ## Support and Feedback
11
11
 
12
- If you find an issue, please file it in [our JIRA issue tracker](https://jira.issues.couchbase.com/browse/RCBC). Also you are
12
+ Issues are tracked on [our JIRA issue tracker](https://jira.issues.couchbase.com/browse/RCBC). If you find an issue, you can report it by [opening an issue on GitHub](https://github.com/couchbase/couchbase-ruby-client/issues). Also, you are
13
13
  always welcome on [our forum](https://forums.couchbase.com/c/ruby-sdk) and [Discord](https://discord.com/invite/sQ5qbPZuTh).
14
14
 
15
15
  Please attach version information to the ticket/post. To obtain this information, use the following command:
@@ -23,7 +23,7 @@ The library has been tested with MRI 3.2, 3.3, 3.4 and 4.0. Supported platforms
23
23
  Add this line to your application's Gemfile:
24
24
 
25
25
  ```ruby
26
- gem "couchbase", "3.8.1"
26
+ gem "couchbase", "3.8.2"
27
27
  ```
28
28
 
29
29
  And then execute:
Binary file
Binary file
Binary file
Binary file
@@ -326,20 +326,22 @@ module Couchbase
326
326
  #
327
327
  # @return [PingResult]
328
328
  def ping(options = Options::Ping::DEFAULT)
329
- resp = @backend.ping(nil, options.to_backend)
330
- PingResult.new do |res|
331
- res.version = resp[:version]
332
- res.id = resp[:id]
333
- res.sdk = resp[:sdk]
334
- resp[:services].each do |type, svcs|
335
- res.services[type] = svcs.map do |svc|
336
- PingResult::ServiceInfo.new do |info|
337
- info.id = svc[:id]
338
- info.state = svc[:state]
339
- info.latency = svc[:latency]
340
- info.remote = svc[:remote]
341
- info.local = svc[:local]
342
- info.error = svc[:error]
329
+ @observability.record_operation(Observability::OP_PING, options.parent_span, self) do |_obs_handler|
330
+ resp = @backend.ping(nil, options.to_backend)
331
+ PingResult.new do |res|
332
+ res.version = resp[:version]
333
+ res.id = resp[:id]
334
+ res.sdk = resp[:sdk]
335
+ resp[:services].each do |type, svcs|
336
+ res.services[type] = svcs.map do |svc|
337
+ PingResult::ServiceInfo.new do |info|
338
+ info.id = svc[:id]
339
+ info.state = svc[:state]
340
+ info.latency = svc[:latency]
341
+ info.remote = svc[:remote]
342
+ info.local = svc[:local]
343
+ info.error = svc[:error]
344
+ end
343
345
  end
344
346
  end
345
347
  end
@@ -1919,20 +1919,25 @@ module Couchbase
1919
1919
  attr_accessor :report_id # @return [String]
1920
1920
  attr_accessor :service_types # @return [Array<Symbol>]
1921
1921
  attr_accessor :timeout # @return [Integer, #in_milliseconds]
1922
+ attr_accessor :parent_span # @return [Span, nil]
1922
1923
 
1923
1924
  # Creates an instance of options for {Couchbase::Bucket#ping}
1924
1925
  #
1925
1926
  # @param [String] report_id Holds custom report id.
1926
- # @@param [Array<Symbol>] service_types The service types to limit this diagnostics request
1927
+ # @param [Array<Symbol>] service_types The service types to limit this ping request
1927
1928
  # @param [Integer, #in_milliseconds] timeout
1929
+ # @param [Span, nil] parent_span if set holds the parent span, that should be used for this request
1928
1930
  #
1929
1931
  # @yieldparam [Ping] self
1930
1932
  def initialize(report_id: nil,
1931
1933
  service_types: [:kv, :query, :analytics, :search, :views, :management],
1932
- timeout: nil)
1934
+ timeout: nil,
1935
+ parent_span: nil)
1933
1936
  @report_id = report_id
1934
1937
  @service_types = service_types
1935
1938
  @timeout = timeout
1939
+ @parent_span = parent_span
1940
+
1936
1941
  yield self if block_given?
1937
1942
  end
1938
1943
 
@@ -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.8.1")
24
+ VERSION.update(:sdk => "3.8.2")
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.8.1
4
+ version: 3.8.2
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Sergey Avseyev
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-07-01 00:00:00.000000000 Z
10
+ date: 2026-09-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: concurrent-ruby
@@ -196,9 +196,9 @@ metadata:
196
196
  homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
197
197
  bug_tracker_uri: https://jira.issues.couchbase.com/browse/RCBC
198
198
  mailing_list_uri: https://www.couchbase.com/forums/c/ruby-sdk
199
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.8.1
200
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.8.1
201
- documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.8.1/index.html
199
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.8.2
200
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.8.2
201
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.8.2/index.html
202
202
  github_repo: https://github.com/couchbase/couchbase-ruby-client
203
203
  rubygems_mfa_required: 'true'
204
204
  rdoc_options: