riak-client 1.0.5 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. data/.document +5 -0
  2. data/.gitignore +4 -3
  3. data/.rspec +1 -0
  4. data/Gemfile +1 -0
  5. data/RELEASE_NOTES.md +47 -0
  6. data/Rakefile +0 -1
  7. data/erl_src/riak_kv_test_backend.erl +34 -0
  8. data/lib/riak/client.rb +3 -1
  9. data/lib/riak/client/beefcake/messages.rb +49 -1
  10. data/lib/riak/client/beefcake/object_methods.rb +14 -21
  11. data/lib/riak/client/beefcake_protobuffs_backend.rb +58 -12
  12. data/lib/riak/client/decaying.rb +31 -23
  13. data/lib/riak/client/feature_detection.rb +88 -0
  14. data/lib/riak/client/http_backend.rb +27 -6
  15. data/lib/riak/client/http_backend/configuration.rb +13 -0
  16. data/lib/riak/client/http_backend/object_methods.rb +33 -25
  17. data/lib/riak/client/node.rb +7 -2
  18. data/lib/riak/client/protobuffs_backend.rb +54 -3
  19. data/lib/riak/client/search.rb +2 -2
  20. data/lib/riak/conflict.rb +13 -0
  21. data/lib/riak/locale/en.yml +2 -0
  22. data/lib/riak/map_reduce.rb +1 -1
  23. data/lib/riak/map_reduce/filter_builder.rb +2 -2
  24. data/lib/riak/map_reduce/results.rb +49 -0
  25. data/lib/riak/node/console.rb +17 -16
  26. data/lib/riak/node/generation.rb +9 -0
  27. data/lib/riak/rcontent.rb +168 -0
  28. data/lib/riak/robject.rb +37 -157
  29. data/lib/riak/util/escape.rb +5 -1
  30. data/lib/riak/version.rb +1 -1
  31. data/riak-client.gemspec +37 -5
  32. data/spec/fixtures/multipart-basic-conflict.txt +15 -0
  33. data/spec/fixtures/munchausen.txt +1033 -0
  34. data/spec/integration/riak/cluster_spec.rb +1 -1
  35. data/spec/integration/riak/http_backends_spec.rb +23 -2
  36. data/spec/integration/riak/node_spec.rb +2 -2
  37. data/spec/integration/riak/protobuffs_backends_spec.rb +17 -2
  38. data/spec/integration/riak/test_server_spec.rb +1 -1
  39. data/spec/integration/riak/threading_spec.rb +3 -3
  40. data/spec/riak/beefcake_protobuffs_backend_spec.rb +58 -25
  41. data/spec/riak/escape_spec.rb +3 -0
  42. data/spec/riak/feature_detection_spec.rb +61 -0
  43. data/spec/riak/http_backend/object_methods_spec.rb +4 -13
  44. data/spec/riak/http_backend_spec.rb +6 -5
  45. data/spec/riak/map_reduce_spec.rb +0 -5
  46. data/spec/riak/robject_spec.rb +12 -11
  47. data/spec/spec_helper.rb +3 -1
  48. data/spec/support/riak_test.rb +77 -0
  49. data/spec/support/search_corpus_setup.rb +18 -0
  50. data/spec/support/sometimes.rb +1 -1
  51. data/spec/support/test_server.rb +1 -1
  52. data/spec/support/unified_backend_examples.rb +53 -7
  53. data/spec/support/version_filter.rb +4 -11
  54. metadata +56 -22
  55. data/lib/riak/client/pool.rb +0 -180
  56. data/spec/riak/pool_spec.rb +0 -306
data/spec/spec_helper.rb CHANGED
@@ -13,11 +13,13 @@ Riak.disable_list_keys_warnings = true
13
13
  version_filter
14
14
  sometimes
15
15
  http_backend_implementation_examples
16
+ search_corpus_setup
16
17
  unified_backend_examples
17
18
  mocks
18
19
  mock_server
19
20
  drb_mock_server
20
- test_server].each do |file|
21
+ test_server
22
+ riak_test].each do |file|
21
23
  require File.join("support", file)
22
24
  end
23
25
 
