couchbase 3.8.1-x86_64-darwin → 3.8.2-x86_64-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 +2 -2
- 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/4.0/libcouchbase.bundle +0 -0
- data/lib/couchbase/cluster.rb +16 -14
- data/lib/couchbase/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: b42530789cbbd5ee2d80fdcd8337552cbe3caa20109724267c0771705629da5c
|
|
4
|
+
data.tar.gz: 116cd7712b11078c3e2fd8e15b23d26762d86f8e3d799797508190f25ce782e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a0633aa4f56ee7302e6febad055068e742aff7276b4ef665978baa7fbf1f2910355fa7dc45b6f2f54a8f4ddbccfb50ecde7f9e52aee25e32fb61afcd24962b7
|
|
7
|
+
data.tar.gz: 978c98f5fe0440dc754dbd866deda9141a9bb59b496f0180f19baf21518dcac71a72eeb1543bc328fb6578afb261fa119f008c21dfdf7b39867fecefe2ee4645
|
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,
|
|
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.
|
|
26
|
+
gem "couchbase", "3.8.2"
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
And then execute:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/couchbase/cluster.rb
CHANGED
|
@@ -326,20 +326,22 @@ module Couchbase
|
|
|
326
326
|
#
|
|
327
327
|
# @return [PingResult]
|
|
328
328
|
def ping(options = Options::Ping::DEFAULT)
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
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
|
data/lib/couchbase/options.rb
CHANGED
|
@@ -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
|
-
#
|
|
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
|
|
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.8.
|
|
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.
|
|
4
|
+
version: 3.8.2
|
|
5
5
|
platform: x86_64-darwin
|
|
6
6
|
authors:
|
|
7
7
|
- Sergey Avseyev
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
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.
|
|
200
|
-
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.8.
|
|
201
|
-
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.8.
|
|
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:
|