riak-client 0.9.8 → 1.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/.gitignore +32 -0
  2. data/Gemfile +17 -11
  3. data/Guardfile +14 -0
  4. data/Rakefile +18 -44
  5. data/erl_src/riak_kv_test_backend.beam +0 -0
  6. data/erl_src/riak_kv_test_backend.erl +461 -128
  7. data/erl_src/riak_search_test_backend.beam +0 -0
  8. data/erl_src/riak_search_test_backend.erl +175 -0
  9. data/lib/active_support/cache/riak_store.rb +0 -13
  10. data/lib/riak.rb +11 -16
  11. data/lib/riak/bucket.rb +59 -41
  12. data/lib/riak/cache_store.rb +1 -14
  13. data/lib/riak/client.rb +145 -73
  14. data/lib/riak/client/beefcake/messages.rb +36 -31
  15. data/lib/riak/client/beefcake/object_methods.rb +27 -19
  16. data/lib/riak/client/beefcake_protobuffs_backend.rb +27 -33
  17. data/lib/riak/client/excon_backend.rb +0 -13
  18. data/lib/riak/client/http_backend.rb +95 -60
  19. data/lib/riak/client/http_backend/configuration.rb +144 -19
  20. data/lib/riak/client/http_backend/key_streamer.rb +1 -14
  21. data/lib/riak/client/http_backend/object_methods.rb +16 -16
  22. data/lib/riak/client/http_backend/request_headers.rb +0 -13
  23. data/lib/riak/client/http_backend/transport_methods.rb +26 -56
  24. data/lib/riak/client/net_http_backend.rb +11 -13
  25. data/lib/riak/client/protobuffs_backend.rb +21 -19
  26. data/lib/riak/client/pump.rb +1 -15
  27. data/lib/riak/client/search.rb +85 -0
  28. data/lib/riak/cluster.rb +151 -0
  29. data/lib/riak/core_ext.rb +1 -0
  30. data/lib/riak/core_ext/deep_dup.rb +13 -0
  31. data/lib/riak/core_ext/json.rb +15 -0
  32. data/lib/riak/core_ext/stringify_keys.rb +1 -1
  33. data/lib/riak/core_ext/symbolize_keys.rb +1 -1
  34. data/lib/riak/encoding.rb +6 -0
  35. data/lib/riak/failed_request.rb +2 -15
  36. data/lib/riak/i18n.rb +0 -13
  37. data/lib/riak/json.rb +19 -8
  38. data/lib/riak/link.rb +18 -20
  39. data/lib/riak/locale/en.yml +13 -16
  40. data/lib/riak/map_reduce.rb +40 -20
  41. data/lib/riak/map_reduce/filter_builder.rb +14 -18
  42. data/lib/riak/map_reduce/phase.rb +0 -13
  43. data/lib/riak/map_reduce_error.rb +0 -13
  44. data/lib/riak/node.rb +38 -0
  45. data/lib/riak/node/configuration.rb +286 -0
  46. data/lib/riak/node/console.rb +139 -0
  47. data/lib/riak/node/control.rb +207 -0
  48. data/lib/riak/node/defaults.rb +70 -0
  49. data/lib/riak/node/generation.rb +99 -0
  50. data/lib/riak/node/log.rb +34 -0
  51. data/lib/riak/node/version.rb +37 -0
  52. data/lib/riak/robject.rb +45 -41
  53. data/lib/riak/search.rb +2 -161
  54. data/lib/riak/serializers.rb +74 -0
  55. data/lib/riak/stamp.rb +77 -0
  56. data/lib/riak/test_server.rb +56 -220
  57. data/lib/riak/util/escape.rb +58 -17
  58. data/lib/riak/util/headers.rb +2 -15
  59. data/lib/riak/util/multipart.rb +0 -13
  60. data/lib/riak/util/multipart/stream_parser.rb +0 -13
  61. data/lib/riak/util/tcp_socket_extensions.rb +1 -14
  62. data/lib/riak/util/translation.rb +0 -13
  63. data/lib/riak/version.rb +3 -0
  64. data/lib/riak/walk_spec.rb +0 -13
  65. data/riak-client.gemspec +27 -47
  66. data/spec/fixtures/multipart-with-marked-tombstones.txt +17 -0
  67. data/spec/fixtures/multipart-with-unmarked-tombstone.txt +16 -0
  68. data/spec/integration/riak/cache_store_spec.rb +2 -40
  69. data/spec/integration/riak/cluster_spec.rb +88 -0
  70. data/spec/integration/riak/http_backends_spec.rb +6 -30
  71. data/spec/integration/riak/node_spec.rb +184 -0
  72. data/spec/integration/riak/protobuffs_backends_spec.rb +2 -26
  73. data/spec/integration/riak/test_server_spec.rb +31 -167
  74. data/spec/riak/beefcake_protobuffs_backend_spec.rb +5 -4
  75. data/spec/riak/bucket_spec.rb +26 -36
  76. data/spec/riak/client_spec.rb +44 -38
  77. data/spec/riak/escape_spec.rb +56 -30
  78. data/spec/riak/excon_backend_spec.rb +4 -17
  79. data/spec/riak/headers_spec.rb +1 -14
  80. data/spec/riak/http_backend/configuration_spec.rb +211 -34
  81. data/spec/riak/http_backend/object_methods_spec.rb +52 -18
  82. data/spec/riak/http_backend/transport_methods_spec.rb +5 -38
  83. data/spec/riak/http_backend_spec.rb +84 -78
  84. data/spec/riak/link_spec.rb +19 -18
  85. data/spec/riak/map_reduce/filter_builder_spec.rb +1 -14
  86. data/spec/riak/map_reduce/phase_spec.rb +1 -14
  87. data/spec/riak/map_reduce_spec.rb +141 -43
  88. data/spec/riak/multipart_spec.rb +1 -14
  89. data/spec/riak/net_http_backend_spec.rb +2 -15
  90. data/spec/riak/robject_spec.rb +129 -97
  91. data/spec/riak/search_spec.rb +45 -62
  92. data/spec/riak/serializers_spec.rb +93 -0
  93. data/spec/riak/stamp_spec.rb +54 -0
  94. data/spec/riak/stream_parser_spec.rb +3 -16
  95. data/spec/riak/walk_spec_spec.rb +1 -14
  96. data/spec/spec_helper.rb +22 -27
  97. data/spec/support/http_backend_implementation_examples.rb +49 -79
  98. data/spec/support/integration_setup.rb +10 -0
  99. data/spec/support/mock_server.rb +0 -14
  100. data/spec/support/mocks.rb +0 -13
  101. data/spec/support/test_server.rb +30 -0
  102. data/spec/support/test_server.yml.example +14 -2
  103. data/spec/support/unified_backend_examples.rb +36 -27
  104. metadata +100 -31
  105. data/lib/riak/client/curb_backend.rb +0 -89
  106. data/spec/riak/curb_backend_spec.rb +0 -76
