couchbase 3.0.0.alpha.5-universal-darwin-19 → 3.0.0.beta.1-universal-darwin-19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +12 -3
  3. data/README.md +4 -2
  4. data/Rakefile +1 -1
  5. data/couchbase.gemspec +17 -12
  6. data/ext/.idea/misc.xml +12 -0
  7. data/ext/CMakeLists.txt +10 -1
  8. data/ext/build_config.hxx.in +20 -0
  9. data/ext/build_version.hxx.in +1 -1
  10. data/ext/couchbase/bucket.hxx +90 -24
  11. data/ext/couchbase/cluster.hxx +125 -84
  12. data/ext/couchbase/cluster_options.hxx +53 -0
  13. data/ext/couchbase/configuration.hxx +220 -2
  14. data/ext/couchbase/couchbase.cxx +134 -127
  15. data/ext/couchbase/io/dns_client.hxx +3 -1
  16. data/ext/couchbase/io/http_command.hxx +91 -0
  17. data/ext/couchbase/io/http_session.hxx +58 -19
  18. data/ext/couchbase/io/http_session_manager.hxx +26 -31
  19. data/ext/couchbase/io/mcbp_command.hxx +180 -0
  20. data/ext/couchbase/io/mcbp_message.hxx +5 -0
  21. data/ext/couchbase/io/mcbp_session.hxx +213 -98
  22. data/ext/couchbase/io/streams.hxx +165 -0
  23. data/ext/couchbase/operations.hxx +1 -1
  24. data/ext/couchbase/operations/analytics_dataset_create.hxx +1 -1
  25. data/ext/couchbase/operations/bucket_create.hxx +4 -2
  26. data/ext/couchbase/operations/bucket_drop.hxx +4 -2
  27. data/ext/couchbase/operations/bucket_flush.hxx +4 -2
  28. data/ext/couchbase/operations/bucket_get.hxx +4 -2
  29. data/ext/couchbase/operations/bucket_get_all.hxx +4 -2
  30. data/ext/couchbase/operations/bucket_update.hxx +4 -2
  31. data/ext/couchbase/operations/cluster_developer_preview_enable.hxx +4 -2
  32. data/ext/couchbase/operations/collection_create.hxx +4 -2
  33. data/ext/couchbase/operations/collection_drop.hxx +4 -2
  34. data/ext/couchbase/operations/document_analytics.hxx +0 -4
  35. data/ext/couchbase/operations/document_decrement.hxx +6 -3
  36. data/ext/couchbase/operations/document_get.hxx +3 -0
  37. data/ext/couchbase/operations/document_get_and_lock.hxx +3 -0
  38. data/ext/couchbase/operations/document_get_and_touch.hxx +5 -2
  39. data/ext/couchbase/operations/document_get_projected.hxx +12 -9
  40. data/ext/couchbase/operations/document_increment.hxx +6 -3
  41. data/ext/couchbase/operations/document_insert.hxx +5 -2
  42. data/ext/couchbase/operations/document_lookup_in.hxx +3 -0
  43. data/ext/couchbase/operations/document_mutate_in.hxx +6 -3
  44. data/ext/couchbase/operations/document_remove.hxx +3 -0
  45. data/ext/couchbase/operations/document_replace.hxx +5 -2
  46. data/ext/couchbase/operations/document_search.hxx +6 -7
  47. data/ext/couchbase/operations/document_touch.hxx +5 -2
  48. data/ext/couchbase/operations/document_unlock.hxx +3 -0
  49. data/ext/couchbase/operations/document_upsert.hxx +5 -2
  50. data/ext/couchbase/operations/query_index_build_deferred.hxx +3 -3
  51. data/ext/couchbase/operations/query_index_create.hxx +3 -3
  52. data/ext/couchbase/operations/query_index_drop.hxx +3 -3
  53. data/ext/couchbase/operations/query_index_get_all.hxx +3 -3
  54. data/ext/couchbase/operations/scope_create.hxx +4 -2
  55. data/ext/couchbase/operations/scope_drop.hxx +4 -2
  56. data/ext/couchbase/operations/scope_get_all.hxx +4 -2
  57. data/ext/couchbase/operations/search_index_analyze_document.hxx +2 -2
  58. data/ext/couchbase/operations/search_index_control_ingest.hxx +2 -2
  59. data/ext/couchbase/operations/search_index_control_plan_freeze.hxx +2 -2
  60. data/ext/couchbase/operations/search_index_control_query.hxx +2 -2
  61. data/ext/couchbase/operations/search_index_drop.hxx +2 -2
  62. data/ext/couchbase/operations/search_index_get.hxx +2 -2
  63. data/ext/couchbase/operations/search_index_get_all.hxx +2 -2
  64. data/ext/couchbase/operations/search_index_get_documents_count.hxx +2 -2
  65. data/ext/couchbase/operations/search_index_upsert.hxx +2 -2
  66. data/ext/couchbase/origin.hxx +148 -0
  67. data/ext/couchbase/protocol/cmd_cluster_map_change_notification.hxx +1 -6
  68. data/ext/couchbase/protocol/cmd_decrement.hxx +5 -5
  69. data/ext/couchbase/protocol/cmd_get_and_touch.hxx +5 -5
  70. data/ext/couchbase/protocol/cmd_get_cluster_config.hxx +1 -6
  71. data/ext/couchbase/protocol/cmd_increment.hxx +5 -5
  72. data/ext/couchbase/protocol/cmd_info.hxx +0 -11
  73. data/ext/couchbase/protocol/cmd_insert.hxx +5 -5
  74. data/ext/couchbase/protocol/cmd_mutate_in.hxx +6 -6
  75. data/ext/couchbase/protocol/cmd_replace.hxx +5 -5
  76. data/ext/couchbase/protocol/cmd_touch.hxx +1 -1
  77. data/ext/couchbase/protocol/cmd_upsert.hxx +5 -5
  78. data/ext/couchbase/timeout_defaults.hxx +7 -0
  79. data/ext/couchbase/utils/connection_string.hxx +139 -0
  80. data/ext/extconf.rb +44 -11
  81. data/ext/test/main.cxx +93 -15
  82. data/ext/third_party/http_parser/Makefile +160 -0
  83. data/ext/third_party/json/Makefile +77 -0
  84. data/lib/couchbase/analytics_options.rb +18 -4
  85. data/lib/couchbase/binary_collection.rb +2 -2
  86. data/lib/couchbase/binary_collection_options.rb +2 -2
  87. data/lib/couchbase/bucket.rb +4 -4
  88. data/lib/couchbase/cluster.rb +60 -46
  89. data/lib/couchbase/collection.rb +13 -13
  90. data/lib/couchbase/collection_options.rb +15 -9
  91. data/{bin/console → lib/couchbase/datastructures.rb} +4 -7
  92. data/lib/couchbase/datastructures/couchbase_list.rb +171 -0
  93. data/lib/couchbase/datastructures/couchbase_map.rb +205 -0
  94. data/lib/couchbase/datastructures/couchbase_queue.rb +145 -0
  95. data/lib/couchbase/datastructures/couchbase_set.rb +138 -0
  96. data/lib/couchbase/errors.rb +66 -63
  97. data/lib/couchbase/libcouchbase.bundle +0 -0
  98. data/lib/couchbase/management/user_manager.rb +1 -1
  99. data/lib/couchbase/mutation_state.rb +1 -0
  100. data/lib/couchbase/query_options.rb +25 -2
  101. data/lib/couchbase/scope.rb +0 -7
  102. data/lib/couchbase/search_options.rb +7 -0
  103. data/lib/couchbase/version.rb +1 -1
  104. data/lib/couchbase/view_options.rb +4 -3
  105. metadata +20 -82
  106. data/.github/workflows/tests-6.0.3.yml +0 -52
  107. data/.github/workflows/tests-dev-preview.yml +0 -55
  108. data/.github/workflows/tests.yml +0 -50
  109. data/.gitignore +0 -20
  110. data/.gitmodules +0 -21
  111. data/.idea/.gitignore +0 -5
  112. data/.idea/dictionaries/gem_terms.xml +0 -18
  113. data/.idea/inspectionProfiles/Project_Default.xml +0 -8
  114. data/.idea/vcs.xml +0 -13
  115. data/bin/check-cluster +0 -31
  116. data/bin/fetch-stats +0 -19
  117. data/bin/init-cluster +0 -82
  118. data/bin/jenkins/build-extension +0 -35
  119. data/bin/jenkins/install-dependencies +0 -47
  120. data/bin/jenkins/test-with-cbdyncluster +0 -58
  121. data/bin/setup +0 -24
  122. data/ext/couchbase/configuration_monitor.hxx +0 -93
  123. data/ext/couchbase/operations/command.hxx +0 -163
  124. data/rbi/couchbase.rbi +0 -79
