couchbase 3.5.0-arm64-darwin-22 → 3.5.1-arm64-darwin-22

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: de4e06dc4a0d9f0f31bec457e74f1480e5d924c11ade1913a095a9728d01811b
4
- data.tar.gz: 0cbb10e8075b18e6513ecc5a679e2d5c8fa34afeaa36e8f3d548c16ade25a635
3
+ metadata.gz: 5cd6fbbcd63f15fb6c0ad6c7f6ff9a23ba5d87dba914932e14bf5fb92ee97973
4
+ data.tar.gz: 162c2d26e76b7d36355b7c61e47ac617794c5a7659c4fabcdd778913e9d30da0
5
5
  SHA512:
6
- metadata.gz: c75a60da791987cd90bcc0e2102f6c0c640531038a5aa427dd63fa1d869afdcf72e1631fbce454bbe3f9c6fecb16d691b93081c2ccf3b33149fd594b32ae4535
7
- data.tar.gz: b7d22e0fd384ca93424012b3793128b6eb294f27b88a32fd167f987e71213734da90edb86d712bdb097aeb50a47385c67144b83cadf9b0852371191ba39e459a
6
+ metadata.gz: f1f569476f1594b33064c5b1fcc0a7801d7039c6aa02f4820c233c5c2d5666af8cc90af345511d3416ab78976cd517ee9a473858cb83269af1715e10590ae8fc
7
+ data.tar.gz: ccf877ab9898e3830fe0860ba10af7cfcb92db6afb9a4245c73d04e89783b23782e126d7cd3ddbcbcdd6cab8feecffb7359ebb9be8accfb0eba119a041764d9b
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
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: arm64-darwin-22
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
@@ -162,9 +162,9 @@ metadata:
162
162
  homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
163
163
  bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
164
164
  mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
165
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.5.0
166
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.5.0
167
- documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.5.0/index.html
165
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.5.1
166
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.5.1
167
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.5.1/index.html
168
168
  github_repo: ssh://github.com/couchbase/couchbase-ruby-client
169
169
  rubygems_mfa_required: 'true'
170
170
  post_install_message:
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
- rubygems_version: 3.5.3
187
+ rubygems_version: 3.5.9
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: SDK for Couchbase Server