couchbase 3.4.2 → 3.4.3

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.
Files changed (241) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ext/couchbase/CMakeLists.txt +57 -7
  4. data/ext/couchbase/cmake/Documentation.cmake +0 -1
  5. data/ext/couchbase/cmake/OpenSSL.cmake +98 -3
  6. data/ext/couchbase/cmake/Testing.cmake +12 -4
  7. data/ext/couchbase/cmake/build_config.hxx.in +3 -0
  8. data/ext/couchbase/core/bucket.cxx +3 -2
  9. data/ext/couchbase/core/bucket.hxx +9 -0
  10. data/ext/couchbase/core/cluster.hxx +17 -0
  11. data/ext/couchbase/core/cluster_options.cxx +2 -2
  12. data/ext/couchbase/core/cluster_options.hxx +4 -6
  13. data/ext/couchbase/core/cluster_options_fwd.hxx +26 -0
  14. data/ext/couchbase/core/config_profile.hxx +1 -54
  15. data/ext/couchbase/core/config_profiles.cxx +79 -0
  16. data/ext/couchbase/core/config_profiles.hxx +56 -0
  17. data/ext/couchbase/core/error_context/search.hxx +1 -1
  18. data/ext/couchbase/core/impl/analytics.cxx +1 -0
  19. data/ext/couchbase/core/impl/boolean_field_query.cxx +40 -0
  20. data/ext/couchbase/core/impl/boolean_query.cxx +62 -0
  21. data/ext/couchbase/core/impl/cluster.cxx +2 -0
  22. data/ext/couchbase/core/impl/conjunction_query.cxx +51 -0
  23. data/ext/couchbase/core/impl/date_range.cxx +89 -0
  24. data/ext/couchbase/core/impl/date_range_facet.cxx +54 -0
  25. data/ext/couchbase/core/impl/date_range_facet_result.cxx +64 -0
  26. data/ext/couchbase/core/impl/date_range_query.cxx +125 -0
  27. data/ext/couchbase/core/impl/disjunction_query.cxx +51 -0
  28. data/ext/couchbase/core/impl/encoded_search_facet.hxx +29 -0
  29. data/ext/couchbase/core/impl/encoded_search_query.hxx +29 -0
  30. data/ext/couchbase/core/impl/encoded_search_sort.hxx +29 -0
  31. data/ext/couchbase/core/impl/geo_bounding_box_query.cxx +46 -0
  32. data/ext/couchbase/core/impl/geo_distance_query.cxx +43 -0
  33. data/ext/couchbase/core/impl/geo_polygon_query.cxx +46 -0
  34. data/ext/couchbase/core/impl/internal_date_range_facet_result.cxx +80 -0
  35. data/ext/couchbase/core/impl/internal_date_range_facet_result.hxx +48 -0
  36. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx +80 -0
  37. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx +48 -0
  38. data/ext/couchbase/core/impl/internal_search_error_context.cxx +141 -0
  39. data/ext/couchbase/core/impl/internal_search_error_context.hxx +61 -0
  40. data/ext/couchbase/core/impl/internal_search_meta_data.cxx +60 -0
  41. data/ext/couchbase/core/impl/internal_search_meta_data.hxx +41 -0
  42. data/ext/couchbase/core/impl/internal_search_result.cxx +84 -0
  43. data/ext/couchbase/core/impl/internal_search_result.hxx +43 -0
  44. data/ext/couchbase/core/impl/internal_search_row.cxx +82 -0
  45. data/ext/couchbase/core/impl/internal_search_row.hxx +56 -0
  46. data/ext/couchbase/core/impl/internal_search_row_location.hxx +32 -0
  47. data/ext/couchbase/core/impl/internal_search_row_locations.cxx +137 -0
  48. data/ext/couchbase/core/impl/internal_search_row_locations.hxx +45 -0
  49. data/ext/couchbase/core/impl/internal_term_facet_result.cxx +80 -0
  50. data/ext/couchbase/core/impl/internal_term_facet_result.hxx +48 -0
  51. data/ext/couchbase/core/impl/match_all_query.cxx +35 -0
  52. data/ext/couchbase/core/impl/match_none_query.cxx +35 -0
  53. data/ext/couchbase/core/impl/match_phrase_query.cxx +43 -0
  54. data/ext/couchbase/core/impl/match_query.cxx +59 -0
  55. data/ext/couchbase/core/impl/numeric_range.cxx +49 -0
  56. data/ext/couchbase/core/impl/numeric_range_facet.cxx +54 -0
  57. data/ext/couchbase/core/impl/numeric_range_facet_result.cxx +64 -0
  58. data/ext/couchbase/core/impl/numeric_range_query.cxx +56 -0
  59. data/ext/couchbase/core/impl/phrase_query.cxx +42 -0
  60. data/ext/couchbase/core/impl/prefix_query.cxx +40 -0
  61. data/ext/couchbase/core/impl/query_string_query.cxx +37 -0
  62. data/ext/couchbase/core/impl/regexp_query.cxx +40 -0
  63. data/ext/couchbase/core/impl/search.cxx +191 -0
  64. data/ext/couchbase/core/impl/search_error_context.cxx +147 -0
  65. data/ext/couchbase/core/impl/search_meta_data.cxx +46 -0
  66. data/ext/couchbase/core/impl/search_result.cxx +66 -0
  67. data/ext/couchbase/core/impl/search_row.cxx +74 -0
  68. data/ext/couchbase/core/impl/search_row_location.cxx +64 -0
  69. data/ext/couchbase/core/impl/search_row_locations.cxx +66 -0
  70. data/ext/couchbase/core/impl/search_sort_field.cxx +104 -0
  71. data/ext/couchbase/core/impl/search_sort_id.cxx +43 -0
  72. data/ext/couchbase/core/impl/search_sort_score.cxx +43 -0
  73. data/ext/couchbase/core/impl/term_facet.cxx +36 -0
  74. data/ext/couchbase/core/impl/term_facet_result.cxx +64 -0
  75. data/ext/couchbase/core/impl/term_query.cxx +56 -0
  76. data/ext/couchbase/core/impl/term_range_query.cxx +57 -0
  77. data/ext/couchbase/core/impl/wildcard_query.cxx +40 -0
  78. data/ext/couchbase/core/io/http_context.hxx +1 -1
  79. data/ext/couchbase/core/io/http_session.hxx +10 -0
  80. data/ext/couchbase/core/io/http_session_manager.hxx +5 -3
  81. data/ext/couchbase/core/io/mcbp_session.cxx +28 -1
  82. data/ext/couchbase/core/io/retry_orchestrator.hxx +3 -2
  83. data/ext/couchbase/core/json_string.hxx +5 -0
  84. data/ext/couchbase/core/meta/version.cxx +18 -4
  85. data/ext/couchbase/core/mozilla_ca_bundle.hxx +39 -0
  86. data/ext/couchbase/core/operations/document_analytics.cxx +1 -0
  87. data/ext/couchbase/core/operations/document_analytics.hxx +1 -0
  88. data/ext/couchbase/core/operations/document_append.hxx +1 -1
  89. data/ext/couchbase/core/operations/document_decrement.hxx +1 -1
  90. data/ext/couchbase/core/operations/document_exists.hxx +1 -1
  91. data/ext/couchbase/core/operations/document_get.hxx +1 -1
  92. data/ext/couchbase/core/operations/document_get_and_lock.hxx +1 -1
  93. data/ext/couchbase/core/operations/document_get_and_touch.hxx +1 -1
  94. data/ext/couchbase/core/operations/document_get_projected.hxx +1 -1
  95. data/ext/couchbase/core/operations/document_increment.hxx +1 -1
  96. data/ext/couchbase/core/operations/document_insert.hxx +1 -1
  97. data/ext/couchbase/core/operations/document_lookup_in.hxx +1 -1
  98. data/ext/couchbase/core/operations/document_mutate_in.hxx +1 -1
  99. data/ext/couchbase/core/operations/document_prepend.hxx +1 -1
  100. data/ext/couchbase/core/operations/document_query.cxx +2 -0
  101. data/ext/couchbase/core/operations/document_query.hxx +6 -0
  102. data/ext/couchbase/core/operations/document_remove.hxx +1 -1
  103. data/ext/couchbase/core/operations/document_replace.hxx +1 -1
  104. data/ext/couchbase/core/operations/document_search.cxx +4 -1
  105. data/ext/couchbase/core/operations/document_search.hxx +2 -1
  106. data/ext/couchbase/core/operations/document_touch.hxx +1 -1
  107. data/ext/couchbase/core/operations/document_unlock.hxx +1 -1
  108. data/ext/couchbase/core/operations/document_upsert.hxx +1 -1
  109. data/ext/couchbase/core/operations/document_view.hxx +1 -0
  110. data/ext/couchbase/core/protocol/client_request.hxx +11 -2
  111. data/ext/couchbase/core/public_fwd.hxx +21 -0
  112. data/ext/couchbase/core/tls_verify_mode.hxx +26 -0
  113. data/ext/couchbase/core/topology/configuration.cxx +15 -2
  114. data/ext/couchbase/core/topology/configuration.hxx +5 -1
  115. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.cxx +93 -0
  116. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.hxx +48 -75
  117. data/ext/couchbase/core/transactions/cleanup_testing_hooks.cxx +52 -0
  118. data/ext/couchbase/core/transactions/cleanup_testing_hooks.hxx +17 -31
  119. data/ext/couchbase/core/transactions/exceptions.hxx +12 -9
  120. data/ext/couchbase/core/utils/connection_string.cxx +17 -0
  121. data/ext/couchbase/core/utils/json.cxx +4 -1
  122. data/ext/couchbase/couchbase/behavior_options.hxx +10 -1
  123. data/ext/couchbase/couchbase/boolean_field_query.hxx +77 -0
  124. data/ext/couchbase/couchbase/boolean_query.hxx +223 -0
  125. data/ext/couchbase/couchbase/cluster.hxx +42 -1
  126. data/ext/couchbase/couchbase/conjunction_query.hxx +88 -0
  127. data/ext/couchbase/couchbase/date_range.hxx +69 -0
  128. data/ext/couchbase/couchbase/date_range_facet.hxx +56 -0
  129. data/ext/couchbase/couchbase/date_range_facet_result.hxx +55 -0
  130. data/ext/couchbase/couchbase/date_range_query.hxx +265 -0
  131. data/ext/couchbase/couchbase/disjunction_query.hxx +109 -0
  132. data/ext/couchbase/couchbase/doc_id_query.hxx +111 -0
  133. data/ext/couchbase/couchbase/error_context.hxx +7 -6
  134. data/ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx +52 -0
  135. data/ext/couchbase/couchbase/fmt/search_scan_consistency.hxx +49 -0
  136. data/ext/couchbase/couchbase/geo_bounding_box_query.hxx +107 -0
  137. data/ext/couchbase/couchbase/geo_distance_query.hxx +109 -0
  138. data/ext/couchbase/couchbase/geo_point.hxx +32 -0
  139. data/ext/couchbase/couchbase/geo_polygon_query.hxx +85 -0
  140. data/ext/couchbase/couchbase/highlight_style.hxx +45 -0
  141. data/ext/couchbase/couchbase/match_all_query.hxx +43 -0
  142. data/ext/couchbase/couchbase/match_none_query.hxx +43 -0
  143. data/ext/couchbase/couchbase/match_operator.hxx +45 -0
  144. data/ext/couchbase/couchbase/match_phrase_query.hxx +108 -0
  145. data/ext/couchbase/couchbase/match_query.hxx +163 -0
  146. data/ext/couchbase/couchbase/numeric_range.hxx +58 -0
  147. data/ext/couchbase/couchbase/numeric_range_facet.hxx +56 -0
  148. data/ext/couchbase/couchbase/numeric_range_facet_result.hxx +55 -0
  149. data/ext/couchbase/couchbase/numeric_range_query.hxx +143 -0
  150. data/ext/couchbase/couchbase/phrase_query.hxx +93 -0
  151. data/ext/couchbase/couchbase/prefix_query.hxx +82 -0
  152. data/ext/couchbase/couchbase/query_string_query.hxx +72 -0
  153. data/ext/couchbase/couchbase/regexp_query.hxx +82 -0
  154. data/ext/couchbase/couchbase/scope.hxx +40 -0
  155. data/ext/couchbase/couchbase/search_date_range.hxx +68 -0
  156. data/ext/couchbase/couchbase/search_error_context.hxx +138 -0
  157. data/ext/couchbase/couchbase/search_facet.hxx +60 -0
  158. data/ext/couchbase/couchbase/search_facet_result.hxx +50 -0
  159. data/ext/couchbase/couchbase/search_meta_data.hxx +85 -0
  160. data/ext/couchbase/couchbase/search_metrics.hxx +127 -0
  161. data/ext/couchbase/couchbase/search_numeric_range.hxx +69 -0
  162. data/ext/couchbase/couchbase/search_options.hxx +509 -0
  163. data/ext/couchbase/couchbase/search_query.hxx +69 -0
  164. data/ext/couchbase/couchbase/search_result.hxx +77 -0
  165. data/ext/couchbase/couchbase/search_row.hxx +104 -0
  166. data/ext/couchbase/couchbase/search_row_location.hxx +55 -0
  167. data/ext/couchbase/couchbase/search_row_locations.hxx +86 -0
  168. data/ext/couchbase/couchbase/search_scan_consistency.hxx +34 -0
  169. data/ext/couchbase/couchbase/search_sort.hxx +58 -0
  170. data/ext/couchbase/couchbase/search_sort_field.hxx +117 -0
  171. data/ext/couchbase/couchbase/search_sort_field_missing.hxx +26 -0
  172. data/ext/couchbase/couchbase/search_sort_field_mode.hxx +27 -0
  173. data/ext/couchbase/couchbase/search_sort_field_type.hxx +28 -0
  174. data/ext/couchbase/couchbase/search_sort_id.hxx +60 -0
  175. data/ext/couchbase/couchbase/search_sort_score.hxx +60 -0
  176. data/ext/couchbase/couchbase/search_term_range.hxx +51 -0
  177. data/ext/couchbase/couchbase/security_options.hxx +3 -0
  178. data/ext/couchbase/couchbase/term_facet.hxx +48 -0
  179. data/ext/couchbase/couchbase/term_facet_result.hxx +55 -0
  180. data/ext/couchbase/couchbase/term_query.hxx +151 -0
  181. data/ext/couchbase/couchbase/term_range_query.hxx +142 -0
  182. data/ext/couchbase/couchbase/tracing/request_span.hxx +63 -0
  183. data/ext/couchbase/couchbase/tracing/request_tracer.hxx +2 -40
  184. data/ext/couchbase/couchbase/transactions/async_attempt_context.hxx +83 -4
  185. data/ext/couchbase/couchbase/transactions/attempt_context.hxx +67 -0
  186. data/ext/couchbase/couchbase/transactions/transaction_get_result.hxx +2 -0
  187. data/ext/couchbase/couchbase/transactions/transaction_keyspace.hxx +11 -1
  188. data/ext/couchbase/couchbase/transactions/transaction_options.hxx +79 -8
  189. data/ext/couchbase/couchbase/transactions/transaction_query_options.hxx +128 -15
  190. data/ext/couchbase/couchbase/transactions/transaction_query_result.hxx +4 -0
  191. data/ext/couchbase/couchbase/transactions/transaction_result.hxx +1 -1
  192. data/ext/couchbase/couchbase/transactions/transactions_cleanup_config.hxx +5 -3
  193. data/ext/couchbase/couchbase/transactions/transactions_config.hxx +9 -5
  194. data/ext/couchbase/couchbase/transactions/transactions_query_config.hxx +6 -3
  195. data/ext/couchbase/couchbase/transactions.hxx +34 -1
  196. data/ext/couchbase/couchbase/wildcard_query.hxx +83 -0
  197. data/ext/couchbase/test/CMakeLists.txt +7 -5
  198. data/ext/couchbase/test/benchmark_helper_integration.hxx +2 -2
  199. data/ext/couchbase/test/test_helper.hxx +5 -5
  200. data/ext/couchbase/test/test_integration_analytics.cxx +28 -6
  201. data/ext/couchbase/test/test_integration_collections.cxx +7 -3
  202. data/ext/couchbase/test/test_integration_connect.cxx +7 -3
  203. data/ext/couchbase/test/test_integration_crud.cxx +13 -3
  204. data/ext/couchbase/test/test_integration_diagnostics.cxx +11 -5
  205. data/ext/couchbase/test/test_integration_durability.cxx +12 -7
  206. data/ext/couchbase/test/test_integration_examples.cxx +283 -11
  207. data/ext/couchbase/test/test_integration_management.cxx +147 -91
  208. data/ext/couchbase/test/test_integration_query.cxx +68 -10
  209. data/ext/couchbase/test/test_integration_range_scan.cxx +12 -12
  210. data/ext/couchbase/test/test_integration_read_replica.cxx +48 -11
  211. data/ext/couchbase/test/test_integration_search.cxx +22 -2
  212. data/ext/couchbase/test/test_integration_subdoc.cxx +62 -11
  213. data/ext/couchbase/test/test_integration_tracer.cxx +5 -0
  214. data/ext/couchbase/test/test_integration_transcoders.cxx +13 -5
  215. data/ext/couchbase/test/{test_transaction_transaction_context.cxx → test_transaction_context.cxx} +1 -1
  216. data/ext/couchbase/test/test_transaction_examples.cxx +195 -0
  217. data/ext/couchbase/test/{test_transaction_transaction_simple.cxx → test_transaction_simple.cxx} +17 -5
  218. data/ext/couchbase/test/{test_transaction_transaction_simple_async.cxx → test_transaction_simple_async.cxx} +19 -21
  219. data/ext/couchbase/test/test_unit_config_profiles.cxx +1 -1
  220. data/ext/couchbase/test/test_unit_json_transcoder.cxx +4 -0
  221. data/ext/couchbase/test/test_unit_search.cxx +427 -0
  222. data/ext/couchbase/test/test_unit_transaction_utils.cxx +10 -1
  223. data/ext/couchbase/test/test_unit_utils.cxx +8 -4
  224. data/ext/couchbase.cxx +58 -16
  225. data/ext/revisions.rb +3 -3
  226. data/lib/couchbase/authenticator.rb +0 -1
  227. data/lib/couchbase/cluster.rb +0 -4
  228. data/lib/couchbase/config_profiles.rb +1 -1
  229. data/lib/couchbase/json_transcoder.rb +12 -5
  230. data/lib/couchbase/management/collection_query_index_manager.rb +54 -15
  231. data/lib/couchbase/management/query_index_manager.rb +70 -5
  232. data/lib/couchbase/raw_binary_transcoder.rb +37 -0
  233. data/lib/couchbase/raw_json_transcoder.rb +38 -0
  234. data/lib/couchbase/raw_string_transcoder.rb +40 -0
  235. data/lib/couchbase/search_options.rb +5 -0
  236. data/lib/couchbase/transcoder_flags.rb +62 -0
  237. data/lib/couchbase/version.rb +1 -1
  238. metadata +139 -11
  239. data/ext/couchbase/core/config_profile.cxx +0 -47
  240. /data/ext/couchbase/test/{test_transaction_transaction_public_async_api.cxx → test_transaction_public_async_api.cxx} +0 -0
  241. /data/ext/couchbase/test/{test_transaction_transaction_public_blocking_api.cxx → test_transaction_public_blocking_api.cxx} +0 -0