@@ -14,211 +14,214 @@
14
14
 
15
15
  module Couchbase
16
16
  module Error
17
+ class CouchbaseError < StandardError
18
+ end
19
+
17
20
  # Common exceptions
18
21
 
19
- class RequestCanceled < StandardError
22
+ class RequestCanceled < CouchbaseError
20
23
  end
21
24
 
22
25
  class InvalidArgument < ArgumentError
23
26
  end
24
27
 
25
- class ServiceNotAvailable < StandardError
28
+ class ServiceNotAvailable < CouchbaseError
26
29
  end
27
30
 
28
- class InternalServerFailure < StandardError
31
+ class InternalServerFailure < CouchbaseError
29
32
  end
30
33
 
31
- class AuthenticationFailure < StandardError
34
+ class AuthenticationFailure < CouchbaseError
32
35
  end
33
36
 
34
- class TemporaryFailure < StandardError
37
+ class TemporaryFailure < CouchbaseError
35
38
  end
36
39
 
37
- class ParsingFailure < StandardError
40
+ class ParsingFailure < CouchbaseError
38
41
  end
39
42
 
40
- class CasMismatch < StandardError
43
+ class CasMismatch < CouchbaseError
41
44
  end
42
45
 
43
- class BucketNotFound < StandardError
46
+ class BucketNotFound < CouchbaseError
44
47
  end
