couchbase 3.0.0.alpha.2-universal-darwin-19 → 3.0.0.alpha.3-universal-darwin-19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/tests-dev-preview.yml +52 -0
- data/.gitmodules +3 -0
- data/.idea/vcs.xml +1 -0
- data/.yardopts +1 -0
- data/README.md +1 -1
- data/Rakefile +5 -1
- data/bin/init-cluster +13 -5
- data/couchbase.gemspec +2 -1
- data/examples/managing_query_indexes.rb +1 -1
- data/examples/managing_search_indexes.rb +62 -0
- data/examples/search.rb +187 -0
- data/ext/.clang-tidy +1 -0
- data/ext/build_version.hxx.in +1 -1
- data/ext/couchbase/bucket.hxx +0 -40
- data/ext/couchbase/couchbase.cxx +2578 -1368
- data/ext/couchbase/io/http_session.hxx +27 -7
- data/ext/couchbase/io/mcbp_parser.hxx +2 -0
- data/ext/couchbase/io/mcbp_session.hxx +53 -24
- data/ext/couchbase/io/session_manager.hxx +6 -1
- data/ext/couchbase/operations.hxx +13 -0
- data/ext/couchbase/operations/bucket_create.hxx +1 -0
- data/ext/couchbase/operations/bucket_drop.hxx +1 -0
- data/ext/couchbase/operations/bucket_flush.hxx +1 -0
- data/ext/couchbase/operations/bucket_get.hxx +1 -0
- data/ext/couchbase/operations/bucket_get_all.hxx +1 -0
- data/ext/couchbase/operations/bucket_update.hxx +1 -0
- data/ext/couchbase/operations/cluster_developer_preview_enable.hxx +1 -0
- data/ext/couchbase/operations/collection_create.hxx +6 -1
- data/ext/couchbase/operations/collection_drop.hxx +1 -0
- data/ext/couchbase/operations/command.hxx +86 -11
- data/ext/couchbase/operations/document_decrement.hxx +1 -0
- data/ext/couchbase/operations/document_exists.hxx +1 -0
- data/ext/couchbase/operations/document_get.hxx +1 -0
- data/ext/couchbase/operations/document_get_and_lock.hxx +1 -0
- data/ext/couchbase/operations/document_get_and_touch.hxx +1 -0
- data/ext/couchbase/operations/document_get_projected.hxx +243 -0
- data/ext/couchbase/operations/document_increment.hxx +4 -1
- data/ext/couchbase/operations/document_insert.hxx +1 -0
- data/ext/couchbase/operations/document_lookup_in.hxx +1 -0
- data/ext/couchbase/operations/document_mutate_in.hxx +1 -0
- data/ext/couchbase/operations/document_query.hxx +13 -2
- data/ext/couchbase/operations/document_remove.hxx +1 -0
- data/ext/couchbase/operations/document_replace.hxx +1 -0
- data/ext/couchbase/operations/document_search.hxx +337 -0
- data/ext/couchbase/operations/document_touch.hxx +1 -0
- data/ext/couchbase/operations/document_unlock.hxx +1 -0
- data/ext/couchbase/operations/document_upsert.hxx +1 -0
- data/ext/couchbase/operations/query_index_build_deferred.hxx +1 -0
- data/ext/couchbase/operations/query_index_create.hxx +1 -0
- data/ext/couchbase/operations/query_index_drop.hxx +1 -0
- data/ext/couchbase/operations/query_index_get_all.hxx +1 -0
- data/ext/couchbase/operations/scope_create.hxx +1 -0
- data/ext/couchbase/operations/scope_drop.hxx +1 -0
- data/ext/couchbase/operations/scope_get_all.hxx +2 -0
- data/ext/couchbase/operations/search_index.hxx +62 -0
- data/ext/couchbase/operations/search_index_analyze_document.hxx +92 -0
- data/ext/couchbase/operations/search_index_control_ingest.hxx +78 -0
- data/ext/couchbase/operations/search_index_control_plan_freeze.hxx +80 -0
- data/ext/couchbase/operations/search_index_control_query.hxx +80 -0
- data/ext/couchbase/operations/search_index_drop.hxx +77 -0
- data/ext/couchbase/operations/search_index_get.hxx +80 -0
- data/ext/couchbase/operations/search_index_get_all.hxx +82 -0
- data/ext/couchbase/operations/search_index_get_documents_count.hxx +81 -0
- data/ext/couchbase/operations/search_index_upsert.hxx +106 -0
- data/ext/couchbase/protocol/client_opcode.hxx +10 -0
- data/ext/couchbase/protocol/cmd_get_collection_id.hxx +117 -0
- data/ext/couchbase/timeout_defaults.hxx +32 -0
- data/ext/couchbase/version.hxx +1 -1
- data/ext/test/main.cxx +5 -5
- data/lib/couchbase/binary_collection.rb +16 -12
- data/lib/couchbase/binary_collection_options.rb +4 -0
- data/lib/couchbase/cluster.rb +88 -8
- data/lib/couchbase/collection.rb +39 -15
- data/lib/couchbase/collection_options.rb +19 -2
- data/lib/couchbase/json_transcoder.rb +2 -2
- data/lib/couchbase/management/bucket_manager.rb +37 -23
- data/lib/couchbase/management/collection_manager.rb +15 -6
- data/lib/couchbase/management/query_index_manager.rb +16 -6
- data/lib/couchbase/management/search_index_manager.rb +61 -14
- data/lib/couchbase/search_options.rb +1492 -0
- data/lib/couchbase/version.rb +1 -1
- metadata +22 -2
data/lib/couchbase/version.rb
CHANGED
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.0.0.alpha.
|
4
|
+
version: 3.0.0.alpha.3
|
5
5
|
platform: universal-darwin-19
|
6
6
|
authors:
|
7
7
|
- Sergey Avseyev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,6 +74,7 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- ".github/workflows/tests-6.0.3.yml"
|
77
|
+
- ".github/workflows/tests-dev-preview.yml"
|
77
78
|
- ".github/workflows/tests.yml"
|
78
79
|
- ".gitignore"
|
79
80
|
- ".gitmodules"
|
@@ -81,6 +82,7 @@ files:
|
|
81
82
|
- ".idea/dictionaries/gem_terms.xml"
|
82
83
|
- ".idea/inspectionProfiles/Project_Default.xml"
|
83
84
|
- ".idea/vcs.xml"
|
85
|
+
- ".yardopts"
|
84
86
|
- Gemfile
|
85
87
|
- LICENSE.txt
|
86
88
|
- README.md
|
@@ -93,8 +95,10 @@ files:
|
|
93
95
|
- examples/managing_buckets.rb
|
94
96
|
- examples/managing_collections.rb
|
95
97
|
- examples/managing_query_indexes.rb
|
98
|
+
- examples/managing_search_indexes.rb
|
96
99
|
- examples/query.rb
|
97
100
|
- examples/query_with_consistency.rb
|
101
|
+
- examples/search.rb
|
98
102
|
- examples/subdocument.rb
|
99
103
|
- ext/.clang-format
|
100
104
|
- ext/.clang-tidy
|
@@ -158,6 +162,7 @@ files:
|
|
158
162
|
- ext/couchbase/operations/document_get.hxx
|
159
163
|
- ext/couchbase/operations/document_get_and_lock.hxx
|
160
164
|
- ext/couchbase/operations/document_get_and_touch.hxx
|
165
|
+
- ext/couchbase/operations/document_get_projected.hxx
|
161
166
|
- ext/couchbase/operations/document_increment.hxx
|
162
167
|
- ext/couchbase/operations/document_insert.hxx
|
163
168
|
- ext/couchbase/operations/document_lookup_in.hxx
|
@@ -165,6 +170,7 @@ files:
|
|
165
170
|
- ext/couchbase/operations/document_query.hxx
|
166
171
|
- ext/couchbase/operations/document_remove.hxx
|
167
172
|
- ext/couchbase/operations/document_replace.hxx
|
173
|
+
- ext/couchbase/operations/document_search.hxx
|
168
174
|
- ext/couchbase/operations/document_touch.hxx
|
169
175
|
- ext/couchbase/operations/document_unlock.hxx
|
170
176
|
- ext/couchbase/operations/document_upsert.hxx
|
@@ -175,6 +181,16 @@ files:
|
|
175
181
|
- ext/couchbase/operations/scope_create.hxx
|
176
182
|
- ext/couchbase/operations/scope_drop.hxx
|
177
183
|
- ext/couchbase/operations/scope_get_all.hxx
|
184
|
+
- ext/couchbase/operations/search_index.hxx
|
185
|
+
- ext/couchbase/operations/search_index_analyze_document.hxx
|
186
|
+
- ext/couchbase/operations/search_index_control_ingest.hxx
|
187
|
+
- ext/couchbase/operations/search_index_control_plan_freeze.hxx
|
188
|
+
- ext/couchbase/operations/search_index_control_query.hxx
|
189
|
+
- ext/couchbase/operations/search_index_drop.hxx
|
190
|
+
- ext/couchbase/operations/search_index_get.hxx
|
191
|
+
- ext/couchbase/operations/search_index_get_all.hxx
|
192
|
+
- ext/couchbase/operations/search_index_get_documents_count.hxx
|
193
|
+
- ext/couchbase/operations/search_index_upsert.hxx
|
178
194
|
- ext/couchbase/platform/base64.cc
|
179
195
|
- ext/couchbase/platform/base64.h
|
180
196
|
- ext/couchbase/platform/random.cc
|
@@ -193,6 +209,7 @@ files:
|
|
193
209
|
- ext/couchbase/protocol/cmd_get_and_lock.hxx
|
194
210
|
- ext/couchbase/protocol/cmd_get_and_touch.hxx
|
195
211
|
- ext/couchbase/protocol/cmd_get_cluster_config.hxx
|
212
|
+
- ext/couchbase/protocol/cmd_get_collection_id.hxx
|
196
213
|
- ext/couchbase/protocol/cmd_get_collections_manifest.hxx
|
197
214
|
- ext/couchbase/protocol/cmd_get_error_map.hxx
|
198
215
|
- ext/couchbase/protocol/cmd_hello.hxx
|
@@ -220,6 +237,7 @@ files:
|
|
220
237
|
- ext/couchbase/protocol/status.hxx
|
221
238
|
- ext/couchbase/protocol/unsigned_leb128.h
|
222
239
|
- ext/couchbase/service_type.hxx
|
240
|
+
- ext/couchbase/timeout_defaults.hxx
|
223
241
|
- ext/couchbase/utils/byteswap.hxx
|
224
242
|
- ext/couchbase/utils/crc32.hxx
|
225
243
|
- ext/couchbase/utils/url_codec.hxx
|
@@ -2134,6 +2152,7 @@ files:
|
|
2134
2152
|
- lib/couchbase/management/view_index_manager.rb
|
2135
2153
|
- lib/couchbase/mutation_state.rb
|
2136
2154
|
- lib/couchbase/scope.rb
|
2155
|
+
- lib/couchbase/search_options.rb
|
2137
2156
|
- lib/couchbase/subdoc.rb
|
2138
2157
|
- lib/couchbase/version.rb
|
2139
2158
|
- rbi/couchbase.rbi
|
@@ -2144,6 +2163,7 @@ metadata:
|
|
2144
2163
|
homepage_uri: https://www.couchbase.com
|
2145
2164
|
source_code_uri: https://github.com/couchbase/couchbase-ruby-client
|
2146
2165
|
changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases
|
2166
|
+
github_repo: ssh://github.com/couchbase/couchbase-ruby-client
|
2147
2167
|
post_install_message:
|
2148
2168
|
rdoc_options:
|
2149
2169
|
- "--exclude"
|