@@ -0,0 +1,40 @@
1
+ # Copyright 2023. Couchbase, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require "couchbase/transcoder_flags"
16
+ require "couchbase/errors"
17
+
18
+ module Couchbase
19
+ class RawStringTranscoder
20
+ # @param [String] document
21
+ # @return [Array<String, Integer>] pair of encoded document and flags
22
+ def encode(document)
23
+ unless document.is_a?(String) && document.valid_encoding?
24
+ raise Error::EncodingFailure, "Only String data supported by RawStringTranscoder"
25
+ end
26
+
27
+ [document, TranscoderFlags.new(format: :string).encode]
28
+ end
29
+
30
+ # @param [String] blob string of bytes, containing encoded representation of the document
31
+ # @param [Integer] flags bit field, describing how the data encoded
32
+ # @return [String] decoded document
33
+ def decode(blob, flags)
34
+ format = TranscoderFlags.decode(flags).format
35
+ raise Error::DecodingFailure, "Unable to decode #{format} with the RawStringTranscoder" unless format == :string || format.nil?
36
+
37
+ blob
38
+ end
39
+ end
40
+ end
@@ -1225,6 +1225,11 @@ module Couchbase
1225
1225
 
1226
1226
  # @return [Array<Integer>] the positions of the term within any elements.