45
48
 
46
- class CollectionNotFound < StandardError
49
+ class CollectionNotFound < CouchbaseError
47
50
  end
48
51
 
49
- class ScopeNotFound < StandardError
52
+ class ScopeNotFound < CouchbaseError
50
53
  end
51
54
 
52
- class IndexNotFound < StandardError
55
+ class IndexNotFound < CouchbaseError
53
56
  end
54
57
 
55
- class IndexExists < StandardError
58
+ class IndexExists < CouchbaseError
56
59
  end
57
60
 
58
- class EncodingFailure < StandardError
61
+ class EncodingFailure < CouchbaseError
59
62
  end
60
63
 
61
- class DecodingFailure < StandardError
64
+ class DecodingFailure < CouchbaseError
62
65
  end
63
66
 
64
- class UnsupportedOperation < StandardError
67
+ class UnsupportedOperation < CouchbaseError
65
68
  end
66
69
 
67
- class AmbiguousTimeout < StandardError
70
+ class AmbiguousTimeout < CouchbaseError
68
71
  end
69
72
 
70
- class UnambiguousTimeout < StandardError
73
+ class UnambiguousTimeout < CouchbaseError
71
74
  end
72
75
 
73
- class FeatureNotAvailable < StandardError
76
+ class FeatureNotAvailable < CouchbaseError
74
77
  end
75
78
 
76
79
  # KeyValue exceptions
77
80
 
78
- class DocumentNotFound < StandardError
81
+ class DocumentNotFound < CouchbaseError
79
82
  end
80
83
 
81
- class DocumentIrretrievable < StandardError
84
+ class DocumentIrretrievable < CouchbaseError
82
85
  end
83
86
 
84
- class DocumentLocked < StandardError
87
+ class DocumentLocked < CouchbaseError
85
88
  end
86
89
 
87
- class ValueTooLarge < StandardError
90
+ class ValueTooLarge < CouchbaseError
88
91
  end
89
92
 
90
- class DocumentExists < StandardError
93
+ class DocumentExists < CouchbaseError
91
94
  end
92
95
 
93
- class DurabilityLevelNotAvailable < StandardError
96
+ class DurabilityLevelNotAvailable < CouchbaseError
94
97
  end
95
98
 
96
- class DurabilityImpossible < StandardError
99
+ class DurabilityImpossible < CouchbaseError
97
100
  end
98
101
 
99
- class DurabilityAmbiguous < StandardError
102
+ class DurabilityAmbiguous < CouchbaseError
100
103
  end
101
104
 
102
- class DurableWriteInProgress < StandardError
105
+ class DurableWriteInProgress < CouchbaseError
103
106
  end
104
107
 
105
- class DurableWriteReCommitInProgress < StandardError
108
+ class DurableWriteReCommitInProgress < CouchbaseError
106
109
  end
107
110
 
108
- class PathNotFound < StandardError
111
+ class PathNotFound < CouchbaseError
109
112
  end
