couchbase 3.0.0.alpha.2 → 3.0.0.alpha.3
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: ruby
|
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
|
@@ -75,6 +75,7 @@ extensions:
|
|
75
75
|
extra_rdoc_files: []
|
76
76
|
files:
|
77
77
|
- ".github/workflows/tests-6.0.3.yml"
|
78
|
+
- ".github/workflows/tests-dev-preview.yml"
|
78
79
|
- ".github/workflows/tests.yml"
|
79
80
|
- ".gitignore"
|
80
81
|
- ".gitmodules"
|
@@ -82,6 +83,7 @@ files:
|
|
82
83
|
- ".idea/dictionaries/gem_terms.xml"
|
83
84
|
- ".idea/inspectionProfiles/Project_Default.xml"
|
84
85
|
- ".idea/vcs.xml"
|
86
|
+
- ".yardopts"
|
85
87
|
- Gemfile
|
86
88
|
- LICENSE.txt
|
87
89
|
- README.md
|
@@ -94,8 +96,10 @@ files:
|
|
94
96
|
- examples/managing_buckets.rb
|
95
97
|
- examples/managing_collections.rb
|
96
98
|
- examples/managing_query_indexes.rb
|
99
|
+
- examples/managing_search_indexes.rb
|
97
100
|
- examples/query.rb
|
98
101
|
- examples/query_with_consistency.rb
|
102
|
+
- examples/search.rb
|
99
103
|
- examples/subdocument.rb
|
100
104
|
- ext/.clang-format
|
101
105
|
- ext/.clang-tidy
|
@@ -159,6 +163,7 @@ files:
|
|
159
163
|
- ext/couchbase/operations/document_get.hxx
|
160
164
|
- ext/couchbase/operations/document_get_and_lock.hxx
|
161
165
|
- ext/couchbase/operations/document_get_and_touch.hxx
|
166
|
+
- ext/couchbase/operations/document_get_projected.hxx
|
162
167
|
- ext/couchbase/operations/document_increment.hxx
|
163
168
|
- ext/couchbase/operations/document_insert.hxx
|
164
169
|
- ext/couchbase/operations/document_lookup_in.hxx
|
@@ -166,6 +171,7 @@ files:
|
|
166
171
|
- ext/couchbase/operations/document_query.hxx
|
167
172
|
- ext/couchbase/operations/document_remove.hxx
|
168
173
|
- ext/couchbase/operations/document_replace.hxx
|
174
|
+
- ext/couchbase/operations/document_search.hxx
|
169
175
|
- ext/couchbase/operations/document_touch.hxx
|
170
176
|
- ext/couchbase/operations/document_unlock.hxx
|
171
177
|
- ext/couchbase/operations/document_upsert.hxx
|
@@ -176,6 +182,16 @@ files:
|
|
176
182
|
- ext/couchbase/operations/scope_create.hxx
|
177
183
|
- ext/couchbase/operations/scope_drop.hxx
|
178
184
|
- ext/couchbase/operations/scope_get_all.hxx
|
185
|
+
- ext/couchbase/operations/search_index.hxx
|
186
|
+
- ext/couchbase/operations/search_index_analyze_document.hxx
|
187
|
+
- ext/couchbase/operations/search_index_control_ingest.hxx
|
188
|
+
- ext/couchbase/operations/search_index_control_plan_freeze.hxx
|
189
|
+
- ext/couchbase/operations/search_index_control_query.hxx
|
190
|
+
- ext/couchbase/operations/search_index_drop.hxx
|
191
|
+
- ext/couchbase/operations/search_index_get.hxx
|
192
|
+
- ext/couchbase/operations/search_index_get_all.hxx
|
193
|
+
- ext/couchbase/operations/search_index_get_documents_count.hxx
|
194
|
+
- ext/couchbase/operations/search_index_upsert.hxx
|
179
195
|
- ext/couchbase/platform/base64.cc
|
180
196
|
- ext/couchbase/platform/base64.h
|
181
197
|
- ext/couchbase/platform/random.cc
|
@@ -194,6 +210,7 @@ files:
|
|
194
210
|
- ext/couchbase/protocol/cmd_get_and_lock.hxx
|
195
211
|
- ext/couchbase/protocol/cmd_get_and_touch.hxx
|
196
212
|
- ext/couchbase/protocol/cmd_get_cluster_config.hxx
|
213
|
+
- ext/couchbase/protocol/cmd_get_collection_id.hxx
|
197
214
|
- ext/couchbase/protocol/cmd_get_collections_manifest.hxx
|
198
215
|
- ext/couchbase/protocol/cmd_get_error_map.hxx
|
199
216
|
- ext/couchbase/protocol/cmd_hello.hxx
|
@@ -221,6 +238,7 @@ files:
|
|
221
238
|
- ext/couchbase/protocol/status.hxx
|
222
239
|
- ext/couchbase/protocol/unsigned_leb128.h
|
223
240
|
- ext/couchbase/service_type.hxx
|
241
|
+
- ext/couchbase/timeout_defaults.hxx
|
224
242
|
- ext/couchbase/utils/byteswap.hxx
|
225
243
|
- ext/couchbase/utils/crc32.hxx
|
226
244
|
- 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"
|