@@ -0,0 +1,77 @@
1
+ require 'riak/test_server'
2
+
3
+ # This class is used for running the integration suite against
4
+ # existing Riak nodes that have been preconfigured for test mode, e.g.
5
+ # as part of the riak_test integration suite. This is only supported
6
+ # on Riak versions > 1.2, with the KV backend set to memory with the
7
+ # 'test' flag, and the Search backend set to the backend bundled with
8
+ # the client (called riak_search_test_backend).
9
+ class PrebuiltTestServer
10
+ def self.valid?
11
+ %W{RIAK_ROOT_DIR RIAK_NODE_NAME HTTP_PORT PB_PORT RIAK_VERSION}.all? {|e| ENV[e] }
12
+ end
13
+
14
+ attr_reader :http_port, :pb_port, :version, :root, :name
15
+
16
+ def initialize
17
+ @root = Pathname(ENV['RIAK_ROOT_DIR'])
18
+ @name = ENV['RIAK_NODE_NAME'].dup
19
+ @version = ENV['RIAK_VERSION'].dup[/\d+\.\d+\.\d+/, 0]
20
+ @http_port = ENV['HTTP_PORT'].to_i
21
+ @pb_port = ENV['PB_PORT'].to_i
22
+ end
23
+
24
+ def pipe
25
+ # Have to remove leading slash on root
26
+ @pipe ||= Pathname("/tmp") + @root.to_s[1..-1]
27
+ end
28
+
29
+ def exist?; true; end
30
+ def stop; end
31
+ def start; end
32
+ def started?; true; end
33
+
34
+ def drop
35
+ begin
36
+ maybe_attach
37
+ @console.command "riak_kv_memory_backend:reset()."
38
+ @console.command "riak_search_test_backend:reset()."
39
+ rescue IOError
40
+ retry
41
+ end
42
+ end
43
+
44
+ def attach
45
+ Riak::Node::Console.open self
46
+ end
47
+
48
+ protected
49
+ # Tries to reattach the console if it's closed
50
+ def maybe_attach
51
+ unless open?
52
+ @console.close if @console && !@console.frozen?
53
+ @console = attach
54
+ end
55
+ end
56
+
57
+ def open?
58
+ @console && @console.open?
59
+ end
60
+ end
61
+
62
+ module PrebuiltTestServerSupport
63
+ def test_server
64
+ unless $test_server
65
+ if PrebuiltTestServer.valid?
66
+ $test_server = PrebuiltTestServer.new
67
+ else
68
+ super
69
+ end
70
+ end
71
+ $test_server
72
+ end
73
+ end
74
+
75
+ RSpec.configure do |config|
76
+ config.include PrebuiltTestServerSupport, :integration => true
77
+ end
@@ -0,0 +1,18 @@
1
+ shared_context "search corpus setup" do
2
+ before do
3
+ @bucket = @client.bucket('search_test')
4
+ orig_proto, @client.protocol = @client.protocol, :http
5
+ @bucket.enable_index!
6
+ @client.protocol = orig_proto
7
+ idx = 0
8
+ IO.foreach("spec/fixtures/munchausen.txt") do |para|
9
+ next if para =~ /^\s*$|introduction|chapter/i
10
+ idx += 1
11
+ Riak::RObject.new(@bucket, "munchausen-#{idx}") do |obj|
12
+ obj.content_type = 'text/plain'
13
+ obj.raw_data = para
14
+ @backend.store_object(obj)
15
+ end
16
+ end
17
+ end
18
+ end
@@ -39,7 +39,7 @@ RSpec.configure do |config|
39
39
  unless retried_examples.empty?
40
40
  retried_examples.each do |e|
41
41
  formatter.message " #{e.full_description}"
42
- formatter.message(color[:yellow, " [#{e.metadata[:retried]}/#{e.metadata[:retries]}] "] + formatter.class.relative_path(e.location))
42
+ formatter.message(color[:yellow, " [#{e.metadata[:retried]}/#{e.metadata[:retries]}] "] + RSpec::Core::Metadata::relative_path(e.location))
43
43
  end
44
44
  end
45
45
  end
@@ -50,7 +50,7 @@ RSpec.configure do |config|
50
50
  end
51
51
 
52
52
  config.after(:each, :integration => true) do
53
- if test_server && !test_server_fatal && example.metadata[:test_server] != false
53
+ if test_server && !test_server_fatal && test_server.started? && example.metadata[:test_server] != false
54
54
  test_server.drop
55
55
  end
56
56
  end
@@ -1,4 +1,3 @@
1
-
2
1
  shared_examples_for "Unified backend API" do
3
2
  # ping
4
3
  it "should ping the server" do
@@ -38,14 +37,14 @@ shared_examples_for "Unified backend API" do
38
37
  robj.data.should == { "test" => "pass" }
39
38
  end