@@ -0,0 +1,10 @@
1
+ # auto-tag all integration specs with :integration => true
2
+ module IntegrationSpecs
3
+ def self.included(klass)
4
+ klass.metadata[:integration] = true
5
+ end
6
+ end
7
+
8
+ RSpec.configure do |config|
9
+ config.include IntegrationSpecs, :example_group => { :file_path => %r{spec/integration} }
10
+ end
@@ -1,18 +1,4 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2010 Sean Cribbs, Sonian Inc., and Basho Technologies, Inc.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
2
  # Based on code from Rob Styles and Chris Tierney found at:
17
3
  # http://dynamicorange.com/2009/02/18/ruby-mock-web-server/
18
4
  require 'rack'
@@ -1,16 +1,3 @@
1
- # Copyright 2010 Sean Cribbs, Sonian Inc., and Basho Technologies, Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
1
 
15
2
  def mock_response(overrides={})
16
3
  {:headers => {"content-type" => ["application/json"]}, :body => '{}'}.merge(overrides)
@@ -0,0 +1,30 @@
1
+ require 'riak/test_server'
2
+
3
+ RSpec.configure do |config|
4
+ config.before(:each, :integration => true) do
5
+ begin
6
+ unless $test_server
7
+ config = YAML.load_file("spec/support/test_server.yml")
8
+ $test_server = Riak::TestServer.create(:root => config['root'],
9
+ :source => config['source'],
10
+ :min_port => config['min_port'] || 15000)
11
+ at_exit { $test_server.stop }
12
+ end
13
+ if example.metadata[:test_server] == false
14
+ $test_server.stop
15
+ else
16
+ $test_server.create unless $test_server.exist?
17
+ $test_server.start
18
+ end
19
+ rescue => e
20
+ warn "Can't run integration specs without the test server. Please create spec/support/test_server.yml."
21
+ warn e.inspect
22
+ end
23
+ end
24
+
25
+ config.after(:each, :integration => true) do
26
+ if $test_server && example.metadata[:test_server] != false
27
+ $test_server.drop
28
+ end
29
+ end
30
+ end
@@ -1,2 +1,14 @@
1
- bin_dir: /Users/sean/Development/riak/rel/riak/bin
2
- temp_dir: /Users/sean/Development/ripple/.riaktest
1
+ # This is where the test server node will be generated. Something on
2
+ # /tmp is usually ok.
3
+ root: /tmp/riak-client-test-server
4
+
5
+ # This is where Riak is installed on your system, that is, the path to
6
+ # the 'riak' and 'riak-admin' scripts. I use a self-built node, but
7
+ # here's where it will generally be on various platforms:
8
+ #
9
+ # Linux: /usr/sbin
10
+ # Solaris/OpenSolaris: /opt/riak/bin
11
+ # Mac OS/X (Homebrew): /usr/local/bin
12
+ # Source/Self built: /path/to/your/install/rel/riak/bin
13
+ #
14
+ source: /Users/sean/Development/riak/rel/riak/bin
@@ -1,16 +1,3 @@
1
- # Copyright 2010 Sean Cribbs, Sonian Inc., and Basho Technologies, Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
1
 
