couchbase 3.4.0 → 3.4.2
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 +4 -4
- data/README.md +2 -2
- data/ext/couchbase/CMakeLists.txt +10 -3
- data/ext/couchbase/cmake/CompilerWarnings.cmake +12 -4
- data/ext/couchbase/cmake/Documentation.cmake +4 -3
- data/ext/couchbase/cmake/OpenSSL.cmake +52 -7
- data/ext/couchbase/cmake/ThirdPartyDependencies.cmake +4 -0
- data/ext/couchbase/cmake/VersionInfo.cmake +39 -3
- data/ext/couchbase/cmake/test_openssl.cxx +7 -0
- data/ext/couchbase/core/cluster_options.hxx +0 -1
- data/ext/couchbase/core/config_profile.cxx +23 -1
- data/ext/couchbase/core/config_profile.hxx +2 -12
- data/ext/couchbase/core/crypto/CMakeLists.txt +5 -1
- data/ext/couchbase/core/impl/analytics.cxx +236 -0
- data/ext/couchbase/core/impl/cluster.cxx +0 -1
- data/ext/couchbase/core/impl/collection_query_index_manager.cxx +3 -3
- data/ext/couchbase/core/impl/dns_srv_tracker.cxx +5 -3
- data/ext/couchbase/core/impl/get_all_query_indexes.cxx +3 -3
- data/ext/couchbase/core/impl/query.cxx +5 -5
- data/ext/couchbase/core/impl/transaction_get_result.cxx +54 -0
- data/ext/couchbase/core/io/dns_client.cxx +225 -0
- data/ext/couchbase/core/io/dns_client.hxx +19 -188
- data/ext/couchbase/core/meta/CMakeLists.txt +7 -5
- data/ext/couchbase/core/meta/version.cxx +19 -0
- data/ext/couchbase/core/operations/document_search.cxx +5 -2
- data/ext/couchbase/core/operations/document_search.hxx +0 -1
- data/ext/couchbase/core/transactions/active_transaction_record.hxx +2 -2
- data/ext/couchbase/core/transactions/atr_cleanup_entry.cxx +1 -0
- data/ext/couchbase/core/transactions/attempt_context_impl.cxx +65 -31
- data/ext/couchbase/core/transactions/attempt_context_impl.hxx +44 -23
- data/ext/couchbase/core/transactions/forward_compat.hxx +2 -2
- data/ext/couchbase/core/transactions/internal/transaction_context.hxx +13 -13
- data/ext/couchbase/core/transactions/internal/transaction_fields.hxx +1 -0
- data/ext/couchbase/core/transactions/internal/transactions_cleanup.hxx +7 -1
- data/ext/couchbase/core/transactions/staged_mutation.cxx +1 -1
- data/ext/couchbase/core/transactions/staged_mutation.hxx +12 -2
- data/ext/couchbase/core/transactions/transaction_context.cxx +9 -11
- data/ext/couchbase/core/transactions/transaction_get_result.cxx +41 -31
- data/ext/couchbase/core/transactions/transaction_get_result.hxx +7 -3
- data/ext/couchbase/core/transactions/transaction_links.hxx +13 -1
- data/ext/couchbase/core/transactions/transactions_cleanup.cxx +144 -155
- data/ext/couchbase/core/transactions/waitable_op_list.hxx +1 -0
- data/ext/couchbase/core/utils/connection_string.cxx +10 -3
- data/ext/couchbase/core/utils/connection_string.hxx +3 -3
- data/ext/couchbase/couchbase/analytics_error_context.hxx +143 -0
- data/ext/couchbase/couchbase/analytics_meta_data.hxx +155 -0
- data/ext/couchbase/couchbase/analytics_metrics.hxx +163 -0
- data/ext/couchbase/couchbase/analytics_options.hxx +359 -0
- data/ext/couchbase/couchbase/analytics_result.hxx +102 -0
- data/ext/couchbase/couchbase/analytics_scan_consistency.hxx +46 -0
- data/ext/couchbase/couchbase/analytics_status.hxx +41 -0
- data/ext/couchbase/couchbase/analytics_warning.hxx +85 -0
- data/ext/couchbase/couchbase/cluster.hxx +35 -2
- data/ext/couchbase/couchbase/cluster_options.hxx +10 -10
- data/ext/couchbase/couchbase/collection.hxx +22 -17
- data/ext/couchbase/couchbase/collection_query_index_manager.hxx +1 -1
- data/ext/couchbase/couchbase/common_options.hxx +1 -1
- data/ext/couchbase/couchbase/configuration_profile.hxx +1 -1
- data/ext/couchbase/couchbase/configuration_profiles_registry.hxx +0 -1
- data/ext/couchbase/couchbase/create_primary_query_index_options.hxx +1 -1
- data/ext/couchbase/couchbase/drop_primary_query_index_options.hxx +1 -1
- data/ext/couchbase/couchbase/drop_query_index_options.hxx +1 -1
- data/ext/couchbase/couchbase/fmt/analytics_status.hxx +76 -0
- data/ext/couchbase/couchbase/fmt/cas.hxx +12 -0
- data/ext/couchbase/couchbase/fmt/durability_level.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/key_value_status_code.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/mutation_token.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/query_scan_consistency.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/query_status.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/retry_reason.hxx +6 -0
- data/ext/couchbase/couchbase/fmt/tls_verify_mode.hxx +6 -0
- data/ext/couchbase/couchbase/get_all_query_indexes_options.hxx +5 -4
- data/ext/couchbase/couchbase/query_index_manager.hxx +4 -2
- data/ext/couchbase/couchbase/query_options.hxx +0 -1
- data/ext/couchbase/couchbase/scope.hxx +34 -1
- data/ext/couchbase/couchbase/subdoc/array_add_unique.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/array_append.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/array_insert.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/array_prepend.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/count.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/counter.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/exists.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/get.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/insert.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/remove.hxx +2 -0
- data/ext/couchbase/couchbase/subdoc/replace.hxx +3 -1
- data/ext/couchbase/couchbase/subdoc/upsert.hxx +2 -0
- data/ext/couchbase/couchbase/transaction_op_error_context.hxx +4 -4
- data/ext/couchbase/couchbase/transactions/attempt_context.hxx +1 -1
- data/ext/couchbase/couchbase/transactions/transaction_get_result.hxx +36 -51
- data/ext/couchbase/couchbase/transactions/transactions_config.hxx +1 -1
- data/ext/couchbase/test/CMakeLists.txt +3 -2
- data/ext/couchbase/test/test_helper.hxx +1 -1
- data/ext/couchbase/test/test_integration_analytics.cxx +289 -13
- data/ext/couchbase/test/test_integration_crud.cxx +8 -1
- data/ext/couchbase/test/test_integration_examples.cxx +182 -0
- data/ext/couchbase/test/test_integration_management.cxx +15 -3
- data/ext/couchbase/test/test_integration_search.cxx +601 -0
- data/ext/couchbase/test/test_transaction_transaction_simple.cxx +73 -0
- data/ext/couchbase/test/test_unit_config_profiles.cxx +12 -12
- data/ext/couchbase/test/test_unit_connection_string.cxx +35 -0
- data/ext/couchbase/test/test_unit_transaction_utils.cxx +76 -19
- data/ext/couchbase/third_party/snappy/CMakeLists.txt +150 -27
- data/ext/couchbase/third_party/snappy/cmake/config.h.in +28 -24
- data/ext/couchbase/third_party/snappy/snappy-internal.h +189 -25
- data/ext/couchbase/third_party/snappy/snappy-sinksource.cc +26 -9
- data/ext/couchbase/third_party/snappy/snappy-sinksource.h +11 -11
- data/ext/couchbase/third_party/snappy/snappy-stubs-internal.cc +1 -1
- data/ext/couchbase/third_party/snappy/snappy-stubs-internal.h +227 -308
- data/ext/couchbase/third_party/snappy/snappy-stubs-public.h.in +0 -11
- data/ext/couchbase/third_party/snappy/snappy.cc +1176 -410
- data/ext/couchbase/third_party/snappy/snappy.h +19 -4
- data/ext/couchbase.cxx +506 -26
- data/ext/extconf.rb +2 -1
- data/ext/revisions.rb +3 -2
- data/lib/couchbase/binary_collection.rb +4 -4
- data/lib/couchbase/cluster.rb +13 -9
- data/lib/couchbase/cluster_registry.rb +7 -2
- data/lib/couchbase/collection.rb +5 -0
- data/lib/couchbase/configuration.rb +3 -4
- data/lib/couchbase/errors.rb +10 -0
- data/lib/couchbase/management/collection_query_index_manager.rb +183 -0
- data/lib/couchbase/management/query_index_manager.rb +35 -3
- data/lib/couchbase/management.rb +1 -0
- data/lib/couchbase/options.rb +87 -5
- data/lib/couchbase/search_options.rb +158 -240
- data/lib/couchbase/version.rb +1 -1
- metadata +21 -6
- data/ext/couchbase/core/CMakeLists.txt +0 -0
data/lib/couchbase/version.rb
CHANGED
|
@@ -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.
|
|
22
|
+
VERSION.update(:sdk => "3.4.2".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.
|
|
4
|
+
version: 3.4.2
|
|
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-
|
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Modern SDK for Couchbase Server
|
|
14
14
|
email:
|
|
@@ -41,7 +41,7 @@ files:
|
|
|
41
41
|
- ext/couchbase/cmake/build_config.hxx.in
|
|
42
42
|
- ext/couchbase/cmake/build_version.hxx.in
|
|
43
43
|
- ext/couchbase/cmake/test_filesystem.cpp.in
|
|
44
|
-
- ext/couchbase/
|
|
44
|
+
- ext/couchbase/cmake/test_openssl.cxx
|
|
45
45
|
- ext/couchbase/core/agent.cxx
|
|
46
46
|
- ext/couchbase/core/agent.hxx
|
|
47
47
|
- ext/couchbase/core/agent_config.cxx
|
|
@@ -103,6 +103,7 @@ files:
|
|
|
103
103
|
- ext/couchbase/core/error_context/view.hxx
|
|
104
104
|
- ext/couchbase/core/free_form_http_request.cxx
|
|
105
105
|
- ext/couchbase/core/free_form_http_request.hxx
|
|
106
|
+
- ext/couchbase/core/impl/analytics.cxx
|
|
106
107
|
- ext/couchbase/core/impl/analytics_error_category.cxx
|
|
107
108
|
- ext/couchbase/core/impl/append.cxx
|
|
108
109
|
- ext/couchbase/core/impl/best_effort_retry_strategy.cxx
|
|
@@ -175,12 +176,14 @@ files:
|
|
|
175
176
|
- ext/couchbase/core/impl/subdoc/upsert.cxx
|
|
176
177
|
- ext/couchbase/core/impl/touch.cxx
|
|
177
178
|
- ext/couchbase/core/impl/transaction_error_category.cxx
|
|
179
|
+
- ext/couchbase/core/impl/transaction_get_result.cxx
|
|
178
180
|
- ext/couchbase/core/impl/transaction_op_error_category.cxx
|
|
179
181
|
- ext/couchbase/core/impl/unlock.cxx
|
|
180
182
|
- ext/couchbase/core/impl/upsert.cxx
|
|
181
183
|
- ext/couchbase/core/impl/view_error_category.cxx
|
|
182
184
|
- ext/couchbase/core/impl/watch_query_indexes.cxx
|
|
183
185
|
- ext/couchbase/core/impl/with_legacy_durability.hxx
|
|
186
|
+
- ext/couchbase/core/io/dns_client.cxx
|
|
184
187
|
- ext/couchbase/core/io/dns_client.hxx
|
|
185
188
|
- ext/couchbase/core/io/dns_codec.hxx
|
|
186
189
|
- ext/couchbase/core/io/dns_config.cxx
|
|
@@ -732,6 +735,14 @@ files:
|
|
|
732
735
|
- ext/couchbase/core/view_scan_consistency.hxx
|
|
733
736
|
- ext/couchbase/core/view_sort_order.hxx
|
|
734
737
|
- ext/couchbase/core/wait_until_ready_options.hxx
|
|
738
|
+
- ext/couchbase/couchbase/analytics_error_context.hxx
|
|
739
|
+
- ext/couchbase/couchbase/analytics_meta_data.hxx
|
|
740
|
+
- ext/couchbase/couchbase/analytics_metrics.hxx
|
|
741
|
+
- ext/couchbase/couchbase/analytics_options.hxx
|
|
742
|
+
- ext/couchbase/couchbase/analytics_result.hxx
|
|
743
|
+
- ext/couchbase/couchbase/analytics_scan_consistency.hxx
|
|
744
|
+
- ext/couchbase/couchbase/analytics_status.hxx
|
|
745
|
+
- ext/couchbase/couchbase/analytics_warning.hxx
|
|
735
746
|
- ext/couchbase/couchbase/append_options.hxx
|
|
736
747
|
- ext/couchbase/couchbase/behavior_options.hxx
|
|
737
748
|
- ext/couchbase/couchbase/best_effort_retry_strategy.hxx
|
|
@@ -772,6 +783,7 @@ files:
|
|
|
772
783
|
- ext/couchbase/couchbase/exists_result.hxx
|
|
773
784
|
- ext/couchbase/couchbase/expiry.hxx
|
|
774
785
|
- ext/couchbase/couchbase/fail_fast_retry_strategy.hxx
|
|
786
|
+
- ext/couchbase/couchbase/fmt/analytics_status.hxx
|
|
775
787
|
- ext/couchbase/couchbase/fmt/cas.hxx
|
|
776
788
|
- ext/couchbase/couchbase/fmt/durability_level.hxx
|
|
777
789
|
- ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx
|
|
@@ -893,11 +905,13 @@ files:
|
|
|
893
905
|
- ext/couchbase/test/test_integration_crud.cxx
|
|
894
906
|
- ext/couchbase/test/test_integration_diagnostics.cxx
|
|
895
907
|
- ext/couchbase/test/test_integration_durability.cxx
|
|
908
|
+
- ext/couchbase/test/test_integration_examples.cxx
|
|
896
909
|
- ext/couchbase/test/test_integration_management.cxx
|
|
897
910
|
- ext/couchbase/test/test_integration_meter.cxx
|
|
898
911
|
- ext/couchbase/test/test_integration_query.cxx
|
|
899
912
|
- ext/couchbase/test/test_integration_range_scan.cxx
|
|
900
913
|
- ext/couchbase/test/test_integration_read_replica.cxx
|
|
914
|
+
- ext/couchbase/test/test_integration_search.cxx
|
|
901
915
|
- ext/couchbase/test/test_integration_subdoc.cxx
|
|
902
916
|
- ext/couchbase/test/test_integration_tracer.cxx
|
|
903
917
|
- ext/couchbase/test/test_integration_transcoders.cxx
|
|
@@ -2226,6 +2240,7 @@ files:
|
|
|
2226
2240
|
- lib/couchbase/management/analytics_index_manager.rb
|
|
2227
2241
|
- lib/couchbase/management/bucket_manager.rb
|
|
2228
2242
|
- lib/couchbase/management/collection_manager.rb
|
|
2243
|
+
- lib/couchbase/management/collection_query_index_manager.rb
|
|
2229
2244
|
- lib/couchbase/management/query_index_manager.rb
|
|
2230
2245
|
- lib/couchbase/management/search_index_manager.rb
|
|
2231
2246
|
- lib/couchbase/management/user_manager.rb
|
|
@@ -2251,9 +2266,9 @@ metadata:
|
|
|
2251
2266
|
homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
|
|
2252
2267
|
bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
|
|
2253
2268
|
mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
|
|
2254
|
-
source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.4.
|
|
2255
|
-
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.4.
|
|
2256
|
-
documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.4.
|
|
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
|
|
2257
2272
|
github_repo: ssh://github.com/couchbase/couchbase-ruby-client
|
|
2258
2273
|
rubygems_mfa_required: 'true'
|
|
2259
2274
|
post_install_message:
|
|
File without changes
|