40
39
 
41
- it "should accept a PR value of #{q.inspect} for the request", :version => "1.0.0" do
40
+ it "should accept a PR value of #{q.inspect} for the request", :version => ">= 1.0.0" do
42
41
  robj = @backend.fetch_object("test", "fetch", :pr => q)
43
42
  robj.should be_kind_of(Riak::RObject)
44
43
  robj.data.should == { "test" => "pass" }
45
44
  end
46
45
  end
47
46
 
48
- sometimes "should marshal indexes properly", :version => "1.0.0", :retries => 5 do
47
+ sometimes "should marshal indexes properly", :version => ">= 1.0.0", :retries => 5 do
49
48
  robj = @backend.fetch_object('test', 'fetch')
50
49
  robj.indexes['test_bin'].should be
51
50
  robj.indexes['test_bin'].should include('pass')
@@ -73,7 +72,7 @@ shared_examples_for "Unified backend API" do
73
72
  @backend.reload_object(@robject, :r => q)
74
73
  end
75
74
 
76
- it "should accept a valid PR value of #{q.inspect} for the request", :version => "1.0.0" do
75
+ it "should accept a valid PR value of #{q.inspect} for the request", :version => ">= 1.0.0" do
77
76
  @backend.reload_object(@robject, :pr => q)
78
77
  end
79
78
  end
@@ -113,12 +112,12 @@ shared_examples_for "Unified backend API" do
113
112
  @backend.store_object(@robject, :returnbody => false, :w => :all, :dw => q)
114
113
  end
115
114
 
116
- it "should accept a PW value of #{q.inspect} for the request", :version => "1.0.0" do
115
+ it "should accept a PW value of #{q.inspect} for the request", :version => ">= 1.0.0" do
117
116
  @backend.store_object(@robject, :returnbody => false, :pw => q)
118
117
  end
119
118
  end
120
119
 
121
- it "should store an object with indexes", :version => "1.0.0" do
120
+ it "should store an object with indexes", :version => ">= 1.0.0" do
122
121
  @robject.indexes['foo_bin'] << 'bar'
123
122
  @backend.store_object(@robject, :returnbody => true)
124
123
  @robject.indexes.should include('foo_bin')
@@ -126,7 +125,7 @@ shared_examples_for "Unified backend API" do
126
125
  end
127
126
 
128
127
  after do
129
- expect { @backend.fetch_object("test", "store") }.should_not raise_error(Riak::FailedRequest)
128
+ expect { @backend.fetch_object("test", "store") }.to_not raise_error(Riak::FailedRequest)
130
129
  end
131
130
  end
132
131
 
@@ -272,10 +271,30 @@ shared_examples_for "Unified backend API" do
272
271
  @mapred = Riak::MapReduce.new(@client).add("test").map("Riak.mapValuesJson", :keep => true)
273
272
  end
274
273
 
274
+ it "should raise an error without phases", :version => "< 1.1.0" do
275
+ @mapred.query.clear
276
+ expect { @backend.mapred(@mapred) }.to raise_error(Riak::MapReduceError)
277
+ end
278
+
279
+ it "should not raise an error without phases", :version => ">= 1.1.0" do
280
+ @mapred.query.clear
281
+ @backend.mapred(@mapred)
282
+ end
283
+
275
284
  it "should perform a simple MapReduce request" do
276
285
  @backend.mapred(@mapred).should == [{"value" => "1"}]
277
286
  end
278
287
 
288
+ it "should return an ordered array of results when multiple phases are kept" do
289
+ @mapred.reduce("function(objects){ return objects; }", :keep => true)
290
+ @backend.mapred(@mapred).should == [[{"value" => "1"}], [{"value" => "1"}]]
291
+ end
292
+
293
+ it "should not remove empty phase results when multiple phases are kept" do
294
+ @mapred.reduce("function(){ return []; }", :keep => true)
295
+ @backend.mapred(@mapred).should == [[{"value" => "1"}], []]
296
+ end
297
+
279
298
  context "streaming results through a block" do
280
299
  it "should pass phase number and result to the block" do
281
300
  @backend.mapred(@mapred) do |phase, result|
@@ -303,4 +322,31 @@ shared_examples_for "Unified backend API" do
303
322
  end
304
323
  end
305
324
  end