15
2
  shared_examples_for "Unified backend API" do
16
3
  # ping
@@ -22,6 +9,7 @@ shared_examples_for "Unified backend API" do
22
9
  context "fetching an object" do
23
10
  before do
24
11
  @robject = Riak::RObject.new(@client.bucket("test"), "fetch")
12
+ @robject.indexes['test_bin'] << 'pass'
25
13
  @robject.content_type = "application/json"
26
14
  @robject.data = { "test" => "pass" }
27
15
  @backend.store_object(@robject)
@@ -45,11 +33,24 @@ shared_examples_for "Unified backend API" do
45
33
 
46
34
  [1,2,3,:one,:quorum,:all,:default].each do |q|
47
35
  it "should accept a R value of #{q.inspect} for the request" do
48
- robj = @backend.fetch_object("test", "fetch", q)
36
+ robj = @backend.fetch_object("test", "fetch", :r => q)
37
+ robj.should be_kind_of(Riak::RObject)
38
+ robj.data.should == { "test" => "pass" }
39
+ end
40
+
41
+ it "should accept a PR value of #{q.inspect} for the request" do
42
+ robj = @backend.fetch_object("test", "fetch", :pr => q)
49
43
  robj.should be_kind_of(Riak::RObject)
50
44
  robj.data.should == { "test" => "pass" }
51
45
  end
52
46
  end
47
+
48
+ it "should marshal indexes properly" do
49
+ # This really tests both storing and fetching indexes, given the setup
50
+ robj = @backend.fetch_object('test', 'fetch')
51
+ robj.indexes['test_bin'].should be
52
+ robj.indexes['test_bin'].should include('pass')
53
+ end
53
54
  end
54
55
 
55
56
  # reload_object
@@ -61,7 +62,7 @@ shared_examples_for "Unified backend API" do
61
62
  @backend.store_object(@robject)
62
63
  @robject2 = @backend.fetch_object("test", "reload")
63
64
  @robject2.data["test"] = "second"
64
- @backend.store_object(@robject2, true)
65
+ @backend.store_object(@robject2, :returnbody => true)
65
66
  end
66
67
 
67
68
  it "should modify the object with the reloaded data" do
@@ -70,7 +71,11 @@ shared_examples_for "Unified backend API" do
70
71
 
71
72
  [1,2,3,:one,:quorum,:all,:default].each do |q|
