couchbase 3.5.3-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +202 -0
  3. data/README.md +154 -0
  4. data/ext/extconf.rb +0 -0
  5. data/lib/active_support/cache/couchbase_store.rb +342 -0
  6. data/lib/couchbase/3.1/libcouchbase.bundle +0 -0
  7. data/lib/couchbase/3.2/libcouchbase.bundle +0 -0
  8. data/lib/couchbase/3.3/libcouchbase.bundle +0 -0
  9. data/lib/couchbase/analytics_options.rb +109 -0
  10. data/lib/couchbase/authenticator.rb +66 -0
  11. data/lib/couchbase/binary_collection.rb +130 -0
  12. data/lib/couchbase/binary_collection_options.rb +26 -0
  13. data/lib/couchbase/bucket.rb +146 -0
  14. data/lib/couchbase/cluster.rb +462 -0
  15. data/lib/couchbase/cluster_registry.rb +49 -0
  16. data/lib/couchbase/collection.rb +707 -0
  17. data/lib/couchbase/collection_options.rb +401 -0
  18. data/lib/couchbase/config_profiles.rb +57 -0
  19. data/lib/couchbase/configuration.rb +58 -0
  20. data/lib/couchbase/datastructures/couchbase_list.rb +160 -0
  21. data/lib/couchbase/datastructures/couchbase_map.rb +194 -0
  22. data/lib/couchbase/datastructures/couchbase_queue.rb +134 -0
  23. data/lib/couchbase/datastructures/couchbase_set.rb +128 -0
  24. data/lib/couchbase/datastructures.rb +26 -0
  25. data/lib/couchbase/diagnostics.rb +183 -0
  26. data/lib/couchbase/errors.rb +414 -0
  27. data/lib/couchbase/json_transcoder.rb +41 -0
  28. data/lib/couchbase/key_value_scan.rb +119 -0
  29. data/lib/couchbase/libcouchbase.rb +6 -0
  30. data/lib/couchbase/logger.rb +87 -0
  31. data/lib/couchbase/management/analytics_index_manager.rb +1129 -0
  32. data/lib/couchbase/management/bucket_manager.rb +445 -0
  33. data/lib/couchbase/management/collection_manager.rb +472 -0
  34. data/lib/couchbase/management/collection_query_index_manager.rb +224 -0
  35. data/lib/couchbase/management/query_index_manager.rb +619 -0
  36. data/lib/couchbase/management/scope_search_index_manager.rb +200 -0
  37. data/lib/couchbase/management/search_index_manager.rb +426 -0
  38. data/lib/couchbase/management/user_manager.rb +470 -0
  39. data/lib/couchbase/management/view_index_manager.rb +239 -0
  40. data/lib/couchbase/management.rb +31 -0
  41. data/lib/couchbase/mutation_state.rb +65 -0
  42. data/lib/couchbase/options.rb +2846 -0
  43. data/lib/couchbase/protostellar/binary_collection.rb +55 -0
  44. data/lib/couchbase/protostellar/bucket.rb +55 -0
  45. data/lib/couchbase/protostellar/client.rb +99 -0
  46. data/lib/couchbase/protostellar/cluster.rb +171 -0
  47. data/lib/couchbase/protostellar/collection.rb +152 -0
  48. data/lib/couchbase/protostellar/connect_options.rb +63 -0
  49. data/lib/couchbase/protostellar/error_handling.rb +203 -0
  50. data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_pb.rb +61 -0
  51. data/lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_services_pb.rb +35 -0
  52. data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_pb.rb +57 -0
  53. data/lib/couchbase/protostellar/generated/admin/collection/v1/collection_services_pb.rb +36 -0
  54. data/lib/couchbase/protostellar/generated/admin/query/v1/query_pb.rb +61 -0
  55. data/lib/couchbase/protostellar/generated/admin/query/v1/query_services_pb.rb +37 -0
  56. data/lib/couchbase/protostellar/generated/admin/search/v1/search_pb.rb +72 -0
  57. data/lib/couchbase/protostellar/generated/admin/search/v1/search_services_pb.rb +44 -0
  58. data/lib/couchbase/protostellar/generated/analytics/v1/analytics_pb.rb +52 -0
  59. data/lib/couchbase/protostellar/generated/analytics/v1/analytics_services_pb.rb +30 -0
  60. data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_pb.rb +70 -0
  61. data/lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_services_pb.rb +36 -0
  62. data/lib/couchbase/protostellar/generated/kv/v1/kv_pb.rb +97 -0
  63. data/lib/couchbase/protostellar/generated/kv/v1/kv_services_pb.rb +46 -0
  64. data/lib/couchbase/protostellar/generated/query/v1/query_pb.rb +57 -0
  65. data/lib/couchbase/protostellar/generated/query/v1/query_services_pb.rb +30 -0
  66. data/lib/couchbase/protostellar/generated/routing/v1/routing_pb.rb +52 -0
  67. data/lib/couchbase/protostellar/generated/routing/v1/routing_services_pb.rb +30 -0
  68. data/lib/couchbase/protostellar/generated/search/v1/search_pb.rb +99 -0
  69. data/lib/couchbase/protostellar/generated/search/v1/search_services_pb.rb +30 -0
  70. data/lib/couchbase/protostellar/generated/transactions/v1/transactions_pb.rb +57 -0
  71. data/lib/couchbase/protostellar/generated/transactions/v1/transactions_services_pb.rb +36 -0
  72. data/lib/couchbase/protostellar/generated/view/v1/view_pb.rb +51 -0
  73. data/lib/couchbase/protostellar/generated/view/v1/view_services_pb.rb +30 -0
  74. data/lib/couchbase/protostellar/generated.rb +9 -0
  75. data/lib/couchbase/protostellar/management/bucket_manager.rb +67 -0
  76. data/lib/couchbase/protostellar/management/collection_manager.rb +94 -0
  77. data/lib/couchbase/protostellar/management/collection_query_index_manager.rb +124 -0
  78. data/lib/couchbase/protostellar/management/query_index_manager.rb +112 -0
  79. data/lib/couchbase/protostellar/management.rb +24 -0
  80. data/lib/couchbase/protostellar/request.rb +78 -0
  81. data/lib/couchbase/protostellar/request_behaviour.rb +42 -0
  82. data/lib/couchbase/protostellar/request_generator/admin/bucket.rb +124 -0
  83. data/lib/couchbase/protostellar/request_generator/admin/collection.rb +94 -0
  84. data/lib/couchbase/protostellar/request_generator/admin/query.rb +130 -0
  85. data/lib/couchbase/protostellar/request_generator/admin.rb +24 -0
  86. data/lib/couchbase/protostellar/request_generator/kv.rb +474 -0
  87. data/lib/couchbase/protostellar/request_generator/query.rb +133 -0
  88. data/lib/couchbase/protostellar/request_generator/search.rb +387 -0
  89. data/lib/couchbase/protostellar/request_generator.rb +26 -0
  90. data/lib/couchbase/protostellar/response_converter/admin/bucket.rb +55 -0
  91. data/lib/couchbase/protostellar/response_converter/admin/collection.rb +42 -0
  92. data/lib/couchbase/protostellar/response_converter/admin/query.rb +59 -0
  93. data/lib/couchbase/protostellar/response_converter/admin.rb +24 -0
  94. data/lib/couchbase/protostellar/response_converter/kv.rb +151 -0
  95. data/lib/couchbase/protostellar/response_converter/query.rb +84 -0
  96. data/lib/couchbase/protostellar/response_converter/search.rb +136 -0
  97. data/lib/couchbase/protostellar/response_converter.rb +26 -0
  98. data/lib/couchbase/protostellar/retry/action.rb +38 -0
  99. data/lib/couchbase/protostellar/retry/orchestrator.rb +60 -0
  100. data/lib/couchbase/protostellar/retry/reason.rb +67 -0
  101. data/lib/couchbase/protostellar/retry/strategies/best_effort.rb +49 -0
  102. data/lib/couchbase/protostellar/retry/strategies.rb +26 -0
  103. data/lib/couchbase/protostellar/retry.rb +28 -0
  104. data/lib/couchbase/protostellar/scope.rb +57 -0
  105. data/lib/couchbase/protostellar/timeout_defaults.rb +30 -0
  106. data/lib/couchbase/protostellar/timeouts.rb +83 -0
  107. data/lib/couchbase/protostellar.rb +29 -0
  108. data/lib/couchbase/query_options.rb +122 -0
  109. data/lib/couchbase/railtie.rb +47 -0
  110. data/lib/couchbase/raw_binary_transcoder.rb +39 -0
  111. data/lib/couchbase/raw_json_transcoder.rb +40 -0
  112. data/lib/couchbase/raw_string_transcoder.rb +42 -0
  113. data/lib/couchbase/scope.rb +258 -0
  114. data/lib/couchbase/search_options.rb +1650 -0
  115. data/lib/couchbase/subdoc.rb +293 -0
  116. data/lib/couchbase/transcoder_flags.rb +64 -0
  117. data/lib/couchbase/utils/generic_logger_adapter.rb +40 -0
  118. data/lib/couchbase/utils/stdlib_logger_adapter.rb +67 -0
  119. data/lib/couchbase/utils/time.rb +71 -0
  120. data/lib/couchbase/utils.rb +23 -0
  121. data/lib/couchbase/version.rb +25 -0
  122. data/lib/couchbase/view_options.rb +67 -0
  123. data/lib/couchbase.rb +30 -0
  124. data/lib/rails/generators/couchbase/config/config_generator.rb +29 -0
  125. metadata +190 -0
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
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
+ module Couchbase
18
+ module Generators
19
+ class ConfigGenerator < Rails::Generators::Base
20
+ desc "Creates a Couchbase configuration file at config/couchbase.yml"
21
+
22
+ source_root File.expand_path(File.join("..", "templates"), __FILE__)
23
+
24
+ def create_config_file
25
+ template "couchbase.yml", File.join("config", "couchbase.yml")
26
+ end
27
+ end
28
+ end
29
+ end
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: couchbase
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.5.3
5
+ platform: arm64-darwin
6
+ authors:
7
+ - Sergey Avseyev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-08-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: grpc
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.59'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.59'
27
+ description: Modern SDK for Couchbase Server
28
+ email:
29
+ - sergey.avseyev@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - LICENSE.txt
35
+ - README.md
36
+ - ext/extconf.rb
37
+ - lib/active_support/cache/couchbase_store.rb
38
+ - lib/couchbase.rb
39
+ - lib/couchbase/3.1/libcouchbase.bundle
40
+ - lib/couchbase/3.2/libcouchbase.bundle
41
+ - lib/couchbase/3.3/libcouchbase.bundle
42
+ - lib/couchbase/analytics_options.rb
43
+ - lib/couchbase/authenticator.rb
44
+ - lib/couchbase/binary_collection.rb
45
+ - lib/couchbase/binary_collection_options.rb
46
+ - lib/couchbase/bucket.rb
47
+ - lib/couchbase/cluster.rb
48
+ - lib/couchbase/cluster_registry.rb
49
+ - lib/couchbase/collection.rb
50
+ - lib/couchbase/collection_options.rb
51
+ - lib/couchbase/config_profiles.rb
52
+ - lib/couchbase/configuration.rb
53
+ - lib/couchbase/datastructures.rb
54
+ - lib/couchbase/datastructures/couchbase_list.rb
55
+ - lib/couchbase/datastructures/couchbase_map.rb
56
+ - lib/couchbase/datastructures/couchbase_queue.rb
57
+ - lib/couchbase/datastructures/couchbase_set.rb
58
+ - lib/couchbase/diagnostics.rb
59
+ - lib/couchbase/errors.rb
60
+ - lib/couchbase/json_transcoder.rb
61
+ - lib/couchbase/key_value_scan.rb
62
+ - lib/couchbase/libcouchbase.rb
63
+ - lib/couchbase/logger.rb
64
+ - lib/couchbase/management.rb
65
+ - lib/couchbase/management/analytics_index_manager.rb
66
+ - lib/couchbase/management/bucket_manager.rb
67
+ - lib/couchbase/management/collection_manager.rb
68
+ - lib/couchbase/management/collection_query_index_manager.rb
69
+ - lib/couchbase/management/query_index_manager.rb
70
+ - lib/couchbase/management/scope_search_index_manager.rb
71
+ - lib/couchbase/management/search_index_manager.rb
72
+ - lib/couchbase/management/user_manager.rb
73
+ - lib/couchbase/management/view_index_manager.rb
74
+ - lib/couchbase/mutation_state.rb
75
+ - lib/couchbase/options.rb
76
+ - lib/couchbase/protostellar.rb
77
+ - lib/couchbase/protostellar/binary_collection.rb
78
+ - lib/couchbase/protostellar/bucket.rb
79
+ - lib/couchbase/protostellar/client.rb
80
+ - lib/couchbase/protostellar/cluster.rb
81
+ - lib/couchbase/protostellar/collection.rb
82
+ - lib/couchbase/protostellar/connect_options.rb
83
+ - lib/couchbase/protostellar/error_handling.rb
84
+ - lib/couchbase/protostellar/generated.rb
85
+ - lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_pb.rb
86
+ - lib/couchbase/protostellar/generated/admin/bucket/v1/bucket_services_pb.rb
87
+ - lib/couchbase/protostellar/generated/admin/collection/v1/collection_pb.rb
88
+ - lib/couchbase/protostellar/generated/admin/collection/v1/collection_services_pb.rb
89
+ - lib/couchbase/protostellar/generated/admin/query/v1/query_pb.rb
90
+ - lib/couchbase/protostellar/generated/admin/query/v1/query_services_pb.rb
91
+ - lib/couchbase/protostellar/generated/admin/search/v1/search_pb.rb
92
+ - lib/couchbase/protostellar/generated/admin/search/v1/search_services_pb.rb
93
+ - lib/couchbase/protostellar/generated/analytics/v1/analytics_pb.rb
94
+ - lib/couchbase/protostellar/generated/analytics/v1/analytics_services_pb.rb
95
+ - lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_pb.rb
96
+ - lib/couchbase/protostellar/generated/internal/hooks/v1/hooks_services_pb.rb
97
+ - lib/couchbase/protostellar/generated/kv/v1/kv_pb.rb
98
+ - lib/couchbase/protostellar/generated/kv/v1/kv_services_pb.rb
99
+ - lib/couchbase/protostellar/generated/query/v1/query_pb.rb
100
+ - lib/couchbase/protostellar/generated/query/v1/query_services_pb.rb
101
+ - lib/couchbase/protostellar/generated/routing/v1/routing_pb.rb
102
+ - lib/couchbase/protostellar/generated/routing/v1/routing_services_pb.rb
103
+ - lib/couchbase/protostellar/generated/search/v1/search_pb.rb
104
+ - lib/couchbase/protostellar/generated/search/v1/search_services_pb.rb
105
+ - lib/couchbase/protostellar/generated/transactions/v1/transactions_pb.rb
106
+ - lib/couchbase/protostellar/generated/transactions/v1/transactions_services_pb.rb
107
+ - lib/couchbase/protostellar/generated/view/v1/view_pb.rb
108
+ - lib/couchbase/protostellar/generated/view/v1/view_services_pb.rb
109
+ - lib/couchbase/protostellar/management.rb
110
+ - lib/couchbase/protostellar/management/bucket_manager.rb
111
+ - lib/couchbase/protostellar/management/collection_manager.rb
112
+ - lib/couchbase/protostellar/management/collection_query_index_manager.rb
113
+ - lib/couchbase/protostellar/management/query_index_manager.rb
114
+ - lib/couchbase/protostellar/request.rb
115
+ - lib/couchbase/protostellar/request_behaviour.rb
116
+ - lib/couchbase/protostellar/request_generator.rb
117
+ - lib/couchbase/protostellar/request_generator/admin.rb
118
+ - lib/couchbase/protostellar/request_generator/admin/bucket.rb
119
+ - lib/couchbase/protostellar/request_generator/admin/collection.rb
120
+ - lib/couchbase/protostellar/request_generator/admin/query.rb
121
+ - lib/couchbase/protostellar/request_generator/kv.rb
122
+ - lib/couchbase/protostellar/request_generator/query.rb
123
+ - lib/couchbase/protostellar/request_generator/search.rb
124
+ - lib/couchbase/protostellar/response_converter.rb
125
+ - lib/couchbase/protostellar/response_converter/admin.rb
126
+ - lib/couchbase/protostellar/response_converter/admin/bucket.rb
127
+ - lib/couchbase/protostellar/response_converter/admin/collection.rb
128
+ - lib/couchbase/protostellar/response_converter/admin/query.rb
129
+ - lib/couchbase/protostellar/response_converter/kv.rb
130
+ - lib/couchbase/protostellar/response_converter/query.rb
131
+ - lib/couchbase/protostellar/response_converter/search.rb
132
+ - lib/couchbase/protostellar/retry.rb
133
+ - lib/couchbase/protostellar/retry/action.rb
134
+ - lib/couchbase/protostellar/retry/orchestrator.rb
135
+ - lib/couchbase/protostellar/retry/reason.rb
136
+ - lib/couchbase/protostellar/retry/strategies.rb
137
+ - lib/couchbase/protostellar/retry/strategies/best_effort.rb
138
+ - lib/couchbase/protostellar/scope.rb
139
+ - lib/couchbase/protostellar/timeout_defaults.rb
140
+ - lib/couchbase/protostellar/timeouts.rb
141
+ - lib/couchbase/query_options.rb
142
+ - lib/couchbase/railtie.rb
143
+ - lib/couchbase/raw_binary_transcoder.rb
144
+ - lib/couchbase/raw_json_transcoder.rb
145
+ - lib/couchbase/raw_string_transcoder.rb
146
+ - lib/couchbase/scope.rb
147
+ - lib/couchbase/search_options.rb
148
+ - lib/couchbase/subdoc.rb
149
+ - lib/couchbase/transcoder_flags.rb
150
+ - lib/couchbase/utils.rb
151
+ - lib/couchbase/utils/generic_logger_adapter.rb
152
+ - lib/couchbase/utils/stdlib_logger_adapter.rb
153
+ - lib/couchbase/utils/time.rb
154
+ - lib/couchbase/version.rb
155
+ - lib/couchbase/view_options.rb
156
+ - lib/rails/generators/couchbase/config/config_generator.rb
157
+ homepage: https://www.couchbase.com
158
+ licenses:
159
+ - Apache-2.0
160
+ metadata:
161
+ homepage_uri: https://docs.couchbase.com/ruby-sdk/current/hello-world/start-using-sdk.html
162
+ bug_tracker_uri: https://issues.couchbase.com/browse/RCBC
163
+ mailing_list_uri: https://www.couchbase.com/forums/c/ruby-sdk
164
+ source_code_uri: https://github.com/couchbase/couchbase-ruby-client/tree/3.5.3
165
+ changelog_uri: https://github.com/couchbase/couchbase-ruby-client/releases/tag/3.5.3
166
+ documentation_uri: https://docs.couchbase.com/sdk-api/couchbase-ruby-client-3.5.3/index.html
167
+ github_repo: https://github.com/couchbase/couchbase-ruby-client
168
+ rubygems_mfa_required: 'true'
169
+ post_install_message:
170
+ rdoc_options:
171
+ - "--exclude"
172
+ - ext/
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">"
178
+ - !ruby/object:Gem::Version
179
+ version: '3.1'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubygems_version: 3.3.27
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: SDK for Couchbase Server
190
+ test_files: []