325
+
326
+ # search
327
+ context "searching fulltext indexes", :version => ">= 1.2.0" do
328
+ # Search functionality existed since Riak 0.13, but PBC only
329
+ # entered into the picture in 1.2. PBC can support searches
330
+ # against 1.1 and earlier nodes using MapReduce emulation, but has
331
+ # limited functionality. We'll enter separate tests for the
332
+ # pre-1.2 functionality.
333
+ include_context "search corpus setup"
334
+
335
+ it 'should find indexed documents, returning ids' do
336
+ results = @backend.search 'search_test', 'fearless elephant rushed', :fl => 'id'
337
+ results.should have_key 'docs'
338
+ results.should have_key 'max_score'
339
+ results.should have_key 'num_found'
340
+ results['docs'].should include({"id" => "munchausen-605"})
341
+ end
342
+
343
+ it 'should find indexed documents, returning documents' do
344
+ # For now use '*' until #122 is merged into riak_search
345
+ results = @backend.search 'search_test', 'fearless elephant rushed', :fl => '*'
346
+ results.should have_key 'docs'
347
+ results.should have_key 'max_score'
348
+ results.should have_key 'num_found'
349
+ results['docs'].should include({"id" => "munchausen-605", "value" => "Fearless I advanced against the elephant, desirous to take alive the haughty Tippoo Sahib; but he drew a pistol from his belt, and discharged it full in my face as I rushed upon him, which did me no further harm than wound my cheek-bone, which disfigures me somewhat under my left eye. I could not withstand the rage and impulse of that moment, and with one blow of my sword separated his head from his body.\n"})
350
+ end
351
+ end
306
352
  end
@@ -1,17 +1,10 @@
1
1
  require 'rubygems'
2
2
 
3
3
  RSpec.configure do |config|
4
- config.before(:each, :integration => true,
5
- :version => lambda {|v| !!v },
6
- :test_server => lambda {|ts| ts != false }) do
7
- required = example.metadata[:version]
4
+ config.before(:each, :version => lambda {|v| !!v }) do
5
+ required = Gem::Requirement.create(example.metadata[:version])
8
6
  actual = Gem::Version.new(test_server.version)
9
- case required
10
- when String
11
- required = Gem::Requirement.create(">= #{required}")
12
- when Range
13
- required = Gem::Requirement.create([">= #{required.begin}", "<= #{required.end}"])
14
- end
15
- pending("SKIP: Tests feature for Riak #{required.to_s}, but testing against #{actual.to_s}") unless required.satisfied_by?(actual)
7
+ pending("SKIP: Tests feature for Riak #{required.to_s}, but testing against #{actual.to_s}",
8
+ :unless => required.satisfied_by?(actual))
16
9
  end
17
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: 1.0.5
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-12 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 2.8.0
21
+ version: 2.10.0
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 2.8.0
29
+ version: 2.10.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: fakeweb
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -155,6 +155,22 @@ dependencies:
155
155
  - - ~>
156
156
  - !ruby/object:Gem::Version
157
157
  version: '1.0'
158
+ - !ruby/object:Gem::Dependency
159
+ name: innertube
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ~>
164
+ - !ruby/object:Gem::Version
165
+ version: 1.0.2
166
+ type: :runtime
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ~>
172
+ - !ruby/object:Gem::Version
173
+ version: 1.0.2
158
174
  description: riak-client is a rich client for Riak, the distributed database by Basho.
159
175
  It supports the full HTTP and Protocol Buffers interfaces including storage operations,
160
176
  bucket configuration, link-walking, secondary indexes and map-reduce.
@@ -164,33 +180,43 @@ executables: []
164
180
  extensions: []
165
181
  extra_rdoc_files: []
166
182
  files:
183
+ - .document
184
+ - .gitignore
185
+ - .rspec
186
+ - Gemfile
187
+ - Guardfile
188
+ - LICENSE
189
+ - README.markdown
190
+ - RELEASE_NOTES.md
191
+ - Rakefile
167
192
  - erl_src/riak_kv_test014_backend.beam
168
193
  - erl_src/riak_kv_test014_backend.erl
169
194
  - erl_src/riak_kv_test_backend.beam
170
195
  - erl_src/riak_kv_test_backend.erl
171
196
  - erl_src/riak_search_test_backend.beam
172
197
  - erl_src/riak_search_test_backend.erl
173
- - Gemfile
174
- - Guardfile
198
+ - lib/riak.rb
175
199
  - lib/riak/bucket.rb
200
+ - lib/riak/client.rb
176
201
  - lib/riak/client/beefcake/messages.rb
177
202
  - lib/riak/client/beefcake/object_methods.rb
178
203
  - lib/riak/client/beefcake_protobuffs_backend.rb