110
113
 
111
- class PathMismatch < StandardError
114
+ class PathMismatch < CouchbaseError
112
115
  end
113
116
 
114
- class PathInvalid < StandardError
117
+ class PathInvalid < CouchbaseError
115
118
  end
116
119
 
117
- class PathTooDeep < StandardError
120
+ class PathTooDeep < CouchbaseError
118
121
  end
119
122
 
120
- class PathTooBig < StandardError
123
+ class PathTooBig < CouchbaseError
121
124
  end
122
125
 
123
- class ValueTooDeep < StandardError
126
+ class ValueTooDeep < CouchbaseError
124
127
  end
125
128
 
126
- class ValueInvalid < StandardError
129
+ class ValueInvalid < CouchbaseError
127
130
  end
128
131
 
129
- class DocumentNotJson < StandardError
132
+ class DocumentNotJson < CouchbaseError
130
133
  end
131
134
 
132
- class NumberTooBig < StandardError
135
+ class NumberTooBig < CouchbaseError
133
136
  end
134
137
 
135
- class DeltaInvalid < StandardError
138
+ class DeltaInvalid < CouchbaseError
136
139
  end
137
140
 
138
- class PathExists < StandardError
141
+ class PathExists < CouchbaseError
139
142
  end
140
143
 
141
- class XattrUnknownMacro < StandardError
144
+ class XattrUnknownMacro < CouchbaseError
142
145
  end
143
146
 
144
- class XattrInvalidKeyCombo < StandardError
147
+ class XattrInvalidKeyCombo < CouchbaseError
145
148
  end
146
149
 
147
- class XattrUnknownVirtualAttribute < StandardError
150
+ class XattrUnknownVirtualAttribute < CouchbaseError
148
151
  end
149
152
 
150
- class XattrCannotModifyVirtualAttribute < StandardError
153
+ class XattrCannotModifyVirtualAttribute < CouchbaseError
151
154
  end
152
155
 
153
156
  # Query exceptions
154
157
 
155
- class PlanningFailure < StandardError
158
+ class PlanningFailure < CouchbaseError
156
159
  end
157
160
 
158
- class IndexFailure < StandardError
161
+ class IndexFailure < CouchbaseError
159
162
  end
160
163
 
161
- class PreparedStatementFailure < StandardError
164
+ class PreparedStatementFailure < CouchbaseError
162
165
  end
163
166
 
164
167
 
165
168
  # Analytics exceptions
166
169
 
167
- class CompilationFailure < StandardError
170
+ class CompilationFailure < CouchbaseError
168
171
  end
169
172
 
170
- class JobQueueFull < StandardError
173
+ class JobQueueFull < CouchbaseError
171
174
  end
172
175
 
173
- class DatasetNotFound < StandardError
176
+ class DatasetNotFound < CouchbaseError
174
177
  end
175
178
 
176
- class DatasetExists < StandardError
179
+ class DatasetExists < CouchbaseError
177
180
  end
178
181
 
179
- class DataverseExists < StandardError
182
+ class DataverseExists < CouchbaseError
180
183
  end
181
184
 
182
- class DataverseNotFound < StandardError
185
+ class DataverseNotFound < CouchbaseError
183
186
  end
184
187
 
185
- class LinkNotFound < StandardError
188
+ class LinkNotFound < CouchbaseError
186
189
  end
187
190
 
188
191
  # View exceptions
189
192
 
190
- class DesignDocumentNotFound < StandardError
193
+ class DesignDocumentNotFound < CouchbaseError
191
194
  end
192
195
 
193
- class ViewNotFound < StandardError
196
+ class ViewNotFound < CouchbaseError
194
197
  end
195
198
 
196
199
  # Management exceptions
197
200
 
198
- class CollectionExists < StandardError
201
+ class CollectionExists < CouchbaseError
199
202
  end
200
203
 
201
- class ScopeExists < StandardError
204
+ class ScopeExists < CouchbaseError
202
205
  end
203
206
 
204
- class UserExists < StandardError
207
+ class UserExists < CouchbaseError
205
208
  end
206
209
 
207
- class BucketExists < StandardError
210
+ class BucketExists < CouchbaseError
208
211
  end
209
212
 
210
- class BucketNotFlushable < StandardError
213
+ class BucketNotFlushable < CouchbaseError
211
214
  end
212
215
 
213
- class GroupNotFound < StandardError
216
+ class GroupNotFound < CouchbaseError
214
217
  end