72
73
  it "should accept a valid R value of #{q.inspect} for the request" do
73
- @backend.reload_object(@robject, q)
74
+ @backend.reload_object(@robject, :r => q)
75
+ end
76
+
77
+ it "should accept a valid PR value of #{q.inspect} for the request" do
78
+ @backend.reload_object(@robject, :pr => q)
74
79
  end
75
80
  end
76
81
 
@@ -93,23 +98,27 @@ shared_examples_for "Unified backend API" do
93
98
  end
94
99
 
95
100
  it "should modify the object with the returned data if returnbody" do
96
- @backend.store_object(@robject, true)
101
+ @backend.store_object(@robject, :returnbody => true)
97
102
  @robject.vclock.should be_present
98
103
  end
99
104
 
100
105
  [1,2,3,:one,:quorum,:all,:default].each do |q|
101
106
  it "should accept a W value of #{q.inspect} for the request" do
102
- @backend.store_object(@robject, false, q)
107
+ @backend.store_object(@robject, :returnbody => false, :w => q)
103
108
  @client.bucket("test").exists?("store").should be_true
104
109
  end
105
110
 
106
111
  it "should accept a DW value of #{q.inspect} for the request" do
107
- @backend.store_object(@robject, false, nil, q)
112
+ @backend.store_object(@robject, :returnbody => false, :w => :all, :dw => q)
113
+ end
114
+
115
+ it "should accept a PW value of #{q.inspect} for the request" do
116
+ @backend.store_object(@robject, :returnbody => false, :pw => q)
108
117
  end
109
118
  end
110
119
 
111
120
  after do
112
- @client.bucket("test").exists?("store").should be_true
121
+ expect { @backend.fetch_object("test", "store") }.should_not raise_error(Riak::FailedRequest)
113
122
  end
114
123
  end
115
124
 
@@ -129,10 +138,14 @@ shared_examples_for "Unified backend API" do
129
138
 
130
139
  [1,2,3,:one,:quorum,:all,:default].each do |q|
131
140
  it "should accept an RW value of #{q.inspect} for the request" do
132
- @backend.delete_object("test", "delete", q)
141
+ @backend.delete_object("test", "delete", :rw => q)
133
142
  end
134
143
  end
135
144
 
145
+ it "should accept a vclock value for the request" do
146
+ @backend.delete_object("test", "delete", :vclock => @obj.vclock)
147
+ end
148
+
136
149
  after do
137
150
  @obj.bucket.exists?("delete").should be_false
138
151
  end
@@ -168,7 +181,7 @@ shared_examples_for "Unified backend API" do
168
181
  @backend.list_keys("test").should == ["keys"]
169
182
  end
170
183
 
171
- context "streaming through a block" do
184
+ context "streaming through a block" do
172
185
  it "should handle a large number of keys" do
173
186
  obj = Riak::RObject.new(@client.bucket("test"))
174
187
  obj.content_type = "application/json"
@@ -181,7 +194,7 @@ shared_examples_for "Unified backend API" do
181
194
  keys.should be_all {|k| k == 'keys' || (0..749).include?(k.to_i) }
182
195
  end
183
196
  end
184
-
197
+
185
198
  it "should pass an array of keys to the block" do
186
199
  @backend.list_keys("test") do |keys|
187
200
  keys.should == ["keys"] unless keys.empty?
@@ -261,8 +274,4 @@ shared_examples_for "Unified backend API" do
261
274
  end
262
275
  end
263
276
  end
264
-
265
- after do
266
- $test_server.recycle if $test_server.started?
267
- end
268
277
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riak-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 43
5
- prerelease:
4
+ hash: 31098193
5
+ prerelease: 6
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 9
9
- - 8
10
- version: 0.9.8
9
+ - 0
10
+ - beta
11
+ version: 1.0.0.beta
11
12
  platform: ruby
12
13
  authors:
13
14
  - Sean Cribbs
@@ -15,7 +16,7 @@ autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2011-09-19 00:00:00 -05:00
19
+ date: 2011-11-08 00:00:00 -03:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
@@ -26,12 +27,12 @@ dependencies:
26
27
  requirements:
27
28
  - - ~>