1227
1227
  attr_accessor :array_positions
1228
+
1229
+ # @yieldparam [SearchRowLocation] self
1230
+ def initialize
1231
+ yield self if block_given?
1232
+ end
1228
1233
  end
1229
1234
 
1230
1235
  class SearchRowLocations
@@ -0,0 +1,62 @@
1
+ # Copyright 2023. Couchbase, Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Couchbase
16
+ # @api private
17
+ class TranscoderFlags
18
+ FORMAT_MAP = {
19
+ reserved: 0,
20
+ private: 1,
21
+ json: 2,
22
+ binary: 3,
23
+ string: 4,
24
+ }.freeze
25
+ INV_FORMAT_MAP = FORMAT_MAP.invert.freeze
26
+
27
+ COMPRESSION_MAP = {none: 0}.freeze
28
+ INV_COMPRESSION_MAP = COMPRESSION_MAP.invert
29
+
30
+ attr_reader :format
31
+ attr_reader :compression
32
+ attr_reader :lower_bits
33
+
34
+ def initialize(format:, compression: :none, lower_bits: 0)
35
+ @format = format
36
+ @compression = compression
37
+ @lower_bits = lower_bits
38
+ end
39
+
40
+ def self.decode(flags)
41
+ return TranscoderFlags.new(format: flags) if flags.is_a?(Symbol)
42
+
43
+ common_flags = flags >> 24
44
+ lower_bits = flags & 0x00ffff
45
+
46
+ return TranscoderFlags.new(format: nil, lower_bits: lower_bits) if common_flags.zero?
47
+
48
+ compression_bits = common_flags >> 5
49
+ format_bits = common_flags & 0x0f
50
+ TranscoderFlags.new(
51
+ format: INV_FORMAT_MAP[format_bits],
52
+ compression: INV_COMPRESSION_MAP[compression_bits],
53
+ lower_bits: lower_bits
54
+ )
55
+ end
56
+
57
+ def encode
58
+ common_flags = (COMPRESSION_MAP[@compression] << 5) | FORMAT_MAP[@format]
59
+ (common_flags << 24) | @lower_bits
60
+ end
61
+ end
62
+ end
@@ -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.4.2".freeze)
22
+ VERSION.update(:sdk => "3.4.3".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.4.2
4
+ version: 3.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Avseyev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-12 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Modern SDK for Couchbase Server
14
14
  email:
@@ -65,6 +65,7 @@ files:
65
65
  - ext/couchbase/core/cluster_agent_config.hxx
66
66
  - ext/couchbase/core/cluster_options.cxx
67
67
  - ext/couchbase/core/cluster_options.hxx
68
+ - ext/couchbase/core/cluster_options_fwd.hxx
68
69
  - ext/couchbase/core/cluster_state.hxx
69
70
  - ext/couchbase/core/collection_id_cache_entry.hxx
70
71
  - ext/couchbase/core/collections_component.cxx
@@ -72,8 +73,9 @@ files:
72
73
  - ext/couchbase/core/collections_component_unit_test_api.hxx
73
74
  - ext/couchbase/core/collections_options.hxx
74
75
  - ext/couchbase/core/config_listener.hxx
75
- - ext/couchbase/core/config_profile.cxx
76
76
  - ext/couchbase/core/config_profile.hxx
77
+ - ext/couchbase/core/config_profiles.cxx
78
+ - ext/couchbase/core/config_profiles.hxx
77
79
  - ext/couchbase/core/core_sdk_shim.cxx
78
80
  - ext/couchbase/core/core_sdk_shim.hxx
79
81
  - ext/couchbase/core/crud_component.cxx
@@ -107,21 +109,35 @@ files:
107
109
  - ext/couchbase/core/impl/analytics_error_category.cxx
108
110
  - ext/couchbase/core/impl/append.cxx
109
111
  - ext/couchbase/core/impl/best_effort_retry_strategy.cxx
112
+ - ext/couchbase/core/impl/boolean_field_query.cxx
113
+ - ext/couchbase/core/impl/boolean_query.cxx
110
114
  - ext/couchbase/core/impl/bootstrap_state_listener.hxx
111
115
  - ext/couchbase/core/impl/build_deferred_query_indexes.cxx
112
116
  - ext/couchbase/core/impl/cluster.cxx
113
117
  - ext/couchbase/core/impl/collection_query_index_manager.cxx
114
118
  - ext/couchbase/core/impl/common_error_category.cxx
115
119
  - ext/couchbase/core/impl/configuration_profiles_registry.cxx
120
+ - ext/couchbase/core/impl/conjunction_query.cxx
116
121
  - ext/couchbase/core/impl/create_query_index.cxx
122
+ - ext/couchbase/core/impl/date_range.cxx
123
+ - ext/couchbase/core/impl/date_range_facet.cxx
124
+ - ext/couchbase/core/impl/date_range_facet_result.cxx
125
+ - ext/couchbase/core/impl/date_range_query.cxx
117
126
  - ext/couchbase/core/impl/decrement.cxx
127
+ - ext/couchbase/core/impl/disjunction_query.cxx
118
128
  - ext/couchbase/core/impl/dns_srv_tracker.cxx
119
129
  - ext/couchbase/core/impl/dns_srv_tracker.hxx
120
130
  - ext/couchbase/core/impl/drop_query_index.cxx
131
+ - ext/couchbase/core/impl/encoded_search_facet.hxx
132
+ - ext/couchbase/core/impl/encoded_search_query.hxx
133
+ - ext/couchbase/core/impl/encoded_search_sort.hxx
121
134
  - ext/couchbase/core/impl/exists.cxx
122
135
  - ext/couchbase/core/impl/expiry.cxx
123
136
  - ext/couchbase/core/impl/fail_fast_retry_strategy.cxx
124
137
  - ext/couchbase/core/impl/field_level_encryption_error_category.cxx
138
+ - ext/couchbase/core/impl/geo_bounding_box_query.cxx
139
+ - ext/couchbase/core/impl/geo_distance_query.cxx
140
+ - ext/couchbase/core/impl/geo_polygon_query.cxx
125
141
  - ext/couchbase/core/impl/get.cxx
126
142
  - ext/couchbase/core/impl/get_all_query_indexes.cxx
127
143
  - ext/couchbase/core/impl/get_all_replicas.cxx
@@ -134,23 +150,62 @@ files:
134
150
  - ext/couchbase/core/impl/get_replica.hxx
135
151
  - ext/couchbase/core/impl/increment.cxx
136
152
  - ext/couchbase/core/impl/insert.cxx
153
+ - ext/couchbase/core/impl/internal_date_range_facet_result.cxx
154
+ - ext/couchbase/core/impl/internal_date_range_facet_result.hxx
155
+ - ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx
156
+ - ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx
157
+ - ext/couchbase/core/impl/internal_search_error_context.cxx
158
+ - ext/couchbase/core/impl/internal_search_error_context.hxx
159
+ - ext/couchbase/core/impl/internal_search_meta_data.cxx
160
+ - ext/couchbase/core/impl/internal_search_meta_data.hxx
161
+ - ext/couchbase/core/impl/internal_search_result.cxx
162
+ - ext/couchbase/core/impl/internal_search_result.hxx
163
+ - ext/couchbase/core/impl/internal_search_row.cxx
164
+ - ext/couchbase/core/impl/internal_search_row.hxx
165
+ - ext/couchbase/core/impl/internal_search_row_location.hxx
166
+ - ext/couchbase/core/impl/internal_search_row_locations.cxx
167
+ - ext/couchbase/core/impl/internal_search_row_locations.hxx
168
+ - ext/couchbase/core/impl/internal_term_facet_result.cxx
169
+ - ext/couchbase/core/impl/internal_term_facet_result.hxx
137
170
  - ext/couchbase/core/impl/key_value_error_category.cxx
138
171
  - ext/couchbase/core/impl/lookup_in.cxx
139
172
  - ext/couchbase/core/impl/management_error_category.cxx
173
+ - ext/couchbase/core/impl/match_all_query.cxx
174
+ - ext/couchbase/core/impl/match_none_query.cxx
175
+ - ext/couchbase/core/impl/match_phrase_query.cxx
176
+ - ext/couchbase/core/impl/match_query.cxx
140
177
  - ext/couchbase/core/impl/mutate_in.cxx
141
178
  - ext/couchbase/core/impl/network_error_category.cxx
179
+ - ext/couchbase/core/impl/numeric_range.cxx
180
+ - ext/couchbase/core/impl/numeric_range_facet.cxx
181
+ - ext/couchbase/core/impl/numeric_range_facet_result.cxx
182
+ - ext/couchbase/core/impl/numeric_range_query.cxx
142
183
  - ext/couchbase/core/impl/observe_poll.cxx
143
184
  - ext/couchbase/core/impl/observe_poll.hxx
144
185
  - ext/couchbase/core/impl/observe_seqno.cxx
145
186
  - ext/couchbase/core/impl/observe_seqno.hxx
187
+ - ext/couchbase/core/impl/phrase_query.cxx
188
+ - ext/couchbase/core/impl/prefix_query.cxx
146
189
  - ext/couchbase/core/impl/prepend.cxx
147
190
  - ext/couchbase/core/impl/query.cxx
148
191
  - ext/couchbase/core/impl/query_error_category.cxx
192
+ - ext/couchbase/core/impl/query_string_query.cxx
193
+ - ext/couchbase/core/impl/regexp_query.cxx
149
194
  - ext/couchbase/core/impl/remove.cxx
150
195
  - ext/couchbase/core/impl/replace.cxx
151
196
  - ext/couchbase/core/impl/retry_action.cxx
152
197
  - ext/couchbase/core/impl/retry_reason.cxx
198
+ - ext/couchbase/core/impl/search.cxx
153
199
  - ext/couchbase/core/impl/search_error_category.cxx
200
+ - ext/couchbase/core/impl/search_error_context.cxx
201
+ - ext/couchbase/core/impl/search_meta_data.cxx
202
+ - ext/couchbase/core/impl/search_result.cxx
203
+ - ext/couchbase/core/impl/search_row.cxx
204
+ - ext/couchbase/core/impl/search_row_location.cxx
205
+ - ext/couchbase/core/impl/search_row_locations.cxx
206
+ - ext/couchbase/core/impl/search_sort_field.cxx
207
+ - ext/couchbase/core/impl/search_sort_id.cxx
208
+ - ext/couchbase/core/impl/search_sort_score.cxx
154
209
  - ext/couchbase/core/impl/streaming_json_lexter_error_category.cxx
155
210
  - ext/couchbase/core/impl/subdoc/array_add_unique.cxx
156
211
  - ext/couchbase/core/impl/subdoc/array_append.cxx
@@ -174,6 +229,10 @@ files:
174
229
  - ext/couchbase/core/impl/subdoc/remove.cxx
175
230
  - ext/couchbase/core/impl/subdoc/replace.cxx
176
231
  - ext/couchbase/core/impl/subdoc/upsert.cxx
232
+ - ext/couchbase/core/impl/term_facet.cxx
233
+ - ext/couchbase/core/impl/term_facet_result.cxx
234
+ - ext/couchbase/core/impl/term_query.cxx
235
+ - ext/couchbase/core/impl/term_range_query.cxx
177
236
  - ext/couchbase/core/impl/touch.cxx
178
237
  - ext/couchbase/core/impl/transaction_error_category.cxx
179
238
  - ext/couchbase/core/impl/transaction_get_result.cxx
@@ -182,6 +241,7 @@ files:
182
241
  - ext/couchbase/core/impl/upsert.cxx
183
242
  - ext/couchbase/core/impl/view_error_category.cxx
184
243
  - ext/couchbase/core/impl/watch_query_indexes.cxx
244
+ - ext/couchbase/core/impl/wildcard_query.cxx
185
245
  - ext/couchbase/core/impl/with_legacy_durability.hxx
186
246
  - ext/couchbase/core/io/dns_client.cxx
187
247
  - ext/couchbase/core/io/dns_client.hxx
@@ -290,6 +350,7 @@ files:
290
350
  - ext/couchbase/core/metrics/logging_meter.hxx
291
351
  - ext/couchbase/core/metrics/logging_meter_options.hxx
292
352
  - ext/couchbase/core/metrics/noop_meter.hxx
353
+ - ext/couchbase/core/mozilla_ca_bundle.hxx
293
354
  - ext/couchbase/core/n1ql_query_options.cxx
294
355
  - ext/couchbase/core/n1ql_query_options.hxx
295
356
  - ext/couchbase/core/operation_map.hxx
@@ -598,6 +659,7 @@ files:
598
659
  - ext/couchbase/core/protocol/server_request.hxx
599
660
  - ext/couchbase/core/protocol/status.cxx
600
661
  - ext/couchbase/core/protocol/status.hxx
662
+ - ext/couchbase/core/public_fwd.hxx
601
663
  - ext/couchbase/core/query_context.hxx
602
664
  - ext/couchbase/core/range_scan_options.cxx
603
665
  - ext/couchbase/core/range_scan_options.hxx
@@ -637,6 +699,7 @@ files:
637
699
  - ext/couchbase/core/stats_options.hxx
638
700
  - ext/couchbase/core/subdoc_options.hxx
639
701
  - ext/couchbase/core/timeout_defaults.hxx
702
+ - ext/couchbase/core/tls_verify_mode.hxx
640
703
  - ext/couchbase/core/topology/capabilities.hxx
641
704
  - ext/couchbase/core/topology/capabilities_fmt.hxx
642
705
  - ext/couchbase/core/topology/collections_manifest.hxx
@@ -664,9 +727,11 @@ files:
664
727
  - ext/couchbase/core/transactions/attempt_context.hxx
665
728
  - ext/couchbase/core/transactions/attempt_context_impl.cxx
666
729
  - ext/couchbase/core/transactions/attempt_context_impl.hxx
730
+ - ext/couchbase/core/transactions/attempt_context_testing_hooks.cxx
667
731
  - ext/couchbase/core/transactions/attempt_context_testing_hooks.hxx
668
732
  - ext/couchbase/core/transactions/attempt_state.hxx
669
733
  - ext/couchbase/core/transactions/binary.cxx
734
+ - ext/couchbase/core/transactions/cleanup_testing_hooks.cxx
670
735
  - ext/couchbase/core/transactions/cleanup_testing_hooks.hxx
671
736
  - ext/couchbase/core/transactions/document_metadata.hxx
672
737
  - ext/couchbase/core/transactions/durability_level.hxx
@@ -747,6 +812,8 @@ files:
747
812
  - ext/couchbase/couchbase/behavior_options.hxx
748
813
  - ext/couchbase/couchbase/best_effort_retry_strategy.hxx
749
814
  - ext/couchbase/couchbase/binary_collection.hxx
815
+ - ext/couchbase/couchbase/boolean_field_query.hxx
816
+ - ext/couchbase/couchbase/boolean_query.hxx
750
817
  - ext/couchbase/couchbase/bucket.hxx
751
818
  - ext/couchbase/couchbase/build_query_index_options.hxx
752
819
  - ext/couchbase/couchbase/cas.hxx
@@ -769,11 +836,18 @@ files:
769
836
  - ext/couchbase/couchbase/compression_options.hxx
770
837
  - ext/couchbase/couchbase/configuration_profile.hxx
771
838
  - ext/couchbase/couchbase/configuration_profiles_registry.hxx
839
+ - ext/couchbase/couchbase/conjunction_query.hxx
772
840
  - ext/couchbase/couchbase/counter_result.hxx
773
841
  - ext/couchbase/couchbase/create_primary_query_index_options.hxx
774
842
  - ext/couchbase/couchbase/create_query_index_options.hxx
843
+ - ext/couchbase/couchbase/date_range.hxx
844
+ - ext/couchbase/couchbase/date_range_facet.hxx
845
+ - ext/couchbase/couchbase/date_range_facet_result.hxx
846
+ - ext/couchbase/couchbase/date_range_query.hxx
775
847
  - ext/couchbase/couchbase/decrement_options.hxx
848
+ - ext/couchbase/couchbase/disjunction_query.hxx
776
849
  - ext/couchbase/couchbase/dns_options.hxx
850
+ - ext/couchbase/couchbase/doc_id_query.hxx
777
851
  - ext/couchbase/couchbase/drop_primary_query_index_options.hxx
778
852
  - ext/couchbase/couchbase/drop_query_index_options.hxx
779
853
  - ext/couchbase/couchbase/durability_level.hxx
@@ -783,6 +857,7 @@ files:
783
857
  - ext/couchbase/couchbase/exists_result.hxx
784
858
  - ext/couchbase/couchbase/expiry.hxx
785
859
  - ext/couchbase/couchbase/fail_fast_retry_strategy.hxx
860
+ - ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx
786
861
  - ext/couchbase/couchbase/fmt/analytics_status.hxx
787
862
  - ext/couchbase/couchbase/fmt/cas.hxx
788
863
  - ext/couchbase/couchbase/fmt/durability_level.hxx
@@ -792,7 +867,12 @@ files:
792
867
  - ext/couchbase/couchbase/fmt/query_scan_consistency.hxx
793
868
  - ext/couchbase/couchbase/fmt/query_status.hxx
794
869
  - ext/couchbase/couchbase/fmt/retry_reason.hxx
870
+ - ext/couchbase/couchbase/fmt/search_scan_consistency.hxx
795
871
  - ext/couchbase/couchbase/fmt/tls_verify_mode.hxx
872
+ - ext/couchbase/couchbase/geo_bounding_box_query.hxx
873
+ - ext/couchbase/couchbase/geo_distance_query.hxx
874
+ - ext/couchbase/couchbase/geo_point.hxx
875
+ - ext/couchbase/couchbase/geo_polygon_query.hxx
796
876
  - ext/couchbase/couchbase/get_all_query_indexes_options.hxx
797
877
  - ext/couchbase/couchbase/get_all_replicas_options.hxx
798
878
  - ext/couchbase/couchbase/get_and_lock_options.hxx
@@ -801,6 +881,7 @@ files:
801
881
  - ext/couchbase/couchbase/get_options.hxx
802
882
  - ext/couchbase/couchbase/get_replica_result.hxx
803
883
  - ext/couchbase/couchbase/get_result.hxx
884
+ - ext/couchbase/couchbase/highlight_style.hxx
804
885
  - ext/couchbase/couchbase/increment_options.hxx
805
886
  - ext/couchbase/couchbase/insert_options.hxx
806
887
  - ext/couchbase/couchbase/ip_protocol.hxx
@@ -814,6 +895,11 @@ files:
814
895
  - ext/couchbase/couchbase/lookup_in_specs.hxx
815
896
  - ext/couchbase/couchbase/management/query_index.hxx
816
897
  - ext/couchbase/couchbase/manager_error_context.hxx
898
+ - ext/couchbase/couchbase/match_all_query.hxx
899
+ - ext/couchbase/couchbase/match_none_query.hxx
900
+ - ext/couchbase/couchbase/match_operator.hxx
901
+ - ext/couchbase/couchbase/match_phrase_query.hxx
902
+ - ext/couchbase/couchbase/match_query.hxx
817
903
  - ext/couchbase/couchbase/metrics/meter.hxx
818
904
  - ext/couchbase/couchbase/metrics/otel_meter.hxx
819
905
  - ext/couchbase/couchbase/metrics_options.hxx
@@ -824,8 +910,14 @@ files:
824
910
  - ext/couchbase/couchbase/mutation_state.hxx
825
911
  - ext/couchbase/couchbase/mutation_token.hxx
826
912
  - ext/couchbase/couchbase/network_options.hxx
913
+ - ext/couchbase/couchbase/numeric_range.hxx
914
+ - ext/couchbase/couchbase/numeric_range_facet.hxx
915
+ - ext/couchbase/couchbase/numeric_range_facet_result.hxx
916
+ - ext/couchbase/couchbase/numeric_range_query.hxx
827
917
  - ext/couchbase/couchbase/password_authenticator.hxx
828
918
  - ext/couchbase/couchbase/persist_to.hxx
919
+ - ext/couchbase/couchbase/phrase_query.hxx
920
+ - ext/couchbase/couchbase/prefix_query.hxx
829
921
  - ext/couchbase/couchbase/prepend_options.hxx
830
922
  - ext/couchbase/couchbase/query_error_context.hxx
831
923
  - ext/couchbase/couchbase/query_index_manager.hxx
@@ -836,7 +928,9 @@ files:
836
928
  - ext/couchbase/couchbase/query_result.hxx
837
929
  - ext/couchbase/couchbase/query_scan_consistency.hxx
838
930
  - ext/couchbase/couchbase/query_status.hxx
931
+ - ext/couchbase/couchbase/query_string_query.hxx
839
932
  - ext/couchbase/couchbase/query_warning.hxx
933
+ - ext/couchbase/couchbase/regexp_query.hxx
840
934
  - ext/couchbase/couchbase/remove_options.hxx
841
935
  - ext/couchbase/couchbase/replace_options.hxx
842
936
  - ext/couchbase/couchbase/replicate_to.hxx
@@ -846,6 +940,28 @@ files:
846
940
  - ext/couchbase/couchbase/retry_request.hxx
847
941
  - ext/couchbase/couchbase/retry_strategy.hxx
848
942
  - ext/couchbase/couchbase/scope.hxx
943
+ - ext/couchbase/couchbase/search_date_range.hxx
944
+ - ext/couchbase/couchbase/search_error_context.hxx
945
+ - ext/couchbase/couchbase/search_facet.hxx
946
+ - ext/couchbase/couchbase/search_facet_result.hxx
947
+ - ext/couchbase/couchbase/search_meta_data.hxx
948
+ - ext/couchbase/couchbase/search_metrics.hxx
949
+ - ext/couchbase/couchbase/search_numeric_range.hxx
950
+ - ext/couchbase/couchbase/search_options.hxx
951
+ - ext/couchbase/couchbase/search_query.hxx
952
+ - ext/couchbase/couchbase/search_result.hxx
953
+ - ext/couchbase/couchbase/search_row.hxx
954
+ - ext/couchbase/couchbase/search_row_location.hxx
955
+ - ext/couchbase/couchbase/search_row_locations.hxx
956
+ - ext/couchbase/couchbase/search_scan_consistency.hxx
957
+ - ext/couchbase/couchbase/search_sort.hxx
958
+ - ext/couchbase/couchbase/search_sort_field.hxx
959
+ - ext/couchbase/couchbase/search_sort_field_missing.hxx
960
+ - ext/couchbase/couchbase/search_sort_field_mode.hxx
961
+ - ext/couchbase/couchbase/search_sort_field_type.hxx
962
+ - ext/couchbase/couchbase/search_sort_id.hxx
963
+ - ext/couchbase/couchbase/search_sort_score.hxx
964
+ - ext/couchbase/couchbase/search_term_range.hxx
849
965
  - ext/couchbase/couchbase/security_options.hxx
850
966
  - ext/couchbase/couchbase/store_semantics.hxx
851
967
  - ext/couchbase/couchbase/subdoc/array_add_unique.hxx
@@ -865,10 +981,15 @@ files:
865
981
  - ext/couchbase/couchbase/subdoc/replace.hxx
866
982
  - ext/couchbase/couchbase/subdoc/upsert.hxx
867
983
  - ext/couchbase/couchbase/subdocument_error_context.hxx
984
+ - ext/couchbase/couchbase/term_facet.hxx
985
+ - ext/couchbase/couchbase/term_facet_result.hxx
986
+ - ext/couchbase/couchbase/term_query.hxx
987
+ - ext/couchbase/couchbase/term_range_query.hxx
868
988
  - ext/couchbase/couchbase/timeout_options.hxx
869
989
  - ext/couchbase/couchbase/tls_verify_mode.hxx
870
990
  - ext/couchbase/couchbase/touch_options.hxx
871
991
  - ext/couchbase/couchbase/tracing/otel_tracer.hxx
992
+ - ext/couchbase/couchbase/tracing/request_span.hxx
872
993
  - ext/couchbase/couchbase/tracing/request_tracer.hxx
873
994
  - ext/couchbase/couchbase/tracing_options.hxx
874
995
  - ext/couchbase/couchbase/transaction_error_context.hxx
@@ -889,6 +1010,7 @@ files:
889
1010
  - ext/couchbase/couchbase/upsert_options.hxx
890
1011
  - ext/couchbase/couchbase/wan_development_configuration_profile.hxx
891
1012
  - ext/couchbase/couchbase/watch_query_indexes_options.hxx
1013
+ - ext/couchbase/couchbase/wildcard_query.hxx
892
1014
  - ext/couchbase/test/CMakeLists.txt
893
1015
  - ext/couchbase/test/another_simple_object.hxx
894
1016
  - ext/couchbase/test/benchmark_helper_integration.hxx
@@ -915,17 +1037,19 @@ files:
915
1037
  - ext/couchbase/test/test_integration_subdoc.cxx
916
1038
  - ext/couchbase/test/test_integration_tracer.cxx
917
1039
  - ext/couchbase/test/test_integration_transcoders.cxx
918
- - ext/couchbase/test/test_transaction_transaction_context.cxx
919
- - ext/couchbase/test/test_transaction_transaction_public_async_api.cxx
920
- - ext/couchbase/test/test_transaction_transaction_public_blocking_api.cxx
921
- - ext/couchbase/test/test_transaction_transaction_simple.cxx
922
- - ext/couchbase/test/test_transaction_transaction_simple_async.cxx
1040
+ - ext/couchbase/test/test_transaction_context.cxx
1041
+ - ext/couchbase/test/test_transaction_examples.cxx
1042
+ - ext/couchbase/test/test_transaction_public_async_api.cxx
1043
+ - ext/couchbase/test/test_transaction_public_blocking_api.cxx
1044
+ - ext/couchbase/test/test_transaction_simple.cxx
1045
+ - ext/couchbase/test/test_transaction_simple_async.cxx
923
1046
  - ext/couchbase/test/test_unit_config_profiles.cxx
924
1047
  - ext/couchbase/test/test_unit_connection_string.cxx
925
1048
  - ext/couchbase/test/test_unit_json_streaming_lexer.cxx
926
1049
  - ext/couchbase/test/test_unit_json_transcoder.cxx
927
1050
  - ext/couchbase/test/test_unit_jsonsl.cxx
928
1051
  - ext/couchbase/test/test_unit_options.cxx
1052
+ - ext/couchbase/test/test_unit_search.cxx
929
1053
  - ext/couchbase/test/test_unit_transaction_logging.cxx
930
1054
  - ext/couchbase/test/test_unit_transaction_utils.cxx
931
1055
  - ext/couchbase/test/test_unit_utils.cxx
@@ -2249,9 +2373,13 @@ files:
2249
2373
  - lib/couchbase/options.rb
2250
2374
  - lib/couchbase/query_options.rb
2251
2375
  - lib/couchbase/railtie.rb
2376
+ - lib/couchbase/raw_binary_transcoder.rb
2377
+ - lib/couchbase/raw_json_transcoder.rb
2378
+ - lib/couchbase/raw_string_transcoder.rb
2252
2379
  - lib/couchbase/scope.rb
2253
2380
  - lib/couchbase/search_options.rb
2254
2381
  - lib/couchbase/subdoc.rb
2382
+ - lib/couchbase/transcoder_flags.rb
2255
2383
  - lib/couchbase/utils.rb
2256
2384
  - lib/couchbase/utils/generic_logger_adapter.rb
2257
2385
  - lib/couchbase/utils/stdlib_logger_adapter.rb
@@ -2266,9 +2394,9 @@ metadata:
2266
2394
  homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
2267
2395
  bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
2268
2396
  mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
2269
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.4.2
2270
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.4.2
2271
- documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.2/index.html
2397
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.4.3
2398
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.4.3
2399
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.3/index.html
2272
2400
  github_repo: ssh://github.com/couchbase/couchbase-ruby-client
2273
2401
  rubygems_mfa_required: 'true'
2274
2402
  post_install_message:
@@ -1,47 +0,0 @@
1
- /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
- /*
3
- * Copyright 2020-2021 Couchbase, Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- #include "config_profile.hxx"
19
-
20
- couchbase::core::config_profiles&
21
- couchbase::core::known_profiles()
22
- {
23
- static couchbase::core::config_profiles profiles{};
24
- return profiles;
25
- }
26
-
27
- void
28
- couchbase::core::development_profile::apply(couchbase::core::cluster_options& opts)
29
- {
30
- opts.key_value_timeout = std::chrono::seconds(20);
31
- opts.key_value_durable_timeout = std::chrono::seconds(20);
32
- opts.connect_timeout = std::chrono::seconds(20);
33
- opts.view_timeout = std::chrono::minutes(2);
34
- opts.query_timeout = std::chrono::minutes(2);
35
- opts.analytics_timeout = std::chrono::minutes(2);
36
- opts.search_timeout = std::chrono::minutes(2);
37
- opts.management_timeout = std::chrono::minutes(2);
38
-
39
- // C++SDK specific
40
- opts.dns_config = couchbase::core::io::dns::dns_config{
41
- opts.dns_config.nameserver(),
42
- opts.dns_config.port(),
43
- std::chrono::seconds(20), // timeout to make DNS-SRV query
44
- };
45
- opts.resolve_timeout = std::chrono::seconds(20); // timeout to resolve hostnames
46
- opts.bootstrap_timeout = std::chrono::minutes(2); // overall timeout to bootstrap
47
- }