215
218
 
216
- class UserNotFound < StandardError
219
+ class UserNotFound < CouchbaseError
217
220
  end
218
221
 
219
222
  # Library-specific exceptions
220
223
 
221
- class BackendError < StandardError
224
+ class BackendError < CouchbaseError
222
225
  end
223
226
  end
224
227
  end
@@ -288,7 +288,7 @@ module Couchbase
288
288
  # @return [User]
289
289
  attr_reader :user
290
290
 
291
- # @return [List<RoleAndOrigins>]
291
+ # @return [Array<RoleAndOrigins>]
292
292
  attr_reader :effective_roles
293
293
 
294
294
  # @return [Time]
@@ -30,6 +30,7 @@ module Couchbase
30
30
  end
31
31
 
32
32
  class MutationState
33
+ # @return [Array<MutationToken>]
33
34
  attr_accessor :tokens
34
35
 
35
36
  # Create a mutation state from one or more MutationTokens
@@ -30,7 +30,7 @@ module Couchbase
30
30
  # @return [Integer] Allows overriding the default maximum parallelism for the query execution on the server side.
31
31
  attr_accessor :max_parallelism
32
32
 
33
- # @return [Boolean] Allows explicitly marking a query as being readonly and not mutating and documents on the server side.
33
+ # @return [Boolean] Allows explicitly marking a query as being readonly and not mutating any documents on the server side.
34
34
  attr_accessor :readonly
35
35
 
36
36
  # Allows customizing how long (in milliseconds) the query engine is willing to wait until the index catches up to whatever scan consistency is asked for in this query.
@@ -56,6 +56,17 @@ module Couchbase
56
56
  # @return [:off, :phases, :timings] Customize server profile level for this query
57
57
  attr_accessor :profile
58
58
 
59
+ # @return [:not_bounded, :request_plus]
60
+ attr_reader :scan_consistency
61
+
62
+ # @api private
63
+ # @return [MutationState]
64
+ attr_reader :mutation_state
65
+
66
+ # @api private
67
+ # @return [Hash<String => #to_json>]
68
+ attr_reader :raw_parameters
69
+
59
70
  # @yieldparam [QueryOptions] self
60
71
  def initialize
61
72
  @timeout = 75_000 # ms
@@ -108,6 +119,12 @@ module Couchbase
108
119
  @named_parameters = nil
109
120
  end
110
121
 
122
+ # @api private
123
+ # @return [Array<String>, nil]
124
+ def export_positional_parameters
125
+ @positional_parameters.map { |p| JSON.dump(p) } if @positional_parameters
126
+ end
127
+
111
128
  # Sets named parameters for the query
112
129
  #
113
130
  # @param [Hash] named the key/value map of the parameters to substitute in the statement
@@ -115,6 +132,12 @@ module Couchbase
115
132
  @named_parameters = named
116
133
  @positional_parameters = nil
117
134
  end
135
+
136
+ # @api private
137
+ # @return [Hash<String => String>, nil]
138
+ def export_named_parameters
139
+ @named_parameters.each_with_object({}) { |(n, v), o| o[n.to_s] = JSON.dump(v) } if @named_parameters
140
+ end
118
141
  end
119
142
 
120
143
  class QueryResult
@@ -162,7 +185,7 @@ module Couchbase
162
185
  # @return [QueryMetrics] metrics as returned by the query engine, if enabled
163
186
  attr_accessor :metrics
164
187
 
165
- # @return [List<QueryWarning>] list of warnings returned by the query engine
188
+ # @return [Array<QueryWarning>] list of warnings returned by the query engine
166
189
  attr_accessor :warnings
167
190
 
168
191
  # @yieldparam [QueryMetaData] self
@@ -30,13 +30,6 @@ module Couchbase
30
30
  @name = scope_name
31
31
  end
32
32
 
33
- # Opens the default collection for this scope
34
- #
35
- # @return [Collection]
36
- def default_collection
37
- Collection.new(@backend, @bucket_name, @name, :_default)
38
- end
39
-
40
33
  # Opens the default collection for this scope
41
34
  #
42
35
  # @param [String] collection_name name of the collection
@@ -1164,6 +1164,13 @@ module Couchbase
1164
1164
  # @return [Array<String>] list of field values which should be retrieved for result documents, provided they were stored while indexing
1165
1165
  attr_accessor :fields
1166
1166
 