28
29
  - !ruby/object:Gem::Version
29
- hash: 31
30
+ hash: 23
30
31
  segments:
31
32
  - 2
32
- - 4
33
+ - 6
33
34
  - 0
34
- version: 2.4.0
35
+ version: 2.6.0
35
36
  type: :development
36
37
  version_requirements: *id001
37
38
  - !ruby/object:Gem::Dependency
@@ -65,34 +66,35 @@ dependencies:
65
66
  type: :development
66
67
  version_requirements: *id003
67
68
  - !ruby/object:Gem::Dependency
68
- name: curb
69
+ name: excon
69
70
  prerelease: false
70
71
  requirement: &id004 !ruby/object:Gem::Requirement
71
72
  none: false
72
73
  requirements:
73
- - - ">="
74
+ - - ~>
74
75
  - !ruby/object:Gem::Version
75
- hash: 7
76
+ hash: 5
76
77
  segments:
77
78
  - 0
78
79
  - 6
79
- version: "0.6"
80
+ - 1
81
+ version: 0.6.1
80
82
  type: :development
81
83
  version_requirements: *id004
82
84
  - !ruby/object:Gem::Dependency
83
- name: excon
85
+ name: rake
84
86
  prerelease: false
85
87
  requirement: &id005 !ruby/object:Gem::Requirement
86
88
  none: false
87
89
  requirements:
88
90
  - - ~>
89
91
  - !ruby/object:Gem::Version
90
- hash: 5
92
+ hash: 49
91
93
  segments:
92
94
  - 0
93
- - 5
95
+ - 8
94
96
  - 7
95
- version: 0.5.7
97
+ version: 0.8.7
96
98
  type: :development
97
99
  version_requirements: *id005
98
100
  - !ruby/object:Gem::Dependency
@@ -117,7 +119,7 @@ dependencies:
117
119
  requirement: &id007 !ruby/object:Gem::Requirement
118
120
  none: false
119
121
  requirements:
120
- - - ~>
122
+ - - ">="
121
123
  - !ruby/object:Gem::Version
122
124
  hash: 15
123
125
  segments:
@@ -133,18 +135,35 @@ dependencies:
133
135
  requirement: &id008 !ruby/object:Gem::Requirement
134
136
  none: false
135
137
  requirements:
136
- - - "="
138
+ - - ~>
137
139
  - !ruby/object:Gem::Version
138
- hash: 23
140
+ hash: 29
139
141
  segments:
140
142
  - 0
141
143
  - 3
142
- - 2
143
- version: 0.3.2
144
+ - 7
145
+ version: 0.3.7
144
146
  type: :runtime
145
147
  version_requirements: *id008
146
- description: riak-client is a rich client for Riak, the distributed database by Basho. It supports the full HTTP interface including storage operations, bucket configuration, link-walking and map-reduce.
147
- email: sean@basho.com
148
+ - !ruby/object:Gem::Dependency
149
+ name: multi_json
150
+ prerelease: false
151
+ requirement: &id009 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ~>
155
+ - !ruby/object:Gem::Version
156
+ hash: 23
157
+ segments:
158
+ - 1
159
+ - 0
160
+ - 0
161
+ version: 1.0.0
162
+ type: :runtime
163
+ version_requirements: *id009
164
+ description: riak-client is a rich client for Riak, the distributed database by Basho. It supports the full HTTP and Protocol Buffers interfaces including storage operations, bucket configuration, link-walking, secondary indexes and map-reduce.
165
+ email:
166
+ - sean@basho.com
148
167
  executables: []
149
168
 
150
169
  extensions: []
@@ -154,14 +173,16 @@ extra_rdoc_files: []
154
173
  files:
155
174
  - erl_src/riak_kv_test_backend.beam
156
175
  - erl_src/riak_kv_test_backend.erl
176
+ - erl_src/riak_search_test_backend.beam
177
+ - erl_src/riak_search_test_backend.erl
157
178
  - Gemfile
179
+ - Guardfile
158
180
  - lib/active_support/cache/riak_store.rb
159
181
  - lib/riak/bucket.rb
160
182
  - lib/riak/cache_store.rb
