couchbase 3.5.0-x86_64-linux-musl → 3.5.1-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: d76016fa7b0753b355d2a5be44d1f3a0f9de664dff8786493157e1467b804024
4
- data.tar.gz: ca3e9fdab2e89d8862e6fc1ee079c3e9335e304a3aac8df4b00f654cb134c327
3
+ metadata.gz: b0c7e86b2aa5b6d298306f0a42cf0717d7e6da5a79057142ddda2b83ca7154b7
4
+ data.tar.gz: d52b0517164cf05707b40c91278ba63f6b77a2a8b94b26e5ea7ce1ca1d9022fd
5
5
  SHA512:
6
- metadata.gz: 96db857fa62e238eaf86a8b8b36b47248890234d996eaf897524e34e1b1cbe05e99c41d409aece4d5d4e6bf9293cb7855339798ac520f28220ff4e6850529fa9
7
- data.tar.gz: 62cfd70586de4957d6afef29c2f236d5616cbf450f849c0241d69b623702b9ac0abe418ccb58a19df5311008e9ab51eed35861770ea9e23935441022e0e67fd4
6
+ metadata.gz: a0da1493c068891cd37905687075eeaca8f94de7ec59ce372c5fde430aaec00d06b946dc102582b87730996adc7e1dbdafae8fe6555b34f8eb029cbc671d8a40
7
+ data.tar.gz: 59aecb87523f711c0ec17c7ecbd50512c800bd0ee7e3fd96b781dbc7e711d7dd3240664bc9b16f676339342eb344f59ce68cae8c2b98c690d7547926fbc37a03
data/README.md CHANGED
@@ -23,7 +23,7 @@ The library has been tested with MRI 3.0, 3.1, 3.2 and 3.3. Supported platforms
23
23
  Add this line to your application's Gemfile:
24
24
 
25
25
  ```ruby
26
- gem "couchbase", "3.5.0"
26
+ gem "couchbase", "3.5.1"
27
27
  ```
28
28
 
29
29
  And then execute:
Binary file
Binary file
Binary file
@@ -2832,6 +2832,13 @@ module Couchbase
2832
2832
  View.new(**args)
2833
2833
  end
2834
2834
 
2835
+ # Construct {Scan} options for {Collection#scan}
2836
+ #
2837
+ # @return [Scan]
2838
+ def Scan(**args)
2839
+ Scan.new(**args)
2840
+ end
2841
+
2835
2842
  # rubocop:enable Naming/MethodName
2836
2843
  end
2837
2844
  end
@@ -46,6 +46,10 @@ module Couchbase
46
46
  def collections
47
47
  Management::CollectionManager.new(client: @client, bucket_name: @name)
48
48
  end
49
+
50
+ def ping(_options = Options::Ping::DEFAULT)
51
+ raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support ping"
52
+ end
49
53
  end
50
54
  end
51
55
  end
@@ -144,6 +144,14 @@ module Couchbase
144
144
  ResponseConverter::Search.to_search_result(resp, options)
145
145
  end
146
146
 
147
+ def diagnostics(_options = Options::Diagnostics::DEFAULT)
148
+ raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support diagnostics"
149
+ end
150
+
151
+ def ping(_options = Options::Ping::DEFAULT)
152
+ raise Couchbase::Error::FeatureNotAvailable, "The #{Protostellar::NAME} protocol does not support ping"
153
+ end
154
+
147
155
  private
148
156
 
149
157
  def initialize(host, options = ConnectOptions.new)
@@ -272,7 +272,8 @@ module Couchbase
272
272
  else
273
273
  param
274
274
  end
275
- @expand_macros = [CAS, SEQ_NO, VALUE_CRC32C].include?(@param)
275
+ # Only set expand_macros when a the value is a symbol that matches one of the macros
276
+ @expand_macros = [:cas, :seq_no, :sequence_number, :value_crc, :value_crc32c].include?(param)
276
277
  @xattr = true if @expand_macros
277
278
  return if @param.nil?
278
279
 
@@ -19,5 +19,5 @@ module Couchbase
19
19
  # $ ruby -rcouchbase -e 'pp Couchbase::VERSION'
20
20
  # {:sdk=>"3.4.0", :ruby_abi=>"3.1.0", :revision=>"416fe68e6029ec8a4c40611cf6e6b30d3b90d20f"}
21
21
  VERSION = {} unless defined?(VERSION) # rubocop:disable Style/MutableConstant
22
- VERSION.update(:sdk => "3.5.0".freeze)
22
+ VERSION.update(:sdk => "3.5.1".freeze)
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Sergey Avseyev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-18 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -161,9 +161,9 @@ metadata:
161
161
  homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
162
162
  bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
163
163
  mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
164
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.5.0
165
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.5.0
166
- documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.5.0/index.html
164
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.5.1
165
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.5.1
166
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.5.1/index.html
167
167
  github_repo: ssh://github.com/couchbase/couchbase-ruby-client
168
168
  rubygems_mfa_required: 'true'
169
169
  post_install_message:
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.3.26
186
+ rubygems_version: 3.3.27
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: SDK for Couchbase Server