couchbase 3.5.0-x86_64-darwin-20 → 3.5.1-x86_64-darwin-20

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0c7b163e957012785f4e0ec44a09c3665bbf4cc414fe2dfe7735fab8cffc11e
4
- data.tar.gz: bef6d879a8aecb19a112dcf1395c1914a25d5bd285bfbd71c6189be15a1c68a2
3
+ metadata.gz: 5d7be99174574204eb4b47e3abf7eb496cc3dee068e000ce6762cce308c62959
4
+ data.tar.gz: bd162db6d6e4cfe6eb7aeabb4e2430b98b3dbd6f75382501e21cdc4a51244337
5
5
  SHA512:
6
- metadata.gz: 117dc55fbafbc91f3ce81db774759cf3f186b589f6e9ec5438774f4a78eb45f6648a612d7f78b34011f4e43e8c8eed1d71b7c752c34167a33c42867623a08464
7
- data.tar.gz: 6ef4645d5bc85c9e3e5240aedf94df19a82cdb6106c76422cfcc4a23140e3b9a9e7c33c72aa3845c6d116993c2ff5276015072f937045e312029ddb6648ad209
6
+ metadata.gz: 8d055f9c35715fa30d0908c2af114e083fb6671343425ebec09b627938484a2699354b9516d4dab97a1b59d555d95615270f46d6eee8496bb0e27c8ce85fc95f
7
+ data.tar.gz: dc1fae51a0973f952519e756d831e43204f9d0996fb2d478f9a52e9ee21b913740b53cf5e84b843420c506e2f4c8e001ae2c6257171bf1b19bf1a39ef3621681
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: x86_64-darwin-20
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