couchbase 3.5.0-x86_64-linux → 3.5.1-x86_64-linux

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: ceefeae7d736120a37568ba67ccf9a207a8695a1c5b29c574f3d66515b88f589
4
- data.tar.gz: dd671b6275097ee16a6c5f1691a99b8a26378ebc14b67889927d82b17d06c076
3
+ metadata.gz: 2f04be590e37a0caa7dcc5370465f12bb342472b27a038a1eda9313aa2d9c350
4
+ data.tar.gz: 68c6fa7619fed0e1120e02b12b7801bd8a290af5c245c0bd903bec3f6f384c56
5
5
  SHA512:
6
- metadata.gz: d5818bbbe92eb562acbf3513230eba7d04ab870141da0f1a1b9e465e2f855d48f1d7c50c0ad0573762235f3d8ef000d4ffd2c586cebba4cdae59482770fadd2e
7
- data.tar.gz: 3a81cbe2886b9cc75e24c56980082fe14300addbb0d1b8b51b45939c035fdbc931f5641009deb2272b2cc503706775322453fd86f1e68c27688906a54a0f84e5
6
+ metadata.gz: 516c34d37074c8f6688e89c4ce00680ec4f1e33b2ff48e559d127a0fb63e20bd6cc5f71dc7c36808c53a59c6706541de2e184bb497db2c239badbb7bf1ba358a
7
+ data.tar.gz: e02e2c184b0057029274f723b0d28027d77022c84bb99fc5111867011532f3d4f34380a647368e0a38997d610db1e9649b66298a75a63a7ff4d7e459a578b220
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-linux
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