179
204
  - lib/riak/client/decaying.rb
180
205
  - lib/riak/client/excon_backend.rb
206
+ - lib/riak/client/feature_detection.rb
207
+ - lib/riak/client/http_backend.rb
181
208
  - lib/riak/client/http_backend/configuration.rb
182
209
  - lib/riak/client/http_backend/key_streamer.rb
183
210
  - lib/riak/client/http_backend/object_methods.rb
184
211
  - lib/riak/client/http_backend/request_headers.rb
185
212
  - lib/riak/client/http_backend/transport_methods.rb
186
- - lib/riak/client/http_backend.rb
187
213
  - lib/riak/client/net_http_backend.rb
188
214
  - lib/riak/client/node.rb
189
- - lib/riak/client/pool.rb
190
215
  - lib/riak/client/protobuffs_backend.rb
191
216
  - lib/riak/client/search.rb
192
- - lib/riak/client.rb
193
217
  - lib/riak/cluster.rb
218
+ - lib/riak/conflict.rb
219
+ - lib/riak/core_ext.rb
194
220
  - lib/riak/core_ext/blank.rb
195
221
  - lib/riak/core_ext/deep_dup.rb
196
222
  - lib/riak/core_ext/extract_options.rb
@@ -199,7 +225,6 @@ files:
199
225
  - lib/riak/core_ext/stringify_keys.rb
200
226
  - lib/riak/core_ext/symbolize_keys.rb
201
227
  - lib/riak/core_ext/to_param.rb
202
- - lib/riak/core_ext.rb
203
228
  - lib/riak/encoding.rb
204
229
  - lib/riak/failed_request.rb
205
230
  - lib/riak/i18n.rb
@@ -207,10 +232,12 @@ files:
207
232
  - lib/riak/link.rb
208
233
  - lib/riak/locale/en.yml
209
234
  - lib/riak/locale/fr.yml
235
+ - lib/riak/map_reduce.rb
210
236
  - lib/riak/map_reduce/filter_builder.rb
211
237
  - lib/riak/map_reduce/phase.rb
212
- - lib/riak/map_reduce.rb
238
+ - lib/riak/map_reduce/results.rb
213
239
  - lib/riak/map_reduce_error.rb
240
+ - lib/riak/node.rb
214
241
  - lib/riak/node/configuration.rb
215
242
  - lib/riak/node/console.rb
216
243
  - lib/riak/node/control.rb
@@ -218,7 +245,7 @@ files:
218
245
  - lib/riak/node/generation.rb
219
246
  - lib/riak/node/log.rb
220
247
  - lib/riak/node/version.rb
221
- - lib/riak/node.rb
248
+ - lib/riak/rcontent.rb
222
249
  - lib/riak/robject.rb
223
250
  - lib/riak/search.rb
224
251
  - lib/riak/serializers.rb
@@ -226,25 +253,22 @@ files:
226
253
  - lib/riak/test_server.rb
227
254
  - lib/riak/util/escape.rb
228
255
  - lib/riak/util/headers.rb
229
- - lib/riak/util/multipart/stream_parser.rb
230
256
  - lib/riak/util/multipart.rb
257
+ - lib/riak/util/multipart/stream_parser.rb
231
258
  - lib/riak/util/tcp_socket_extensions.rb
232
259
  - lib/riak/util/translation.rb
233
260
  - lib/riak/version.rb
234
261
  - lib/riak/walk_spec.rb
235
- - lib/riak.rb
236
- - LICENSE
237
- - Rakefile
238
- - README.markdown
239
- - RELEASE_NOTES.md
240
262
  - riak-client.gemspec
241
263
  - spec/failover/failover.rb
242
264
  - spec/fixtures/cat.jpg
265
+ - spec/fixtures/multipart-basic-conflict.txt
243
266
  - spec/fixtures/multipart-blank.txt
244
267
  - spec/fixtures/multipart-mapreduce.txt
245
268
  - spec/fixtures/multipart-with-body.txt
246
269
  - spec/fixtures/multipart-with-marked-tombstones.txt
247
270
  - spec/fixtures/multipart-with-unmarked-tombstone.txt
271
+ - spec/fixtures/munchausen.txt
248
272
  - spec/fixtures/server.cert.crt
249
273
  - spec/fixtures/server.cert.key
250
274
  - spec/fixtures/test.pem
@@ -261,6 +285,7 @@ files:
261
285
  - spec/riak/core_ext/to_param_spec.rb
262
286
  - spec/riak/escape_spec.rb
263
287
  - spec/riak/excon_backend_spec.rb
288
+ - spec/riak/feature_detection_spec.rb
264
289
  - spec/riak/headers_spec.rb
265
290
  - spec/riak/http_backend/configuration_spec.rb
266
291
  - spec/riak/http_backend/object_methods_spec.rb
@@ -273,7 +298,6 @@ files:
273
298
  - spec/riak/multipart_spec.rb
274
299
  - spec/riak/net_http_backend_spec.rb
275
300
  - spec/riak/node_spec.rb
276
- - spec/riak/pool_spec.rb
277
301
  - spec/riak/robject_spec.rb
278
302
  - spec/riak/search_spec.rb
279
303
  - spec/riak/serializers_spec.rb
@@ -286,12 +310,13 @@ files:
286
310
  - spec/support/integration_setup.rb
287
311
  - spec/support/mock_server.rb
288
312
  - spec/support/mocks.rb
313
+ - spec/support/riak_test.rb
314
+ - spec/support/search_corpus_setup.rb
289
315
  - spec/support/sometimes.rb
290
316
  - spec/support/test_server.rb
291
317
  - spec/support/test_server.yml.example
292
318
  - spec/support/unified_backend_examples.rb
293
319
  - spec/support/version_filter.rb
294
- - .gitignore
295
320
  homepage: http://github.com/basho/riak-ruby-client
296
321
  licenses: []
297
322
  post_install_message:
@@ -304,12 +329,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
304
329
  - - ! '>='
305
330
  - !ruby/object:Gem::Version
306
331
  version: '0'
332
+ segments:
333
+ - 0
334
+ hash: -4120452227137147580
307
335
  required_rubygems_version: !ruby/object:Gem::Requirement
308
336
  none: false
309
337
  requirements:
310
338
  - - ! '>='
311
339
  - !ruby/object:Gem::Version
312
340
  version: '0'
341
+ segments:
342
+ - 0
343
+ hash: -4120452227137147580
313
344
  requirements: []
314
345
  rubyforge_project:
315
346
  rubygems_version: 1.8.23
@@ -319,11 +350,13 @@ summary: riak-client is a rich client for Riak, the distributed database by Bash
319
350
  test_files:
320
351
  - spec/failover/failover.rb
321
352
  - spec/fixtures/cat.jpg
353
+ - spec/fixtures/multipart-basic-conflict.txt
322
354
  - spec/fixtures/multipart-blank.txt
323
355
  - spec/fixtures/multipart-mapreduce.txt
324
356
  - spec/fixtures/multipart-with-body.txt
325
357
  - spec/fixtures/multipart-with-marked-tombstones.txt
326
358
  - spec/fixtures/multipart-with-unmarked-tombstone.txt
359
+ - spec/fixtures/munchausen.txt
327
360
  - spec/fixtures/server.cert.crt
328
361
  - spec/fixtures/server.cert.key
329
362
  - spec/fixtures/test.pem
@@ -340,6 +373,7 @@ test_files:
340
373
  - spec/riak/core_ext/to_param_spec.rb
341
374
  - spec/riak/escape_spec.rb
342
375
  - spec/riak/excon_backend_spec.rb
376
+ - spec/riak/feature_detection_spec.rb
343
377
  - spec/riak/headers_spec.rb
344
378
  - spec/riak/http_backend/configuration_spec.rb
345
379
  - spec/riak/http_backend/object_methods_spec.rb
@@ -352,7 +386,6 @@ test_files:
352
386
  - spec/riak/multipart_spec.rb
353
387
  - spec/riak/net_http_backend_spec.rb
354
388
  - spec/riak/node_spec.rb
355
- - spec/riak/pool_spec.rb
356
389
  - spec/riak/robject_spec.rb
357
390
  - spec/riak/search_spec.rb
358
391
  - spec/riak/serializers_spec.rb
@@ -365,9 +398,10 @@ test_files:
365
398
  - spec/support/integration_setup.rb
366
399
  - spec/support/mock_server.rb
367
400
  - spec/support/mocks.rb
401
+ - spec/support/riak_test.rb
402
+ - spec/support/search_corpus_setup.rb
368
403
  - spec/support/sometimes.rb
369
404
  - spec/support/test_server.rb
370
405
  - spec/support/test_server.yml.example
371
406
  - spec/support/unified_backend_examples.rb
372
407
  - spec/support/version_filter.rb
373
- - .gitignore