riak-client 1.4.5 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile +0 -1
- data/{LICENSE → LICENSE.md} +0 -0
- data/README.markdown +211 -66
- data/RELEASE_NOTES.md +22 -47
- data/Rakefile +45 -0
- data/lib/riak.rb +1 -1
- data/lib/riak/bucket.rb +2 -2
- data/lib/riak/client.rb +22 -195
- data/lib/riak/client/beefcake/crdt_loader.rb +127 -0
- data/lib/riak/client/beefcake/crdt_operator.rb +222 -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 +29 -0
- data/lib/riak/client/beefcake/message_overlay.rb +61 -0
- data/lib/riak/client/beefcake/messages.rb +733 -371
- data/lib/riak/client/beefcake/object_methods.rb +1 -1
- data/lib/riak/client/beefcake/protocol.rb +105 -0
- data/lib/riak/client/beefcake/socket.rb +243 -0
- data/lib/riak/client/beefcake_protobuffs_backend.rb +262 -122
- data/lib/riak/client/node.rb +4 -75
- data/lib/riak/client/protobuffs_backend.rb +6 -14
- data/lib/riak/client/search.rb +0 -64
- data/lib/riak/client/yokozuna.rb +52 -0
- data/lib/riak/counter.rb +1 -1
- data/lib/riak/crdt.rb +21 -0
- data/lib/riak/crdt/base.rb +97 -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 +71 -0
- data/lib/riak/crdt/inner_counter.rb +74 -0
- data/lib/riak/crdt/inner_flag.rb +42 -0
- data/lib/riak/crdt/inner_map.rb +53 -0
- data/lib/riak/crdt/inner_register.rb +26 -0
- data/lib/riak/crdt/inner_set.rb +95 -0
- data/lib/riak/crdt/map.rb +88 -0
- data/lib/riak/crdt/operation.rb +19 -0
- data/lib/riak/crdt/set.rb +156 -0
- data/lib/riak/crdt/typed_collection.rb +131 -0
- data/lib/riak/errors/base.rb +9 -0
- data/lib/riak/errors/connection_error.rb +44 -0
- data/lib/riak/errors/crdt_error.rb +18 -0
- data/lib/riak/errors/failed_request.rb +56 -0
- data/lib/riak/errors/protobuffs_error.rb +11 -0
- data/lib/riak/i18n.rb +2 -0
- data/lib/riak/json.rb +1 -1
- data/lib/riak/locale/en.yml +26 -1
- data/lib/riak/locale/fr.yml +0 -1
- data/lib/riak/map_reduce.rb +1 -1
- data/lib/riak/map_reduce/results.rb +1 -1
- data/lib/riak/multiget.rb +1 -2
- data/lib/riak/rcontent.rb +8 -3
- data/lib/riak/robject.rb +2 -8
- data/lib/riak/secondary_index.rb +4 -4
- data/lib/riak/serializers.rb +1 -1
- data/lib/riak/util/escape.rb +3 -5
- data/lib/riak/version.rb +1 -1
- data/lib/riak/walk_spec.rb +7 -3
- data/riak-client.gemspec +10 -8
- data/spec/fixtures/bitcask.txt +25 -0
- data/spec/integration/riak/bucket_types_spec.rb +61 -0
- data/spec/integration/riak/counters_spec.rb +17 -32
- data/spec/integration/riak/crdt_spec.rb +181 -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/protobuffs_backends_spec.rb +9 -26
- data/spec/integration/riak/security_spec.rb +94 -0
- data/spec/integration/riak/threading_spec.rb +24 -67
- data/spec/integration/yokozuna/index_spec.rb +61 -0
- data/spec/integration/yokozuna/queries_spec.rb +116 -0
- data/spec/integration/yokozuna/schema_spec.rb +49 -0
- data/spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb +222 -0
- data/spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb +4 -4
- data/spec/riak/beefcake_protobuffs_backend/protocol_spec.rb +189 -0
- data/spec/riak/beefcake_protobuffs_backend/socket_spec.rb +151 -0
- data/spec/riak/beefcake_protobuffs_backend_spec.rb +68 -106
- data/spec/riak/bucket_spec.rb +81 -77
- data/spec/riak/client_spec.rb +43 -340
- data/spec/riak/core_ext/to_param_spec.rb +2 -2
- data/spec/riak/counter_spec.rb +20 -20
- data/spec/riak/crdt/counter_spec.rb +52 -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 +77 -0
- data/spec/riak/crdt/set_spec.rb +58 -0
- data/spec/riak/crdt/shared_examples.rb +74 -0
- data/spec/riak/crdt/typed_collection_spec.rb +231 -0
- data/spec/riak/escape_spec.rb +33 -37
- data/spec/riak/feature_detection_spec.rb +45 -45
- data/spec/riak/index_collection_spec.rb +12 -12
- data/spec/riak/link_spec.rb +34 -34
- data/spec/riak/list_buckets_spec.rb +7 -7
- data/spec/riak/map_reduce/filter_builder_spec.rb +6 -6
- data/spec/riak/map_reduce/phase_spec.rb +35 -35
- data/spec/riak/map_reduce_spec.rb +89 -87
- data/spec/riak/multiget_spec.rb +20 -15
- data/spec/riak/node_spec.rb +5 -152
- data/spec/riak/robject_spec.rb +95 -108
- data/spec/riak/search_spec.rb +17 -139
- data/spec/riak/secondary_index_spec.rb +49 -49
- data/spec/riak/serializers_spec.rb +9 -9
- data/spec/riak/stamp_spec.rb +9 -9
- data/spec/riak/walk_spec_spec.rb +46 -46
- data/spec/spec_helper.rb +14 -22
- data/spec/support/certs/README.md +13 -0
- data/spec/support/certs/ca.crt +22 -0
- data/spec/support/certs/client.crt +95 -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 +95 -0
- data/spec/support/certs/server.key +27 -0
- data/spec/support/integration_setup.rb +1 -1
- data/spec/support/search_corpus_setup.rb +29 -8
- data/spec/support/test_client.rb +46 -0
- data/spec/support/test_client.yml.example +10 -0
- data/spec/support/unified_backend_examples.rb +104 -83
- data/spec/support/version_filter.rb +2 -2
- data/spec/support/wait_until.rb +14 -0
- metadata +134 -132
- data/erl_src/riak_kv_test014_backend.beam +0 -0
- data/erl_src/riak_kv_test014_backend.erl +0 -189
- data/erl_src/riak_kv_test_backend.beam +0 -0
- data/erl_src/riak_kv_test_backend.erl +0 -731
- data/erl_src/riak_search_test_backend.beam +0 -0
- data/erl_src/riak_search_test_backend.erl +0 -175
- data/lib/riak/client/excon_backend.rb +0 -172
- data/lib/riak/client/http_backend.rb +0 -413
- data/lib/riak/client/http_backend/bucket_streamer.rb +0 -15
- data/lib/riak/client/http_backend/chunked_json_streamer.rb +0 -42
- data/lib/riak/client/http_backend/configuration.rb +0 -227
- data/lib/riak/client/http_backend/key_streamer.rb +0 -15
- data/lib/riak/client/http_backend/object_methods.rb +0 -114
- data/lib/riak/client/http_backend/request_headers.rb +0 -34
- data/lib/riak/client/http_backend/transport_methods.rb +0 -201
- data/lib/riak/client/instrumentation.rb +0 -25
- data/lib/riak/client/net_http_backend.rb +0 -82
- data/lib/riak/cluster.rb +0 -151
- data/lib/riak/failed_request.rb +0 -81
- data/lib/riak/instrumentation.rb +0 -6
- data/lib/riak/node.rb +0 -40
- data/lib/riak/node/configuration.rb +0 -304
- data/lib/riak/node/console.rb +0 -133
- data/lib/riak/node/control.rb +0 -207
- data/lib/riak/node/defaults.rb +0 -85
- data/lib/riak/node/generation.rb +0 -127
- data/lib/riak/node/log.rb +0 -34
- data/lib/riak/node/version.rb +0 -29
- data/lib/riak/search.rb +0 -3
- data/lib/riak/test_server.rb +0 -89
- data/lib/riak/util/headers.rb +0 -32
- data/lib/riak/util/multipart.rb +0 -52
- data/lib/riak/util/multipart/stream_parser.rb +0 -62
- data/spec/fixtures/munchausen.txt +0 -1033
- data/spec/integration/riak/cluster_spec.rb +0 -88
- data/spec/integration/riak/http_backends_spec.rb +0 -180
- data/spec/integration/riak/node_spec.rb +0 -170
- data/spec/integration/riak/test_server_spec.rb +0 -57
- data/spec/riak/excon_backend_spec.rb +0 -102
- data/spec/riak/headers_spec.rb +0 -21
- data/spec/riak/http_backend/configuration_spec.rb +0 -273
- data/spec/riak/http_backend/object_methods_spec.rb +0 -243
- data/spec/riak/http_backend/transport_methods_spec.rb +0 -97
- data/spec/riak/http_backend_spec.rb +0 -367
- data/spec/riak/instrumentation_spec.rb +0 -167
- data/spec/riak/multipart_spec.rb +0 -23
- data/spec/riak/net_http_backend_spec.rb +0 -15
- data/spec/riak/stream_parser_spec.rb +0 -53
- data/spec/support/drb_mock_server.rb +0 -39
- data/spec/support/http_backend_implementation_examples.rb +0 -253
- data/spec/support/mock_server.rb +0 -81
- data/spec/support/mocks.rb +0 -4
- data/spec/support/riak_test.rb +0 -77
- data/spec/support/sometimes.rb +0 -46
- data/spec/support/test_server.rb +0 -61
- data/spec/support/test_server.yml.example +0 -14
@@ -1,10 +1,10 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
3
|
RSpec.configure do |config|
|
4
|
-
config.before(:each, :version => lambda {|v| !!v }) do
|
4
|
+
config.before(:each, :version => lambda {|v| !!v }) do |example|
|
5
5
|
required = Gem::Requirement.create(example.metadata[:version])
|
6
6
|
actual = Gem::Version.new(test_server.version)
|
7
|
-
|
7
|
+
skip("SKIP: Tests feature for Riak #{required.to_s}, but testing against #{actual.to_s}",
|
8
8
|
:unless => required.satisfied_by?(actual))
|
9
9
|
end
|
10
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: riak-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Cribbs
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -17,84 +17,70 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 3.0.0
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 3.0.0
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '1.2'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '1.2'
|
42
|
-
- !ruby/object:Gem::Dependency
|
43
|
-
name: rack
|
29
|
+
name: rake
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
45
31
|
requirements:
|
46
|
-
- - "
|
32
|
+
- - "~>"
|
47
33
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
34
|
+
version: 10.1.1
|
49
35
|
type: :development
|
50
36
|
prerelease: false
|
51
37
|
version_requirements: !ruby/object:Gem::Requirement
|
52
38
|
requirements:
|
53
|
-
- - "
|
39
|
+
- - "~>"
|
54
40
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
41
|
+
version: 10.1.1
|
56
42
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
43
|
+
name: yard
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
59
45
|
requirements:
|
60
|
-
- - "
|
46
|
+
- - "~>"
|
61
47
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
48
|
+
version: 0.8.7
|
63
49
|
type: :development
|
64
50
|
prerelease: false
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
66
52
|
requirements:
|
67
|
-
- - "
|
53
|
+
- - "~>"
|
68
54
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
55
|
+
version: 0.8.7
|
70
56
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
57
|
+
name: redcarpet
|
72
58
|
requirement: !ruby/object:Gem::Requirement
|
73
59
|
requirements:
|
74
|
-
- - "
|
60
|
+
- - "~>"
|
75
61
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
62
|
+
version: 3.0.0
|
77
63
|
type: :development
|
78
64
|
prerelease: false
|
79
65
|
version_requirements: !ruby/object:Gem::Requirement
|
80
66
|
requirements:
|
81
|
-
- - "
|
67
|
+
- - "~>"
|
82
68
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
69
|
+
version: 3.0.0
|
84
70
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
71
|
+
name: simplecov
|
86
72
|
requirement: !ruby/object:Gem::Requirement
|
87
73
|
requirements:
|
88
74
|
- - "~>"
|
89
75
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
76
|
+
version: 0.8.2
|
91
77
|
type: :development
|
92
78
|
prerelease: false
|
93
79
|
version_requirements: !ruby/object:Gem::Requirement
|
94
80
|
requirements:
|
95
81
|
- - "~>"
|
96
82
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
83
|
+
version: 0.8.2
|
98
84
|
- !ruby/object:Gem::Dependency
|
99
85
|
name: i18n
|
100
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,61 +96,61 @@ dependencies:
|
|
110
96
|
- !ruby/object:Gem::Version
|
111
97
|
version: 0.4.0
|
112
98
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
99
|
+
name: beefcake
|
114
100
|
requirement: !ruby/object:Gem::Requirement
|
115
101
|
requirements:
|
116
102
|
- - ">="
|
117
103
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
104
|
+
version: 1.0.0.pre1
|
119
105
|
type: :runtime
|
120
106
|
prerelease: false
|
121
107
|
version_requirements: !ruby/object:Gem::Requirement
|
122
108
|
requirements:
|
123
109
|
- - ">="
|
124
110
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
111
|
+
version: 1.0.0.pre1
|
126
112
|
- !ruby/object:Gem::Dependency
|
127
|
-
name:
|
113
|
+
name: multi_json
|
128
114
|
requirement: !ruby/object:Gem::Requirement
|
129
115
|
requirements:
|
130
116
|
- - "~>"
|
131
117
|
- !ruby/object:Gem::Version
|
132
|
-
version: 1.0
|
118
|
+
version: '1.0'
|
133
119
|
type: :runtime
|
134
120
|
prerelease: false
|
135
121
|
version_requirements: !ruby/object:Gem::Requirement
|
136
122
|
requirements:
|
137
123
|
- - "~>"
|
138
124
|
- !ruby/object:Gem::Version
|
139
|
-
version: 1.0
|
125
|
+
version: '1.0'
|
140
126
|
- !ruby/object:Gem::Dependency
|
141
|
-
name:
|
127
|
+
name: innertube
|
142
128
|
requirement: !ruby/object:Gem::Requirement
|
143
129
|
requirements:
|
144
130
|
- - "~>"
|
145
131
|
- !ruby/object:Gem::Version
|
146
|
-
version:
|
132
|
+
version: 1.0.2
|
147
133
|
type: :runtime
|
148
134
|
prerelease: false
|
149
135
|
version_requirements: !ruby/object:Gem::Requirement
|
150
136
|
requirements:
|
151
137
|
- - "~>"
|
152
138
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
139
|
+
version: 1.0.2
|
154
140
|
- !ruby/object:Gem::Dependency
|
155
|
-
name:
|
141
|
+
name: r509-cert-validator
|
156
142
|
requirement: !ruby/object:Gem::Requirement
|
157
143
|
requirements:
|
158
144
|
- - "~>"
|
159
145
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
146
|
+
version: 0.0.4
|
161
147
|
type: :runtime
|
162
148
|
prerelease: false
|
163
149
|
version_requirements: !ruby/object:Gem::Requirement
|
164
150
|
requirements:
|
165
151
|
- - "~>"
|
166
152
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
153
|
+
version: 0.0.4
|
168
154
|
description: riak-client is a rich client for Riak, the distributed database by Basho.
|
169
155
|
It supports the full HTTP and Protocol Buffers interfaces including storage operations,
|
170
156
|
bucket configuration, link-walking, secondary indexes and map-reduce.
|
@@ -180,40 +166,30 @@ files:
|
|
180
166
|
- ".rspec"
|
181
167
|
- Gemfile
|
182
168
|
- Guardfile
|
183
|
-
- LICENSE
|
169
|
+
- LICENSE.md
|
184
170
|
- README.markdown
|
185
171
|
- RELEASE_NOTES.md
|
186
172
|
- Rakefile
|
187
|
-
- erl_src/riak_kv_test014_backend.beam
|
188
|
-
- erl_src/riak_kv_test014_backend.erl
|
189
|
-
- erl_src/riak_kv_test_backend.beam
|
190
|
-
- erl_src/riak_kv_test_backend.erl
|
191
|
-
- erl_src/riak_search_test_backend.beam
|
192
|
-
- erl_src/riak_search_test_backend.erl
|
193
173
|
- lib/riak.rb
|
194
174
|
- lib/riak/bucket.rb
|
195
175
|
- lib/riak/client.rb
|
176
|
+
- lib/riak/client/beefcake/crdt_loader.rb
|
177
|
+
- lib/riak/client/beefcake/crdt_operator.rb
|
178
|
+
- lib/riak/client/beefcake/footer
|
179
|
+
- lib/riak/client/beefcake/header
|
196
180
|
- lib/riak/client/beefcake/message_codes.rb
|
181
|
+
- lib/riak/client/beefcake/message_overlay.rb
|
197
182
|
- lib/riak/client/beefcake/messages.rb
|
198
183
|
- lib/riak/client/beefcake/object_methods.rb
|
184
|
+
- lib/riak/client/beefcake/protocol.rb
|
185
|
+
- lib/riak/client/beefcake/socket.rb
|
199
186
|
- lib/riak/client/beefcake_protobuffs_backend.rb
|
200
187
|
- lib/riak/client/decaying.rb
|
201
|
-
- lib/riak/client/excon_backend.rb
|
202
188
|
- lib/riak/client/feature_detection.rb
|
203
|
-
- lib/riak/client/http_backend.rb
|
204
|
-
- lib/riak/client/http_backend/bucket_streamer.rb
|
205
|
-
- lib/riak/client/http_backend/chunked_json_streamer.rb
|
206
|
-
- lib/riak/client/http_backend/configuration.rb
|
207
|
-
- lib/riak/client/http_backend/key_streamer.rb
|
208
|
-
- lib/riak/client/http_backend/object_methods.rb
|
209
|
-
- lib/riak/client/http_backend/request_headers.rb
|
210
|
-
- lib/riak/client/http_backend/transport_methods.rb
|
211
|
-
- lib/riak/client/instrumentation.rb
|
212
|
-
- lib/riak/client/net_http_backend.rb
|
213
189
|
- lib/riak/client/node.rb
|
214
190
|
- lib/riak/client/protobuffs_backend.rb
|
215
191
|
- lib/riak/client/search.rb
|
216
|
-
- lib/riak/
|
192
|
+
- lib/riak/client/yokozuna.rb
|
217
193
|
- lib/riak/conflict.rb
|
218
194
|
- lib/riak/core_ext.rb
|
219
195
|
- lib/riak/core_ext/blank.rb
|
@@ -225,11 +201,28 @@ files:
|
|
225
201
|
- lib/riak/core_ext/symbolize_keys.rb
|
226
202
|
- lib/riak/core_ext/to_param.rb
|
227
203
|
- lib/riak/counter.rb
|
204
|
+
- lib/riak/crdt.rb
|
205
|
+
- lib/riak/crdt/base.rb
|
206
|
+
- lib/riak/crdt/batch_counter.rb
|
207
|
+
- lib/riak/crdt/batch_map.rb
|
208
|
+
- lib/riak/crdt/counter.rb
|
209
|
+
- lib/riak/crdt/inner_counter.rb
|
210
|
+
- lib/riak/crdt/inner_flag.rb
|
211
|
+
- lib/riak/crdt/inner_map.rb
|
212
|
+
- lib/riak/crdt/inner_register.rb
|
213
|
+
- lib/riak/crdt/inner_set.rb
|
214
|
+
- lib/riak/crdt/map.rb
|
215
|
+
- lib/riak/crdt/operation.rb
|
216
|
+
- lib/riak/crdt/set.rb
|
217
|
+
- lib/riak/crdt/typed_collection.rb
|
228
218
|
- lib/riak/encoding.rb
|
229
|
-
- lib/riak/
|
219
|
+
- lib/riak/errors/base.rb
|
220
|
+
- lib/riak/errors/connection_error.rb
|
221
|
+
- lib/riak/errors/crdt_error.rb
|
222
|
+
- lib/riak/errors/failed_request.rb
|
223
|
+
- lib/riak/errors/protobuffs_error.rb
|
230
224
|
- lib/riak/i18n.rb
|
231
225
|
- lib/riak/index_collection.rb
|
232
|
-
- lib/riak/instrumentation.rb
|
233
226
|
- lib/riak/json.rb
|
234
227
|
- lib/riak/link.rb
|
235
228
|
- lib/riak/list_buckets.rb
|
@@ -241,31 +234,19 @@ files:
|
|
241
234
|
- lib/riak/map_reduce/results.rb
|
242
235
|
- lib/riak/map_reduce_error.rb
|
243
236
|
- lib/riak/multiget.rb
|
244
|
-
- lib/riak/node.rb
|
245
|
-
- lib/riak/node/configuration.rb
|
246
|
-
- lib/riak/node/console.rb
|
247
|
-
- lib/riak/node/control.rb
|
248
|
-
- lib/riak/node/defaults.rb
|
249
|
-
- lib/riak/node/generation.rb
|
250
|
-
- lib/riak/node/log.rb
|
251
|
-
- lib/riak/node/version.rb
|
252
237
|
- lib/riak/rcontent.rb
|
253
238
|
- lib/riak/robject.rb
|
254
|
-
- lib/riak/search.rb
|
255
239
|
- lib/riak/secondary_index.rb
|
256
240
|
- lib/riak/serializers.rb
|
257
241
|
- lib/riak/stamp.rb
|
258
|
-
- lib/riak/test_server.rb
|
259
242
|
- lib/riak/util/escape.rb
|
260
|
-
- lib/riak/util/headers.rb
|
261
|
-
- lib/riak/util/multipart.rb
|
262
|
-
- lib/riak/util/multipart/stream_parser.rb
|
263
243
|
- lib/riak/util/tcp_socket_extensions.rb
|
264
244
|
- lib/riak/util/translation.rb
|
265
245
|
- lib/riak/version.rb
|
266
246
|
- lib/riak/walk_spec.rb
|
267
247
|
- riak-client.gemspec
|
268
248
|
- spec/failover/failover.rb
|
249
|
+
- spec/fixtures/bitcask.txt
|
269
250
|
- spec/fixtures/cat.jpg
|
270
251
|
- spec/fixtures/multipart-basic-conflict.txt
|
271
252
|
- spec/fixtures/multipart-blank.txt
|
@@ -273,62 +254,72 @@ files:
|
|
273
254
|
- spec/fixtures/multipart-with-body.txt
|
274
255
|
- spec/fixtures/multipart-with-marked-tombstones.txt
|
275
256
|
- spec/fixtures/multipart-with-unmarked-tombstone.txt
|
276
|
-
- spec/fixtures/munchausen.txt
|
277
257
|
- spec/fixtures/server.cert.crt
|
278
258
|
- spec/fixtures/server.cert.key
|
279
259
|
- spec/fixtures/test.pem
|
280
|
-
- spec/integration/riak/
|
260
|
+
- spec/integration/riak/bucket_types_spec.rb
|
281
261
|
- spec/integration/riak/counters_spec.rb
|
282
|
-
- spec/integration/riak/
|
283
|
-
- spec/integration/riak/
|
262
|
+
- spec/integration/riak/crdt_spec.rb
|
263
|
+
- spec/integration/riak/crdt_validation/map_spec.rb
|
264
|
+
- spec/integration/riak/crdt_validation/set_spec.rb
|
284
265
|
- spec/integration/riak/protobuffs_backends_spec.rb
|
285
|
-
- spec/integration/riak/
|
266
|
+
- spec/integration/riak/security_spec.rb
|
286
267
|
- spec/integration/riak/threading_spec.rb
|
268
|
+
- spec/integration/yokozuna/index_spec.rb
|
269
|
+
- spec/integration/yokozuna/queries_spec.rb
|
270
|
+
- spec/integration/yokozuna/schema_spec.rb
|
271
|
+
- spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb
|
287
272
|
- spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb
|
273
|
+
- spec/riak/beefcake_protobuffs_backend/protocol_spec.rb
|
274
|
+
- spec/riak/beefcake_protobuffs_backend/socket_spec.rb
|
288
275
|
- spec/riak/beefcake_protobuffs_backend_spec.rb
|
289
276
|
- spec/riak/bucket_spec.rb
|
290
277
|
- spec/riak/client_spec.rb
|
291
278
|
- spec/riak/core_ext/to_param_spec.rb
|
292
279
|
- spec/riak/counter_spec.rb
|
280
|
+
- spec/riak/crdt/counter_spec.rb
|
281
|
+
- spec/riak/crdt/inner_counter_spec.rb
|
282
|
+
- spec/riak/crdt/inner_flag_spec.rb
|
283
|
+
- spec/riak/crdt/inner_map_spec.rb
|
284
|
+
- spec/riak/crdt/inner_register_spec.rb
|
285
|
+
- spec/riak/crdt/inner_set_spec.rb
|
286
|
+
- spec/riak/crdt/map_spec.rb
|
287
|
+
- spec/riak/crdt/set_spec.rb
|
288
|
+
- spec/riak/crdt/shared_examples.rb
|
289
|
+
- spec/riak/crdt/typed_collection_spec.rb
|
293
290
|
- spec/riak/escape_spec.rb
|
294
|
-
- spec/riak/excon_backend_spec.rb
|
295
291
|
- spec/riak/feature_detection_spec.rb
|
296
|
-
- spec/riak/headers_spec.rb
|
297
|
-
- spec/riak/http_backend/configuration_spec.rb
|
298
|
-
- spec/riak/http_backend/object_methods_spec.rb
|
299
|
-
- spec/riak/http_backend/transport_methods_spec.rb
|
300
|
-
- spec/riak/http_backend_spec.rb
|
301
292
|
- spec/riak/index_collection_spec.rb
|
302
|
-
- spec/riak/instrumentation_spec.rb
|
303
293
|
- spec/riak/link_spec.rb
|
304
294
|
- spec/riak/list_buckets_spec.rb
|
305
295
|
- spec/riak/map_reduce/filter_builder_spec.rb
|
306
296
|
- spec/riak/map_reduce/phase_spec.rb
|
307
297
|
- spec/riak/map_reduce_spec.rb
|
308
298
|
- spec/riak/multiget_spec.rb
|
309
|
-
- spec/riak/multipart_spec.rb
|
310
|
-
- spec/riak/net_http_backend_spec.rb
|
311
299
|
- spec/riak/node_spec.rb
|
312
300
|
- spec/riak/robject_spec.rb
|
313
301
|
- spec/riak/search_spec.rb
|
314
302
|
- spec/riak/secondary_index_spec.rb
|
315
303
|
- spec/riak/serializers_spec.rb
|
316
304
|
- spec/riak/stamp_spec.rb
|
317
|
-
- spec/riak/stream_parser_spec.rb
|
318
305
|
- spec/riak/walk_spec_spec.rb
|
319
306
|
- spec/spec_helper.rb
|
320
|
-
- spec/support/
|
321
|
-
- spec/support/
|
307
|
+
- spec/support/certs/README.md
|
308
|
+
- spec/support/certs/ca.crt
|
309
|
+
- spec/support/certs/client.crt
|
310
|
+
- spec/support/certs/client.key
|
311
|
+
- spec/support/certs/empty_ca.crt
|
312
|
+
- spec/support/certs/server.crl
|
313
|
+
- spec/support/certs/server.crt
|
314
|
+
- spec/support/certs/server.key
|
322
315
|
- spec/support/integration_setup.rb
|
323
|
-
- spec/support/mock_server.rb
|
324
|
-
- spec/support/mocks.rb
|
325
|
-
- spec/support/riak_test.rb
|
326
316
|
- spec/support/search_corpus_setup.rb
|
327
|
-
- spec/support/
|
328
|
-
- spec/support/
|
329
|
-
- spec/support/
|
317
|
+
- spec/support/test_client.rb
|
318
|
+
- spec/support/test_client.yml
|
319
|
+
- spec/support/test_client.yml.example
|
330
320
|
- spec/support/unified_backend_examples.rb
|
331
321
|
- spec/support/version_filter.rb
|
322
|
+
- spec/support/wait_until.rb
|
332
323
|
homepage: http://github.com/basho/riak-ruby-client
|
333
324
|
licenses:
|
334
325
|
- Apache 2.0
|
@@ -341,20 +332,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
341
332
|
requirements:
|
342
333
|
- - ">="
|
343
334
|
- !ruby/object:Gem::Version
|
344
|
-
version:
|
335
|
+
version: 1.9.3
|
345
336
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
346
337
|
requirements:
|
347
|
-
- - "
|
338
|
+
- - ">"
|
348
339
|
- !ruby/object:Gem::Version
|
349
|
-
version:
|
340
|
+
version: 1.3.1
|
350
341
|
requirements: []
|
351
342
|
rubyforge_project:
|
352
|
-
rubygems_version: 2.
|
343
|
+
rubygems_version: 2.3.0
|
353
344
|
signing_key:
|
354
345
|
specification_version: 4
|
355
346
|
summary: riak-client is a rich client for Riak, the distributed database by Basho.
|
356
347
|
test_files:
|
357
348
|
- spec/failover/failover.rb
|
349
|
+
- spec/fixtures/bitcask.txt
|
358
350
|
- spec/fixtures/cat.jpg
|
359
351
|
- spec/fixtures/multipart-basic-conflict.txt
|
360
352
|
- spec/fixtures/multipart-blank.txt
|
@@ -362,59 +354,69 @@ test_files:
|
|
362
354
|
- spec/fixtures/multipart-with-body.txt
|
363
355
|
- spec/fixtures/multipart-with-marked-tombstones.txt
|
364
356
|
- spec/fixtures/multipart-with-unmarked-tombstone.txt
|
365
|
-
- spec/fixtures/munchausen.txt
|
366
357
|
- spec/fixtures/server.cert.crt
|
367
358
|
- spec/fixtures/server.cert.key
|
368
359
|
- spec/fixtures/test.pem
|
369
|
-
- spec/integration/riak/
|
360
|
+
- spec/integration/riak/bucket_types_spec.rb
|
370
361
|
- spec/integration/riak/counters_spec.rb
|
371
|
-
- spec/integration/riak/
|
372
|
-
- spec/integration/riak/
|
362
|
+
- spec/integration/riak/crdt_spec.rb
|
363
|
+
- spec/integration/riak/crdt_validation/map_spec.rb
|
364
|
+
- spec/integration/riak/crdt_validation/set_spec.rb
|
373
365
|
- spec/integration/riak/protobuffs_backends_spec.rb
|
374
|
-
- spec/integration/riak/
|
366
|
+
- spec/integration/riak/security_spec.rb
|
375
367
|
- spec/integration/riak/threading_spec.rb
|
368
|
+
- spec/integration/yokozuna/index_spec.rb
|
369
|
+
- spec/integration/yokozuna/queries_spec.rb
|
370
|
+
- spec/integration/yokozuna/schema_spec.rb
|
371
|
+
- spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb
|
376
372
|
- spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb
|
373
|
+
- spec/riak/beefcake_protobuffs_backend/protocol_spec.rb
|
374
|
+
- spec/riak/beefcake_protobuffs_backend/socket_spec.rb
|
377
375
|
- spec/riak/beefcake_protobuffs_backend_spec.rb
|
378
376
|
- spec/riak/bucket_spec.rb
|
379
377
|
- spec/riak/client_spec.rb
|
380
378
|
- spec/riak/core_ext/to_param_spec.rb
|
381
379
|
- spec/riak/counter_spec.rb
|
380
|
+
- spec/riak/crdt/counter_spec.rb
|
381
|
+
- spec/riak/crdt/inner_counter_spec.rb
|
382
|
+
- spec/riak/crdt/inner_flag_spec.rb
|
383
|
+
- spec/riak/crdt/inner_map_spec.rb
|
384
|
+
- spec/riak/crdt/inner_register_spec.rb
|
385
|
+
- spec/riak/crdt/inner_set_spec.rb
|
386
|
+
- spec/riak/crdt/map_spec.rb
|
387
|
+
- spec/riak/crdt/set_spec.rb
|
388
|
+
- spec/riak/crdt/shared_examples.rb
|
389
|
+
- spec/riak/crdt/typed_collection_spec.rb
|
382
390
|
- spec/riak/escape_spec.rb
|
383
|
-
- spec/riak/excon_backend_spec.rb
|
384
391
|
- spec/riak/feature_detection_spec.rb
|
385
|
-
- spec/riak/headers_spec.rb
|
386
|
-
- spec/riak/http_backend/configuration_spec.rb
|
387
|
-
- spec/riak/http_backend/object_methods_spec.rb
|
388
|
-
- spec/riak/http_backend/transport_methods_spec.rb
|
389
|
-
- spec/riak/http_backend_spec.rb
|
390
392
|
- spec/riak/index_collection_spec.rb
|
391
|
-
- spec/riak/instrumentation_spec.rb
|
392
393
|
- spec/riak/link_spec.rb
|
393
394
|
- spec/riak/list_buckets_spec.rb
|
394
395
|
- spec/riak/map_reduce/filter_builder_spec.rb
|
395
396
|
- spec/riak/map_reduce/phase_spec.rb
|
396
397
|
- spec/riak/map_reduce_spec.rb
|
397
398
|
- spec/riak/multiget_spec.rb
|
398
|
-
- spec/riak/multipart_spec.rb
|
399
|
-
- spec/riak/net_http_backend_spec.rb
|
400
399
|
- spec/riak/node_spec.rb
|
401
400
|
- spec/riak/robject_spec.rb
|
402
401
|
- spec/riak/search_spec.rb
|
403
402
|
- spec/riak/secondary_index_spec.rb
|
404
403
|
- spec/riak/serializers_spec.rb
|
405
404
|
- spec/riak/stamp_spec.rb
|
406
|
-
- spec/riak/stream_parser_spec.rb
|
407
405
|
- spec/riak/walk_spec_spec.rb
|
408
406
|
- spec/spec_helper.rb
|
409
|
-
- spec/support/
|
410
|
-
- spec/support/
|
407
|
+
- spec/support/certs/README.md
|
408
|
+
- spec/support/certs/ca.crt
|
409
|
+
- spec/support/certs/client.crt
|
410
|
+
- spec/support/certs/client.key
|
411
|
+
- spec/support/certs/empty_ca.crt
|
412
|
+
- spec/support/certs/server.crl
|
413
|
+
- spec/support/certs/server.crt
|
414
|
+
- spec/support/certs/server.key
|
411
415
|
- spec/support/integration_setup.rb
|
412
|
-
- spec/support/mock_server.rb
|
413
|
-
- spec/support/mocks.rb
|
414
|
-
- spec/support/riak_test.rb
|
415
416
|
- spec/support/search_corpus_setup.rb
|
416
|
-
- spec/support/
|
417
|
-
- spec/support/
|
418
|
-
- spec/support/
|
417
|
+
- spec/support/test_client.rb
|
418
|
+
- spec/support/test_client.yml
|
419
|
+
- spec/support/test_client.yml.example
|
419
420
|
- spec/support/unified_backend_examples.rb
|
420
421
|
- spec/support/version_filter.rb
|
422
|
+
- spec/support/wait_until.rb
|