161
183
  - lib/riak/client/beefcake/messages.rb
162
184
  - lib/riak/client/beefcake/object_methods.rb
163
185
  - lib/riak/client/beefcake_protobuffs_backend.rb
164
- - lib/riak/client/curb_backend.rb
165
186
  - lib/riak/client/excon_backend.rb
166
187
  - lib/riak/client/http_backend/configuration.rb
167
188
  - lib/riak/client/http_backend/key_streamer.rb
@@ -172,14 +193,19 @@ files:
172
193
  - lib/riak/client/net_http_backend.rb
173
194
  - lib/riak/client/protobuffs_backend.rb
174
195
  - lib/riak/client/pump.rb
196
+ - lib/riak/client/search.rb
175
197
  - lib/riak/client.rb
198
+ - lib/riak/cluster.rb
176
199
  - lib/riak/core_ext/blank.rb
200
+ - lib/riak/core_ext/deep_dup.rb
177
201
  - lib/riak/core_ext/extract_options.rb
202
+ - lib/riak/core_ext/json.rb
178
203
  - lib/riak/core_ext/slice.rb
179
204
  - lib/riak/core_ext/stringify_keys.rb
180
205
  - lib/riak/core_ext/symbolize_keys.rb
181
206
  - lib/riak/core_ext/to_param.rb
182
207
  - lib/riak/core_ext.rb
208
+ - lib/riak/encoding.rb
183
209
  - lib/riak/failed_request.rb
184
210
  - lib/riak/i18n.rb
185
211
  - lib/riak/json.rb
@@ -189,8 +215,18 @@ files:
189
215
  - lib/riak/map_reduce/phase.rb
190
216
  - lib/riak/map_reduce.rb
191
217
  - lib/riak/map_reduce_error.rb
218
+ - lib/riak/node/configuration.rb
219
+ - lib/riak/node/console.rb
220
+ - lib/riak/node/control.rb
221
+ - lib/riak/node/defaults.rb
222
+ - lib/riak/node/generation.rb
223
+ - lib/riak/node/log.rb
224
+ - lib/riak/node/version.rb
225
+ - lib/riak/node.rb
192
226
  - lib/riak/robject.rb
193
227
  - lib/riak/search.rb
228
+ - lib/riak/serializers.rb
229
+ - lib/riak/stamp.rb
194
230
  - lib/riak/test_server.rb
195
231
  - lib/riak/util/escape.rb
196
232
  - lib/riak/util/fiber1.8.rb
@@ -199,6 +235,7 @@ files:
199
235
  - lib/riak/util/multipart.rb
200
236
  - lib/riak/util/tcp_socket_extensions.rb
201
237
  - lib/riak/util/translation.rb
238
+ - lib/riak/version.rb
202
239
  - lib/riak/walk_spec.rb
203
240
  - lib/riak.rb
204
241
  - Rakefile
@@ -207,18 +244,21 @@ files:
207
244
  - spec/fixtures/multipart-blank.txt
208
245
  - spec/fixtures/multipart-mapreduce.txt
209
246
  - spec/fixtures/multipart-with-body.txt
247
+ - spec/fixtures/multipart-with-marked-tombstones.txt
248
+ - spec/fixtures/multipart-with-unmarked-tombstone.txt
210
249
  - spec/fixtures/server.cert.crt
211
250
  - spec/fixtures/server.cert.key
212
251
  - spec/fixtures/test.pem
213
252
  - spec/integration/riak/cache_store_spec.rb
253
+ - spec/integration/riak/cluster_spec.rb
214
254
  - spec/integration/riak/http_backends_spec.rb
255
+ - spec/integration/riak/node_spec.rb
215
256
  - spec/integration/riak/protobuffs_backends_spec.rb
216
257
  - spec/integration/riak/test_server_spec.rb
217
258
  - spec/riak/beefcake_protobuffs_backend_spec.rb
218
259
  - spec/riak/bucket_spec.rb
219
260
  - spec/riak/client_spec.rb
220
261
  - spec/riak/core_ext/to_param_spec.rb
221
- - spec/riak/curb_backend_spec.rb
222
262
  - spec/riak/escape_spec.rb
223
263
  - spec/riak/excon_backend_spec.rb
