riak-client-noenc 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +5 -0
- data/.gitignore +42 -0
- data/.rspec +1 -0
- data/Gemfile +17 -0
- data/Guardfile +20 -0
- data/LICENSE.md +16 -0
- data/README.markdown +640 -0
- data/RELEASE_NOTES.md +392 -0
- data/Rakefile +119 -0
- data/lib/riak.rb +22 -0
- data/lib/riak/bucket.rb +297 -0
- data/lib/riak/bucket_properties.rb +74 -0
- data/lib/riak/bucket_type.rb +77 -0
- data/lib/riak/bucket_typed/bucket.rb +121 -0
- data/lib/riak/client.rb +433 -0
- data/lib/riak/client/beefcake/bucket_properties_operator.rb +178 -0
- data/lib/riak/client/beefcake/crdt/counter_loader.rb +18 -0
- data/lib/riak/client/beefcake/crdt/map_loader.rb +64 -0
- data/lib/riak/client/beefcake/crdt/set_loader.rb +18 -0
- data/lib/riak/client/beefcake/crdt_loader.rb +84 -0
- data/lib/riak/client/beefcake/crdt_operator.rb +223 -0
- data/lib/riak/client/beefcake/footer +4 -0
- data/lib/riak/client/beefcake/header +6 -0
- data/lib/riak/client/beefcake/message_codes.rb +89 -0
- data/lib/riak/client/beefcake/message_overlay.rb +87 -0
- data/lib/riak/client/beefcake/messages.rb +772 -0
- data/lib/riak/client/beefcake/object_methods.rb +112 -0
- data/lib/riak/client/beefcake/protocol.rb +105 -0
- data/lib/riak/client/beefcake/socket.rb +260 -0
- data/lib/riak/client/beefcake_protobuffs_backend.rb +538 -0
- data/lib/riak/client/decaying.rb +36 -0
- data/lib/riak/client/feature_detection.rb +120 -0
- data/lib/riak/client/instrumentation.rb +19 -0
- data/lib/riak/client/node.rb +49 -0
- data/lib/riak/client/protobuffs_backend.rb +143 -0
- data/lib/riak/client/search.rb +27 -0
- data/lib/riak/client/yokozuna.rb +52 -0
- data/lib/riak/conflict.rb +13 -0
- data/lib/riak/core_ext.rb +7 -0
- data/lib/riak/core_ext/blank.rb +53 -0
- data/lib/riak/core_ext/deep_dup.rb +13 -0
- data/lib/riak/core_ext/extract_options.rb +7 -0
- data/lib/riak/core_ext/json.rb +15 -0
- data/lib/riak/core_ext/slice.rb +18 -0
- data/lib/riak/core_ext/stringify_keys.rb +10 -0
- data/lib/riak/core_ext/symbolize_keys.rb +10 -0
- data/lib/riak/core_ext/to_param.rb +31 -0
- data/lib/riak/counter.rb +101 -0
- data/lib/riak/crdt.rb +21 -0
- data/lib/riak/crdt/base.rb +183 -0
- data/lib/riak/crdt/batch_counter.rb +19 -0
- data/lib/riak/crdt/batch_map.rb +41 -0
- data/lib/riak/crdt/counter.rb +82 -0
- data/lib/riak/crdt/inner_counter.rb +81 -0
- data/lib/riak/crdt/inner_flag.rb +42 -0
- data/lib/riak/crdt/inner_map.rb +75 -0
- data/lib/riak/crdt/inner_register.rb +26 -0
- data/lib/riak/crdt/inner_set.rb +102 -0
- data/lib/riak/crdt/map.rb +121 -0
- data/lib/riak/crdt/operation.rb +19 -0
- data/lib/riak/crdt/set.rb +166 -0
- data/lib/riak/crdt/typed_collection.rb +181 -0
- data/lib/riak/encoding.rb +6 -0
- data/lib/riak/errors/backend_creation.rb +9 -0
- data/lib/riak/errors/base.rb +9 -0
- data/lib/riak/errors/connection_error.rb +50 -0
- data/lib/riak/errors/crdt_error.rb +38 -0
- data/lib/riak/errors/failed_request.rb +58 -0
- data/lib/riak/errors/protobuffs_error.rb +11 -0
- data/lib/riak/errors/search_error.rb +35 -0
- data/lib/riak/i18n.rb +7 -0
- data/lib/riak/index_collection.rb +71 -0
- data/lib/riak/instrumentation.rb +6 -0
- data/lib/riak/json.rb +52 -0
- data/lib/riak/link.rb +96 -0
- data/lib/riak/list_buckets.rb +28 -0
- data/lib/riak/locale/en.yml +107 -0
- data/lib/riak/locale/fr.yml +51 -0
- data/lib/riak/map_reduce.rb +295 -0
- data/lib/riak/map_reduce/filter_builder.rb +103 -0
- data/lib/riak/map_reduce/phase.rb +98 -0
- data/lib/riak/map_reduce/results.rb +49 -0
- data/lib/riak/map_reduce_error.rb +7 -0
- data/lib/riak/multiget.rb +122 -0
- data/lib/riak/preflist_item.rb +7 -0
- data/lib/riak/rcontent.rb +173 -0
- data/lib/riak/robject.rb +222 -0
- data/lib/riak/search.rb +11 -0
- data/lib/riak/search/index.rb +87 -0
- data/lib/riak/search/query.rb +141 -0
- data/lib/riak/search/result_collection.rb +144 -0
- data/lib/riak/search/result_document.rb +129 -0
- data/lib/riak/search/schema.rb +65 -0
- data/lib/riak/secondary_index.rb +81 -0
- data/lib/riak/serializers.rb +73 -0
- data/lib/riak/stamp.rb +77 -0
- data/lib/riak/util/escape.rb +80 -0
- data/lib/riak/util/tcp_socket_extensions.rb +58 -0
- data/lib/riak/util/translation.rb +18 -0
- data/lib/riak/version.rb +3 -0
- data/lib/riak/walk_spec.rb +145 -0
- data/spec/failover/failover.rb +59 -0
- data/spec/fixtures/bitcask.txt +25 -0
- data/spec/fixtures/cat.jpg +0 -0
- data/spec/fixtures/multipart-basic-conflict.txt +15 -0
- data/spec/fixtures/multipart-blank.txt +7 -0
- data/spec/fixtures/multipart-mapreduce.txt +10 -0
- data/spec/fixtures/multipart-with-body.txt +16 -0
- data/spec/fixtures/multipart-with-marked-tombstones.txt +17 -0
- data/spec/fixtures/multipart-with-unmarked-tombstone.txt +16 -0
- data/spec/fixtures/server.cert.crt +15 -0
- data/spec/fixtures/server.cert.key +15 -0
- data/spec/fixtures/test.pem +1 -0
- data/spec/fixtures/yz_schema_template.xml +18 -0
- data/spec/integration/riak/bucket_types_spec.rb +270 -0
- data/spec/integration/riak/conflict_resolution_spec.rb +96 -0
- data/spec/integration/riak/counters_spec.rb +36 -0
- data/spec/integration/riak/crdt/configuration_spec.rb +37 -0
- data/spec/integration/riak/crdt_search_spec.rb +176 -0
- data/spec/integration/riak/crdt_spec.rb +250 -0
- data/spec/integration/riak/crdt_validation/map_spec.rb +63 -0
- data/spec/integration/riak/crdt_validation/set_spec.rb +122 -0
- data/spec/integration/riak/preflist_spec.rb +31 -0
- data/spec/integration/riak/properties_spec.rb +69 -0
- data/spec/integration/riak/protobuffs/interrupted_request_spec.rb +33 -0
- data/spec/integration/riak/protobuffs_backends_spec.rb +40 -0
- data/spec/integration/riak/search_spec.rb +104 -0
- data/spec/integration/riak/secondary_index_spec.rb +72 -0
- data/spec/integration/riak/security_spec.rb +100 -0
- data/spec/integration/riak/threading_spec.rb +150 -0
- data/spec/integration/yokozuna/index_spec.rb +61 -0
- data/spec/integration/yokozuna/queries_spec.rb +115 -0
- data/spec/integration/yokozuna/schema_spec.rb +49 -0
- data/spec/riak/beefcake_protobuffs_backend/bucket_properties_operator_spec.rb +247 -0
- data/spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb +222 -0
- data/spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb +23 -0
- data/spec/riak/beefcake_protobuffs_backend/protocol_spec.rb +189 -0
- data/spec/riak/beefcake_protobuffs_backend_spec.rb +162 -0
- data/spec/riak/bucket_properties_spec.rb +135 -0
- data/spec/riak/bucket_spec.rb +275 -0
- data/spec/riak/bucket_type_spec.rb +50 -0
- data/spec/riak/bucket_typed/bucket_spec.rb +62 -0
- data/spec/riak/client_spec.rb +246 -0
- data/spec/riak/core_ext/to_param_spec.rb +15 -0
- data/spec/riak/counter_spec.rb +122 -0
- data/spec/riak/crdt/counter_spec.rb +55 -0
- data/spec/riak/crdt/inner_counter_spec.rb +21 -0
- data/spec/riak/crdt/inner_flag_spec.rb +39 -0
- data/spec/riak/crdt/inner_map_spec.rb +47 -0
- data/spec/riak/crdt/inner_register_spec.rb +40 -0
- data/spec/riak/crdt/inner_set_spec.rb +33 -0
- data/spec/riak/crdt/map_spec.rb +78 -0
- data/spec/riak/crdt/set_spec.rb +61 -0
- data/spec/riak/crdt/shared_examples.rb +74 -0
- data/spec/riak/crdt/typed_collection_spec.rb +225 -0
- data/spec/riak/escape_spec.rb +72 -0
- data/spec/riak/feature_detection_spec.rb +77 -0
- data/spec/riak/index_collection_spec.rb +53 -0
- data/spec/riak/instrumentation_spec.rb +124 -0
- data/spec/riak/link_spec.rb +85 -0
- data/spec/riak/list_buckets_spec.rb +41 -0
- data/spec/riak/map_reduce/filter_builder_spec.rb +32 -0
- data/spec/riak/map_reduce/phase_spec.rb +142 -0
- data/spec/riak/map_reduce_spec.rb +434 -0
- data/spec/riak/multiget_spec.rb +81 -0
- data/spec/riak/node_spec.rb +26 -0
- data/spec/riak/robject_spec.rb +496 -0
- data/spec/riak/search/index_spec.rb +72 -0
- data/spec/riak/search/query_spec.rb +88 -0
- data/spec/riak/search/result_collection_spec.rb +89 -0
- data/spec/riak/search/result_document_spec.rb +106 -0
- data/spec/riak/search/schema_spec.rb +63 -0
- data/spec/riak/search_spec.rb +107 -0
- data/spec/riak/secondary_index_spec.rb +225 -0
- data/spec/riak/serializers_spec.rb +121 -0
- data/spec/riak/stamp_spec.rb +54 -0
- data/spec/riak/walk_spec_spec.rb +203 -0
- data/spec/spec_helper.rb +66 -0
- data/spec/support/certs/README.md +13 -0
- data/spec/support/certs/ca.crt +21 -0
- data/spec/support/certs/client.crl +13 -0
- data/spec/support/certs/client.crt +94 -0
- data/spec/support/certs/client.csr +18 -0
- data/spec/support/certs/client.key +27 -0
- data/spec/support/certs/empty_ca.crt +21 -0
- data/spec/support/certs/server.crl +13 -0
- data/spec/support/certs/server.crt +94 -0
- data/spec/support/certs/server.key +27 -0
- data/spec/support/crdt_search_config.rb +112 -0
- data/spec/support/crdt_search_fixtures.rb +42 -0
- data/spec/support/integration_setup.rb +10 -0
- data/spec/support/search_config.rb +83 -0
- data/spec/support/search_corpus_setup.rb +39 -0
- data/spec/support/test_client.rb +46 -0
- data/spec/support/test_client.yml.example +10 -0
- data/spec/support/unified_backend_examples.rb +380 -0
- data/spec/support/version_filter.rb +12 -0
- data/spec/support/wait_until.rb +20 -0
- metadata +511 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.before(:each, version: ->(v) { v }) do |example|
|
5
|
+
required = Gem::Requirement.create(example.metadata[:version])
|
6
|
+
actual = Gem::Version.new(test_server.version)
|
7
|
+
skip(
|
8
|
+
"SKIP: Tests feature for Riak #{required}, but testing against #{actual}",
|
9
|
+
unless: required.satisfied_by?(actual)
|
10
|
+
)
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# This module is used for search testing, and other testing activities that may
|
2
|
+
# take time to "settle" in Riak.
|
3
|
+
module WaitUntil
|
4
|
+
def wait_until(attempts = 10)
|
5
|
+
(0..attempts).each do |a|
|
6
|
+
begin
|
7
|
+
break if yield
|
8
|
+
rescue
|
9
|
+
nil
|
10
|
+
end
|
11
|
+
|
12
|
+
sleep a
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.include WaitUntil
|
19
|
+
config.extend WaitUntil
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,511 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: riak-client-noenc
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kyanagimoto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rspec
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 10.1.1
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 10.1.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: yard
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.8.7
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.8.7
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: kramdown
|
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'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.10.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.10.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: instrumentable
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.1.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 0.28.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.28.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: i18n
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.4.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.4.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: beefcake
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.1'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.1'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: multi_json
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '1.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: innertube
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.0.2
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.0.2
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: cert_validator
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: 0.0.1
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.0.1
|
181
|
+
description: riak-client is a rich client for Riak, the distributed database by Basho.
|
182
|
+
It supports the full HTTP and Protocol Buffers interfaces including storage operations,
|
183
|
+
bucket configuration, link-walking, secondary indexes and map-reduce.
|
184
|
+
email:
|
185
|
+
- kyanagi1107@gmail.com
|
186
|
+
executables: []
|
187
|
+
extensions: []
|
188
|
+
extra_rdoc_files: []
|
189
|
+
files:
|
190
|
+
- ".document"
|
191
|
+
- ".gitignore"
|
192
|
+
- ".rspec"
|
193
|
+
- Gemfile
|
194
|
+
- Guardfile
|
195
|
+
- LICENSE.md
|
196
|
+
- README.markdown
|
197
|
+
- RELEASE_NOTES.md
|
198
|
+
- Rakefile
|
199
|
+
- lib/riak.rb
|
200
|
+
- lib/riak/bucket.rb
|
201
|
+
- lib/riak/bucket_properties.rb
|
202
|
+
- lib/riak/bucket_type.rb
|
203
|
+
- lib/riak/bucket_typed/bucket.rb
|
204
|
+
- lib/riak/client.rb
|
205
|
+
- lib/riak/client/beefcake/bucket_properties_operator.rb
|
206
|
+
- lib/riak/client/beefcake/crdt/counter_loader.rb
|
207
|
+
- lib/riak/client/beefcake/crdt/map_loader.rb
|
208
|
+
- lib/riak/client/beefcake/crdt/set_loader.rb
|
209
|
+
- lib/riak/client/beefcake/crdt_loader.rb
|
210
|
+
- lib/riak/client/beefcake/crdt_operator.rb
|
211
|
+
- lib/riak/client/beefcake/footer
|
212
|
+
- lib/riak/client/beefcake/header
|
213
|
+
- lib/riak/client/beefcake/message_codes.rb
|
214
|
+
- lib/riak/client/beefcake/message_overlay.rb
|
215
|
+
- lib/riak/client/beefcake/messages.rb
|
216
|
+
- lib/riak/client/beefcake/object_methods.rb
|
217
|
+
- lib/riak/client/beefcake/protocol.rb
|
218
|
+
- lib/riak/client/beefcake/socket.rb
|
219
|
+
- lib/riak/client/beefcake_protobuffs_backend.rb
|
220
|
+
- lib/riak/client/decaying.rb
|
221
|
+
- lib/riak/client/feature_detection.rb
|
222
|
+
- lib/riak/client/instrumentation.rb
|
223
|
+
- lib/riak/client/node.rb
|
224
|
+
- lib/riak/client/protobuffs_backend.rb
|
225
|
+
- lib/riak/client/search.rb
|
226
|
+
- lib/riak/client/yokozuna.rb
|
227
|
+
- lib/riak/conflict.rb
|
228
|
+
- lib/riak/core_ext.rb
|
229
|
+
- lib/riak/core_ext/blank.rb
|
230
|
+
- lib/riak/core_ext/deep_dup.rb
|
231
|
+
- lib/riak/core_ext/extract_options.rb
|
232
|
+
- lib/riak/core_ext/json.rb
|
233
|
+
- lib/riak/core_ext/slice.rb
|
234
|
+
- lib/riak/core_ext/stringify_keys.rb
|
235
|
+
- lib/riak/core_ext/symbolize_keys.rb
|
236
|
+
- lib/riak/core_ext/to_param.rb
|
237
|
+
- lib/riak/counter.rb
|
238
|
+
- lib/riak/crdt.rb
|
239
|
+
- lib/riak/crdt/base.rb
|
240
|
+
- lib/riak/crdt/batch_counter.rb
|
241
|
+
- lib/riak/crdt/batch_map.rb
|
242
|
+
- lib/riak/crdt/counter.rb
|
243
|
+
- lib/riak/crdt/inner_counter.rb
|
244
|
+
- lib/riak/crdt/inner_flag.rb
|
245
|
+
- lib/riak/crdt/inner_map.rb
|
246
|
+
- lib/riak/crdt/inner_register.rb
|
247
|
+
- lib/riak/crdt/inner_set.rb
|
248
|
+
- lib/riak/crdt/map.rb
|
249
|
+
- lib/riak/crdt/operation.rb
|
250
|
+
- lib/riak/crdt/set.rb
|
251
|
+
- lib/riak/crdt/typed_collection.rb
|
252
|
+
- lib/riak/encoding.rb
|
253
|
+
- lib/riak/errors/backend_creation.rb
|
254
|
+
- lib/riak/errors/base.rb
|
255
|
+
- lib/riak/errors/connection_error.rb
|
256
|
+
- lib/riak/errors/crdt_error.rb
|
257
|
+
- lib/riak/errors/failed_request.rb
|
258
|
+
- lib/riak/errors/protobuffs_error.rb
|
259
|
+
- lib/riak/errors/search_error.rb
|
260
|
+
- lib/riak/i18n.rb
|
261
|
+
- lib/riak/index_collection.rb
|
262
|
+
- lib/riak/instrumentation.rb
|
263
|
+
- lib/riak/json.rb
|
264
|
+
- lib/riak/link.rb
|
265
|
+
- lib/riak/list_buckets.rb
|
266
|
+
- lib/riak/locale/en.yml
|
267
|
+
- lib/riak/locale/fr.yml
|
268
|
+
- lib/riak/map_reduce.rb
|
269
|
+
- lib/riak/map_reduce/filter_builder.rb
|
270
|
+
- lib/riak/map_reduce/phase.rb
|
271
|
+
- lib/riak/map_reduce/results.rb
|
272
|
+
- lib/riak/map_reduce_error.rb
|
273
|
+
- lib/riak/multiget.rb
|
274
|
+
- lib/riak/preflist_item.rb
|
275
|
+
- lib/riak/rcontent.rb
|
276
|
+
- lib/riak/robject.rb
|
277
|
+
- lib/riak/search.rb
|
278
|
+
- lib/riak/search/index.rb
|
279
|
+
- lib/riak/search/query.rb
|
280
|
+
- lib/riak/search/result_collection.rb
|
281
|
+
- lib/riak/search/result_document.rb
|
282
|
+
- lib/riak/search/schema.rb
|
283
|
+
- lib/riak/secondary_index.rb
|
284
|
+
- lib/riak/serializers.rb
|
285
|
+
- lib/riak/stamp.rb
|
286
|
+
- lib/riak/util/escape.rb
|
287
|
+
- lib/riak/util/tcp_socket_extensions.rb
|
288
|
+
- lib/riak/util/translation.rb
|
289
|
+
- lib/riak/version.rb
|
290
|
+
- lib/riak/walk_spec.rb
|
291
|
+
- spec/failover/failover.rb
|
292
|
+
- spec/fixtures/bitcask.txt
|
293
|
+
- spec/fixtures/cat.jpg
|
294
|
+
- spec/fixtures/multipart-basic-conflict.txt
|
295
|
+
- spec/fixtures/multipart-blank.txt
|
296
|
+
- spec/fixtures/multipart-mapreduce.txt
|
297
|
+
- spec/fixtures/multipart-with-body.txt
|
298
|
+
- spec/fixtures/multipart-with-marked-tombstones.txt
|
299
|
+
- spec/fixtures/multipart-with-unmarked-tombstone.txt
|
300
|
+
- spec/fixtures/server.cert.crt
|
301
|
+
- spec/fixtures/server.cert.key
|
302
|
+
- spec/fixtures/test.pem
|
303
|
+
- spec/fixtures/yz_schema_template.xml
|
304
|
+
- spec/integration/riak/bucket_types_spec.rb
|
305
|
+
- spec/integration/riak/conflict_resolution_spec.rb
|
306
|
+
- spec/integration/riak/counters_spec.rb
|
307
|
+
- spec/integration/riak/crdt/configuration_spec.rb
|
308
|
+
- spec/integration/riak/crdt_search_spec.rb
|
309
|
+
- spec/integration/riak/crdt_spec.rb
|
310
|
+
- spec/integration/riak/crdt_validation/map_spec.rb
|
311
|
+
- spec/integration/riak/crdt_validation/set_spec.rb
|
312
|
+
- spec/integration/riak/preflist_spec.rb
|
313
|
+
- spec/integration/riak/properties_spec.rb
|
314
|
+
- spec/integration/riak/protobuffs/interrupted_request_spec.rb
|
315
|
+
- spec/integration/riak/protobuffs_backends_spec.rb
|
316
|
+
- spec/integration/riak/search_spec.rb
|
317
|
+
- spec/integration/riak/secondary_index_spec.rb
|
318
|
+
- spec/integration/riak/security_spec.rb
|
319
|
+
- spec/integration/riak/threading_spec.rb
|
320
|
+
- spec/integration/yokozuna/index_spec.rb
|
321
|
+
- spec/integration/yokozuna/queries_spec.rb
|
322
|
+
- spec/integration/yokozuna/schema_spec.rb
|
323
|
+
- spec/riak/beefcake_protobuffs_backend/bucket_properties_operator_spec.rb
|
324
|
+
- spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb
|
325
|
+
- spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb
|
326
|
+
- spec/riak/beefcake_protobuffs_backend/protocol_spec.rb
|
327
|
+
- spec/riak/beefcake_protobuffs_backend_spec.rb
|
328
|
+
- spec/riak/bucket_properties_spec.rb
|
329
|
+
- spec/riak/bucket_spec.rb
|
330
|
+
- spec/riak/bucket_type_spec.rb
|
331
|
+
- spec/riak/bucket_typed/bucket_spec.rb
|
332
|
+
- spec/riak/client_spec.rb
|
333
|
+
- spec/riak/core_ext/to_param_spec.rb
|
334
|
+
- spec/riak/counter_spec.rb
|
335
|
+
- spec/riak/crdt/counter_spec.rb
|
336
|
+
- spec/riak/crdt/inner_counter_spec.rb
|
337
|
+
- spec/riak/crdt/inner_flag_spec.rb
|
338
|
+
- spec/riak/crdt/inner_map_spec.rb
|
339
|
+
- spec/riak/crdt/inner_register_spec.rb
|
340
|
+
- spec/riak/crdt/inner_set_spec.rb
|
341
|
+
- spec/riak/crdt/map_spec.rb
|
342
|
+
- spec/riak/crdt/set_spec.rb
|
343
|
+
- spec/riak/crdt/shared_examples.rb
|
344
|
+
- spec/riak/crdt/typed_collection_spec.rb
|
345
|
+
- spec/riak/escape_spec.rb
|
346
|
+
- spec/riak/feature_detection_spec.rb
|
347
|
+
- spec/riak/index_collection_spec.rb
|
348
|
+
- spec/riak/instrumentation_spec.rb
|
349
|
+
- spec/riak/link_spec.rb
|
350
|
+
- spec/riak/list_buckets_spec.rb
|
351
|
+
- spec/riak/map_reduce/filter_builder_spec.rb
|
352
|
+
- spec/riak/map_reduce/phase_spec.rb
|
353
|
+
- spec/riak/map_reduce_spec.rb
|
354
|
+
- spec/riak/multiget_spec.rb
|
355
|
+
- spec/riak/node_spec.rb
|
356
|
+
- spec/riak/robject_spec.rb
|
357
|
+
- spec/riak/search/index_spec.rb
|
358
|
+
- spec/riak/search/query_spec.rb
|
359
|
+
- spec/riak/search/result_collection_spec.rb
|
360
|
+
- spec/riak/search/result_document_spec.rb
|
361
|
+
- spec/riak/search/schema_spec.rb
|
362
|
+
- spec/riak/search_spec.rb
|
363
|
+
- spec/riak/secondary_index_spec.rb
|
364
|
+
- spec/riak/serializers_spec.rb
|
365
|
+
- spec/riak/stamp_spec.rb
|
366
|
+
- spec/riak/walk_spec_spec.rb
|
367
|
+
- spec/spec_helper.rb
|
368
|
+
- spec/support/certs/README.md
|
369
|
+
- spec/support/certs/ca.crt
|
370
|
+
- spec/support/certs/client.crl
|
371
|
+
- spec/support/certs/client.crt
|
372
|
+
- spec/support/certs/client.csr
|
373
|
+
- spec/support/certs/client.key
|
374
|
+
- spec/support/certs/empty_ca.crt
|
375
|
+
- spec/support/certs/server.crl
|
376
|
+
- spec/support/certs/server.crt
|
377
|
+
- spec/support/certs/server.key
|
378
|
+
- spec/support/crdt_search_config.rb
|
379
|
+
- spec/support/crdt_search_fixtures.rb
|
380
|
+
- spec/support/integration_setup.rb
|
381
|
+
- spec/support/search_config.rb
|
382
|
+
- spec/support/search_corpus_setup.rb
|
383
|
+
- spec/support/test_client.rb
|
384
|
+
- spec/support/test_client.yml
|
385
|
+
- spec/support/test_client.yml.example
|
386
|
+
- spec/support/unified_backend_examples.rb
|
387
|
+
- spec/support/version_filter.rb
|
388
|
+
- spec/support/wait_until.rb
|
389
|
+
homepage: http://github.com/kyanagimoto/riak-ruby-client-noenc
|
390
|
+
licenses:
|
391
|
+
- Apache 2.0
|
392
|
+
metadata: {}
|
393
|
+
post_install_message:
|
394
|
+
rdoc_options: []
|
395
|
+
require_paths:
|
396
|
+
- lib
|
397
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
398
|
+
requirements:
|
399
|
+
- - ">="
|
400
|
+
- !ruby/object:Gem::Version
|
401
|
+
version: 1.9.3
|
402
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
403
|
+
requirements:
|
404
|
+
- - ">="
|
405
|
+
- !ruby/object:Gem::Version
|
406
|
+
version: '0'
|
407
|
+
requirements: []
|
408
|
+
rubyforge_project:
|
409
|
+
rubygems_version: 2.2.2
|
410
|
+
signing_key:
|
411
|
+
specification_version: 4
|
412
|
+
summary: riak-client is a rich client for Riak, the distributed database by Basho.
|
413
|
+
test_files:
|
414
|
+
- spec/failover/failover.rb
|
415
|
+
- spec/fixtures/bitcask.txt
|
416
|
+
- spec/fixtures/cat.jpg
|
417
|
+
- spec/fixtures/multipart-basic-conflict.txt
|
418
|
+
- spec/fixtures/multipart-blank.txt
|
419
|
+
- spec/fixtures/multipart-mapreduce.txt
|
420
|
+
- spec/fixtures/multipart-with-body.txt
|
421
|
+
- spec/fixtures/multipart-with-marked-tombstones.txt
|
422
|
+
- spec/fixtures/multipart-with-unmarked-tombstone.txt
|
423
|
+
- spec/fixtures/server.cert.crt
|
424
|
+
- spec/fixtures/server.cert.key
|
425
|
+
- spec/fixtures/test.pem
|
426
|
+
- spec/fixtures/yz_schema_template.xml
|
427
|
+
- spec/integration/riak/bucket_types_spec.rb
|
428
|
+
- spec/integration/riak/conflict_resolution_spec.rb
|
429
|
+
- spec/integration/riak/counters_spec.rb
|
430
|
+
- spec/integration/riak/crdt/configuration_spec.rb
|
431
|
+
- spec/integration/riak/crdt_search_spec.rb
|
432
|
+
- spec/integration/riak/crdt_spec.rb
|
433
|
+
- spec/integration/riak/crdt_validation/map_spec.rb
|
434
|
+
- spec/integration/riak/crdt_validation/set_spec.rb
|
435
|
+
- spec/integration/riak/preflist_spec.rb
|
436
|
+
- spec/integration/riak/properties_spec.rb
|
437
|
+
- spec/integration/riak/protobuffs/interrupted_request_spec.rb
|
438
|
+
- spec/integration/riak/protobuffs_backends_spec.rb
|
439
|
+
- spec/integration/riak/search_spec.rb
|
440
|
+
- spec/integration/riak/secondary_index_spec.rb
|
441
|
+
- spec/integration/riak/security_spec.rb
|
442
|
+
- spec/integration/riak/threading_spec.rb
|
443
|
+
- spec/integration/yokozuna/index_spec.rb
|
444
|
+
- spec/integration/yokozuna/queries_spec.rb
|
445
|
+
- spec/integration/yokozuna/schema_spec.rb
|
446
|
+
- spec/riak/beefcake_protobuffs_backend/bucket_properties_operator_spec.rb
|
447
|
+
- spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb
|
448
|
+
- spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb
|
449
|
+
- spec/riak/beefcake_protobuffs_backend/protocol_spec.rb
|
450
|
+
- spec/riak/beefcake_protobuffs_backend_spec.rb
|
451
|
+
- spec/riak/bucket_properties_spec.rb
|
452
|
+
- spec/riak/bucket_spec.rb
|
453
|
+
- spec/riak/bucket_type_spec.rb
|
454
|
+
- spec/riak/bucket_typed/bucket_spec.rb
|
455
|
+
- spec/riak/client_spec.rb
|
456
|
+
- spec/riak/core_ext/to_param_spec.rb
|
457
|
+
- spec/riak/counter_spec.rb
|
458
|
+
- spec/riak/crdt/counter_spec.rb
|
459
|
+
- spec/riak/crdt/inner_counter_spec.rb
|
460
|
+
- spec/riak/crdt/inner_flag_spec.rb
|
461
|
+
- spec/riak/crdt/inner_map_spec.rb
|
462
|
+
- spec/riak/crdt/inner_register_spec.rb
|
463
|
+
- spec/riak/crdt/inner_set_spec.rb
|
464
|
+
- spec/riak/crdt/map_spec.rb
|
465
|
+
- spec/riak/crdt/set_spec.rb
|
466
|
+
- spec/riak/crdt/shared_examples.rb
|
467
|
+
- spec/riak/crdt/typed_collection_spec.rb
|
468
|
+
- spec/riak/escape_spec.rb
|
469
|
+
- spec/riak/feature_detection_spec.rb
|
470
|
+
- spec/riak/index_collection_spec.rb
|
471
|
+
- spec/riak/instrumentation_spec.rb
|
472
|
+
- spec/riak/link_spec.rb
|
473
|
+
- spec/riak/list_buckets_spec.rb
|
474
|
+
- spec/riak/map_reduce/filter_builder_spec.rb
|
475
|
+
- spec/riak/map_reduce/phase_spec.rb
|
476
|
+
- spec/riak/map_reduce_spec.rb
|
477
|
+
- spec/riak/multiget_spec.rb
|
478
|
+
- spec/riak/node_spec.rb
|
479
|
+
- spec/riak/robject_spec.rb
|
480
|
+
- spec/riak/search/index_spec.rb
|
481
|
+
- spec/riak/search/query_spec.rb
|
482
|
+
- spec/riak/search/result_collection_spec.rb
|
483
|
+
- spec/riak/search/result_document_spec.rb
|
484
|
+
- spec/riak/search/schema_spec.rb
|
485
|
+
- spec/riak/search_spec.rb
|
486
|
+
- spec/riak/secondary_index_spec.rb
|
487
|
+
- spec/riak/serializers_spec.rb
|
488
|
+
- spec/riak/stamp_spec.rb
|
489
|
+
- spec/riak/walk_spec_spec.rb
|
490
|
+
- spec/spec_helper.rb
|
491
|
+
- spec/support/certs/README.md
|
492
|
+
- spec/support/certs/ca.crt
|
493
|
+
- spec/support/certs/client.crl
|
494
|
+
- spec/support/certs/client.crt
|
495
|
+
- spec/support/certs/client.csr
|
496
|
+
- spec/support/certs/client.key
|
497
|
+
- spec/support/certs/empty_ca.crt
|
498
|
+
- spec/support/certs/server.crl
|
499
|
+
- spec/support/certs/server.crt
|
500
|
+
- spec/support/certs/server.key
|
501
|
+
- spec/support/crdt_search_config.rb
|
502
|
+
- spec/support/crdt_search_fixtures.rb
|
503
|
+
- spec/support/integration_setup.rb
|
504
|
+
- spec/support/search_config.rb
|
505
|
+
- spec/support/search_corpus_setup.rb
|
506
|
+
- spec/support/test_client.rb
|
507
|
+
- spec/support/test_client.yml
|
508
|
+
- spec/support/test_client.yml.example
|
509
|
+
- spec/support/unified_backend_examples.rb
|
510
|
+
- spec/support/version_filter.rb
|
511
|
+
- spec/support/wait_until.rb
|