1167
+ # @return [:not_bounded] specifies level of consistency for the query
1168
+ attr_reader :scan_consistency
1169
+
1170
+ # @api private
1171
+ # @return [MutationState]
1172
+ attr_reader :mutation_state
1173
+
1167
1174
  # Customizes the consistency guarantees for this query
1168
1175
  #
1169
1176
  # @note overrides consistency level set by {#consistent_with}
@@ -14,5 +14,5 @@
14
14
 
15
15
  module Couchbase
16
16
  VERSION = {} unless defined?(VERSION)
17
- VERSION.update(:sdk => "3.0.0.alpha.5".freeze)
17
+ VERSION.update(:sdk => "3.0.0.beta.1".freeze)
18
18
  end
@@ -92,7 +92,7 @@ module Couchbase
92
92
  # @return [:production, :development]
93
93
  attr_accessor :namespace
94
94
 
95
- # @yieldparam [ViewQueryOptions] self
95
+ # @yieldparam [ViewOptions] self
96
96
  def initialize
97
97
  @namespace = :production
98
98
  yield self if block_given?
@@ -127,9 +127,10 @@ module Couchbase
127
127
  # @return [Integer]
128
128
  attr_accessor :total_rows
129
129
 
130
+ # @api private
130
131
  attr_writer :debug_info
131
132
 
132
- def debug_info
133
+ def debug
133
134
  JSON.parse(@debug_info)
134
135
  end
135
136
 
@@ -140,7 +141,7 @@ module Couchbase
140
141
  end
141
142
 
142
143
  class ViewResult
143
- # @return [QueryMetaData] returns object representing additional metadata associated with this query
144
+ # @return [ViewMetaData] returns object representing additional metadata associated with this query
144
145
  attr_accessor :meta_data
145
146
 
146
147
  # @return [Array<ViewRow>]
metadata CHANGED
@@ -1,71 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.alpha.5
4
+ version: 3.0.0.beta.1
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-30 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.1'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '2.1'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '13.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '13.0'
41
- - !ruby/object:Gem::Dependency
42
- name: minitest
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '5.14'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '5.14'
55
- - !ruby/object:Gem::Dependency
56
- name: minitest-reporters
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.4'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.4'
11
+ date: 2020-08-07 00:00:00.000000000 Z
12
+ dependencies: []
69
13
  description: Modern SDK for Couchbase Server
70
14
  email:
71
15
  - sergey.avseyev@gmail.com
@@ -73,28 +17,11 @@ executables: []
73
17
  extensions: []
74
18
  extra_rdoc_files: []
75
19
  files:
76
- - ".github/workflows/tests-6.0.3.yml"
77
- - ".github/workflows/tests-dev-preview.yml"
78
- - ".github/workflows/tests.yml"
79
- - ".gitignore"
80
- - ".gitmodules"
81
- - ".idea/.gitignore"
82
- - ".idea/dictionaries/gem_terms.xml"
83
- - ".idea/inspectionProfiles/Project_Default.xml"
84
- - ".idea/vcs.xml"
85
20
  - ".yardopts"
86
21
  - Gemfile
87
22
  - LICENSE.txt
88
23
  - README.md
89
24
  - Rakefile
90
- - bin/check-cluster
91
- - bin/console
92
- - bin/fetch-stats
93
- - bin/init-cluster
94
- - bin/jenkins/build-extension
95
- - bin/jenkins/install-dependencies
96
- - bin/jenkins/test-with-cbdyncluster
97
- - bin/setup
98
25
  - couchbase.gemspec
99
26
  - examples/analytics.rb
100
27
  - examples/crud.rb
@@ -122,6 +49,7 @@ files:
122
49
  - ext/.idea/vcs.xml
123
50
  - ext/CMakeLists.txt
124
51
  - ext/LICENSE.txt
52
+ - ext/build_config.hxx.in
125
53
  - ext/build_version.hxx.in
126
54
  - ext/couchbase/bucket.hxx
127
55
  - ext/couchbase/cbcrypto/cbcrypto.cc
@@ -140,9 +68,9 @@ files:
140
68
  - ext/couchbase/cbsasl/scram-sha/stringutils.cc
141
69
  - ext/couchbase/cbsasl/scram-sha/stringutils.h
142
70
  - ext/couchbase/cluster.hxx
71
+ - ext/couchbase/cluster_options.hxx
143
72
  - ext/couchbase/collections_manifest.hxx