224
264
  - spec/riak/headers_spec.rb
@@ -234,15 +274,20 @@ files:
234
274
  - spec/riak/net_http_backend_spec.rb
235
275
  - spec/riak/robject_spec.rb
236
276
  - spec/riak/search_spec.rb
277
+ - spec/riak/serializers_spec.rb
278
+ - spec/riak/stamp_spec.rb
237
279
  - spec/riak/stream_parser_spec.rb
238
280
  - spec/riak/walk_spec_spec.rb
239
281
  - spec/spec_helper.rb
240
282
  - spec/support/drb_mock_server.rb
241
283
  - spec/support/http_backend_implementation_examples.rb
284
+ - spec/support/integration_setup.rb
242
285
  - spec/support/mock_server.rb
243
286
  - spec/support/mocks.rb
287
+ - spec/support/test_server.rb
244
288
  - spec/support/test_server.yml.example
245
289
  - spec/support/unified_backend_examples.rb
290
+ - .gitignore
246
291
  has_rdoc: true
247
292
  homepage: http://seancribbs.github.com/ripple
248
293
  licenses: []
@@ -264,12 +309,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
309
  required_rubygems_version: !ruby/object:Gem::Requirement
265
310
  none: false
266
311
  requirements:
267
- - - ">="
312
+ - - ">"
268
313
  - !ruby/object:Gem::Version
269
- hash: 3
314
+ hash: 25
270
315
  segments:
271
- - 0
272
- version: "0"
316
+ - 1
317
+ - 3
318
+ - 1
319
+ version: 1.3.1
273
320
  requirements: []
274
321
 
275
322
  rubyforge_project:
@@ -278,15 +325,25 @@ signing_key:
278
325
  specification_version: 3
279
326
  summary: riak-client is a rich client for Riak, the distributed database by Basho.
280
327
  test_files:
328
+ - spec/fixtures/cat.jpg
329
+ - spec/fixtures/multipart-blank.txt
330
+ - spec/fixtures/multipart-mapreduce.txt
331
+ - spec/fixtures/multipart-with-body.txt
332
+ - spec/fixtures/multipart-with-marked-tombstones.txt
333
+ - spec/fixtures/multipart-with-unmarked-tombstone.txt
334
+ - spec/fixtures/server.cert.crt
335
+ - spec/fixtures/server.cert.key
336
+ - spec/fixtures/test.pem
281
337
  - spec/integration/riak/cache_store_spec.rb
338
+ - spec/integration/riak/cluster_spec.rb
282
339
  - spec/integration/riak/http_backends_spec.rb
340
+ - spec/integration/riak/node_spec.rb
283
341
  - spec/integration/riak/protobuffs_backends_spec.rb
284
342
  - spec/integration/riak/test_server_spec.rb
285
343
  - spec/riak/beefcake_protobuffs_backend_spec.rb
286
344
  - spec/riak/bucket_spec.rb
287
345
  - spec/riak/client_spec.rb
288
346
  - spec/riak/core_ext/to_param_spec.rb
289
- - spec/riak/curb_backend_spec.rb
290
347
  - spec/riak/escape_spec.rb
291
348
  - spec/riak/excon_backend_spec.rb
292
349
  - spec/riak/headers_spec.rb
@@ -302,5 +359,17 @@ test_files:
302
359
  - spec/riak/net_http_backend_spec.rb
303
360
  - spec/riak/robject_spec.rb
304
361
  - spec/riak/search_spec.rb
362
+ - spec/riak/serializers_spec.rb
363
+ - spec/riak/stamp_spec.rb
305
364
  - spec/riak/stream_parser_spec.rb
306
365
  - spec/riak/walk_spec_spec.rb
366
+ - spec/spec_helper.rb
367
+ - spec/support/drb_mock_server.rb
368
+ - spec/support/http_backend_implementation_examples.rb
369
+ - spec/support/integration_setup.rb
370
+ - spec/support/mock_server.rb
371
+ - spec/support/mocks.rb
372
+ - spec/support/test_server.rb
373
+ - spec/support/test_server.yml.example
374
+ - spec/support/unified_backend_examples.rb
375
+ - .gitignore