144
73
  - ext/couchbase/configuration.hxx
145
- - ext/couchbase/configuration_monitor.hxx
146
74
  - ext/couchbase/couchbase.cxx
147
75
  - ext/couchbase/document_id.hxx
148
76
  - ext/couchbase/error_map.hxx
@@ -151,13 +79,16 @@ files:
151
79
  - ext/couchbase/io/dns_codec.hxx
152
80
  - ext/couchbase/io/dns_config.hxx
153
81
  - ext/couchbase/io/dns_message.hxx
82
+ - ext/couchbase/io/http_command.hxx
154
83
  - ext/couchbase/io/http_message.hxx
155
84
  - ext/couchbase/io/http_parser.hxx
156
85
  - ext/couchbase/io/http_session.hxx
157
86
  - ext/couchbase/io/http_session_manager.hxx
87
+ - ext/couchbase/io/mcbp_command.hxx
158
88
  - ext/couchbase/io/mcbp_message.hxx
159
89
  - ext/couchbase/io/mcbp_parser.hxx
160
90
  - ext/couchbase/io/mcbp_session.hxx
91
+ - ext/couchbase/io/streams.hxx
161
92
  - ext/couchbase/mutation_token.hxx
162
93
  - ext/couchbase/operations.hxx
163
94
  - ext/couchbase/operations/analytics_dataset_create.hxx
@@ -181,7 +112,6 @@ files:
181
112
  - ext/couchbase/operations/cluster_developer_preview_enable.hxx
182
113
  - ext/couchbase/operations/collection_create.hxx
183
114
  - ext/couchbase/operations/collection_drop.hxx
184
- - ext/couchbase/operations/command.hxx
185
115
  - ext/couchbase/operations/design_document.hxx
186
116
  - ext/couchbase/operations/document_analytics.hxx
187
117
  - ext/couchbase/operations/document_decrement.hxx
@@ -223,6 +153,7 @@ files:
223
153
  - ext/couchbase/operations/view_index_get.hxx
224
154
  - ext/couchbase/operations/view_index_get_all.hxx
225
155
  - ext/couchbase/operations/view_index_upsert.hxx
156
+ - ext/couchbase/origin.hxx
226
157
  - ext/couchbase/platform/base64.cc
227
158
  - ext/couchbase/platform/base64.h
228
159
  - ext/couchbase/platform/random.cc
@@ -1472,6 +1403,11 @@ files:
1472
1403
  - lib/couchbase/collection.rb
1473
1404
  - lib/couchbase/collection_options.rb
1474
1405
  - lib/couchbase/common_options.rb
1406
+ - lib/couchbase/datastructures.rb
1407
+ - lib/couchbase/datastructures/couchbase_list.rb
1408
+ - lib/couchbase/datastructures/couchbase_map.rb
1409
+ - lib/couchbase/datastructures/couchbase_queue.rb
1410
+ - lib/couchbase/datastructures/couchbase_set.rb
1475
1411
  - lib/couchbase/errors.rb
1476
1412
  - lib/couchbase/json_transcoder.rb
1477
1413
  - lib/couchbase/libcouchbase.bundle
@@ -1489,14 +1425,16 @@ files:
1489
1425
  - lib/couchbase/subdoc.rb
1490
1426
  - lib/couchbase/version.rb
1491
1427
  - lib/couchbase/view_options.rb
1492
- - rbi/couchbase.rbi
1493
1428
  homepage: https://www.couchbase.com
1494
1429
  licenses:
1495
1430
  - Apache-2.0
1496
1431
  metadata:
1497
- homepage_uri: https://www.couchbase.com
1498
- source_code_uri: https://github.com/couchbase/couchbase-ruby-client
1499
- changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases
1432
+ homepage_uri: https://docs.couchbase.com/ruby-sdk/3.0/hello-world/start-using-sdk.html
1433
+ bug_tracker_uri: https://couchbase.com/issues/browse/RCBC
1434
+ mailing_list_uri: https://forums.couchbase.com/c/ruby-sdk
1435
+ source_code_uri: https://github.com/couchbasse/couchbase-ruby-client/tree/3.0.0.beta.1
1436
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.0.0.beta.1
1437
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.0.0.beta.1/index.html
1500
1438
  github_repo: ssh://github.com/couchbase/couchbase-ruby-client
1501
1439
  post_install_message:
1502
1440
  rdoc_options: