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.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -1
  3. data/Gemfile +0 -1
  4. data/{LICENSE → LICENSE.md} +0 -0
  5. data/README.markdown +211 -66
  6. data/RELEASE_NOTES.md +22 -47
  7. data/Rakefile +45 -0
  8. data/lib/riak.rb +1 -1
  9. data/lib/riak/bucket.rb +2 -2
  10. data/lib/riak/client.rb +22 -195
  11. data/lib/riak/client/beefcake/crdt_loader.rb +127 -0
  12. data/lib/riak/client/beefcake/crdt_operator.rb +222 -0
  13. data/lib/riak/client/beefcake/footer +4 -0
  14. data/lib/riak/client/beefcake/header +6 -0
  15. data/lib/riak/client/beefcake/message_codes.rb +29 -0
  16. data/lib/riak/client/beefcake/message_overlay.rb +61 -0
  17. data/lib/riak/client/beefcake/messages.rb +733 -371
  18. data/lib/riak/client/beefcake/object_methods.rb +1 -1
  19. data/lib/riak/client/beefcake/protocol.rb +105 -0
  20. data/lib/riak/client/beefcake/socket.rb +243 -0
  21. data/lib/riak/client/beefcake_protobuffs_backend.rb +262 -122
  22. data/lib/riak/client/node.rb +4 -75
  23. data/lib/riak/client/protobuffs_backend.rb +6 -14
  24. data/lib/riak/client/search.rb +0 -64
  25. data/lib/riak/client/yokozuna.rb +52 -0
  26. data/lib/riak/counter.rb +1 -1
  27. data/lib/riak/crdt.rb +21 -0
  28. data/lib/riak/crdt/base.rb +97 -0
  29. data/lib/riak/crdt/batch_counter.rb +19 -0
  30. data/lib/riak/crdt/batch_map.rb +41 -0
  31. data/lib/riak/crdt/counter.rb +71 -0
  32. data/lib/riak/crdt/inner_counter.rb +74 -0
  33. data/lib/riak/crdt/inner_flag.rb +42 -0
  34. data/lib/riak/crdt/inner_map.rb +53 -0
  35. data/lib/riak/crdt/inner_register.rb +26 -0
  36. data/lib/riak/crdt/inner_set.rb +95 -0
  37. data/lib/riak/crdt/map.rb +88 -0
  38. data/lib/riak/crdt/operation.rb +19 -0
  39. data/lib/riak/crdt/set.rb +156 -0
  40. data/lib/riak/crdt/typed_collection.rb +131 -0
  41. data/lib/riak/errors/base.rb +9 -0
  42. data/lib/riak/errors/connection_error.rb +44 -0
  43. data/lib/riak/errors/crdt_error.rb +18 -0
  44. data/lib/riak/errors/failed_request.rb +56 -0
  45. data/lib/riak/errors/protobuffs_error.rb +11 -0
  46. data/lib/riak/i18n.rb +2 -0
  47. data/lib/riak/json.rb +1 -1
  48. data/lib/riak/locale/en.yml +26 -1
  49. data/lib/riak/locale/fr.yml +0 -1
  50. data/lib/riak/map_reduce.rb +1 -1
  51. data/lib/riak/map_reduce/results.rb +1 -1
  52. data/lib/riak/multiget.rb +1 -2
  53. data/lib/riak/rcontent.rb +8 -3
  54. data/lib/riak/robject.rb +2 -8
  55. data/lib/riak/secondary_index.rb +4 -4
  56. data/lib/riak/serializers.rb +1 -1
  57. data/lib/riak/util/escape.rb +3 -5
  58. data/lib/riak/version.rb +1 -1
  59. data/lib/riak/walk_spec.rb +7 -3
  60. data/riak-client.gemspec +10 -8
  61. data/spec/fixtures/bitcask.txt +25 -0
  62. data/spec/integration/riak/bucket_types_spec.rb +61 -0
  63. data/spec/integration/riak/counters_spec.rb +17 -32
  64. data/spec/integration/riak/crdt_spec.rb +181 -0
  65. data/spec/integration/riak/crdt_validation/map_spec.rb +63 -0
  66. data/spec/integration/riak/crdt_validation/set_spec.rb +122 -0
  67. data/spec/integration/riak/protobuffs_backends_spec.rb +9 -26
  68. data/spec/integration/riak/security_spec.rb +94 -0
  69. data/spec/integration/riak/threading_spec.rb +24 -67
  70. data/spec/integration/yokozuna/index_spec.rb +61 -0
  71. data/spec/integration/yokozuna/queries_spec.rb +116 -0
  72. data/spec/integration/yokozuna/schema_spec.rb +49 -0
  73. data/spec/riak/beefcake_protobuffs_backend/crdt_operator_spec.rb +222 -0
  74. data/spec/riak/beefcake_protobuffs_backend/object_methods_spec.rb +4 -4
  75. data/spec/riak/beefcake_protobuffs_backend/protocol_spec.rb +189 -0
  76. data/spec/riak/beefcake_protobuffs_backend/socket_spec.rb +151 -0
  77. data/spec/riak/beefcake_protobuffs_backend_spec.rb +68 -106
  78. data/spec/riak/bucket_spec.rb +81 -77
  79. data/spec/riak/client_spec.rb +43 -340
  80. data/spec/riak/core_ext/to_param_spec.rb +2 -2
  81. data/spec/riak/counter_spec.rb +20 -20
  82. data/spec/riak/crdt/counter_spec.rb +52 -0
  83. data/spec/riak/crdt/inner_counter_spec.rb +21 -0
  84. data/spec/riak/crdt/inner_flag_spec.rb +39 -0
  85. data/spec/riak/crdt/inner_map_spec.rb +47 -0
  86. data/spec/riak/crdt/inner_register_spec.rb +40 -0
  87. data/spec/riak/crdt/inner_set_spec.rb +33 -0
  88. data/spec/riak/crdt/map_spec.rb +77 -0
  89. data/spec/riak/crdt/set_spec.rb +58 -0
  90. data/spec/riak/crdt/shared_examples.rb +74 -0
  91. data/spec/riak/crdt/typed_collection_spec.rb +231 -0
  92. data/spec/riak/escape_spec.rb +33 -37
  93. data/spec/riak/feature_detection_spec.rb +45 -45
  94. data/spec/riak/index_collection_spec.rb +12 -12
  95. data/spec/riak/link_spec.rb +34 -34
  96. data/spec/riak/list_buckets_spec.rb +7 -7
  97. data/spec/riak/map_reduce/filter_builder_spec.rb +6 -6
  98. data/spec/riak/map_reduce/phase_spec.rb +35 -35
  99. data/spec/riak/map_reduce_spec.rb +89 -87
  100. data/spec/riak/multiget_spec.rb +20 -15
  101. data/spec/riak/node_spec.rb +5 -152
  102. data/spec/riak/robject_spec.rb +95 -108
  103. data/spec/riak/search_spec.rb +17 -139
  104. data/spec/riak/secondary_index_spec.rb +49 -49
  105. data/spec/riak/serializers_spec.rb +9 -9
  106. data/spec/riak/stamp_spec.rb +9 -9
  107. data/spec/riak/walk_spec_spec.rb +46 -46
  108. data/spec/spec_helper.rb +14 -22
  109. data/spec/support/certs/README.md +13 -0
  110. data/spec/support/certs/ca.crt +22 -0
  111. data/spec/support/certs/client.crt +95 -0
  112. data/spec/support/certs/client.key +27 -0
  113. data/spec/support/certs/empty_ca.crt +21 -0
  114. data/spec/support/certs/server.crl +13 -0
  115. data/spec/support/certs/server.crt +95 -0
  116. data/spec/support/certs/server.key +27 -0
  117. data/spec/support/integration_setup.rb +1 -1
  118. data/spec/support/search_corpus_setup.rb +29 -8
  119. data/spec/support/test_client.rb +46 -0
  120. data/spec/support/test_client.yml.example +10 -0
  121. data/spec/support/unified_backend_examples.rb +104 -83
  122. data/spec/support/version_filter.rb +2 -2
  123. data/spec/support/wait_until.rb +14 -0
  124. metadata +134 -132
  125. data/erl_src/riak_kv_test014_backend.beam +0 -0
  126. data/erl_src/riak_kv_test014_backend.erl +0 -189
  127. data/erl_src/riak_kv_test_backend.beam +0 -0
  128. data/erl_src/riak_kv_test_backend.erl +0 -731
  129. data/erl_src/riak_search_test_backend.beam +0 -0
  130. data/erl_src/riak_search_test_backend.erl +0 -175
  131. data/lib/riak/client/excon_backend.rb +0 -172
  132. data/lib/riak/client/http_backend.rb +0 -413
  133. data/lib/riak/client/http_backend/bucket_streamer.rb +0 -15
  134. data/lib/riak/client/http_backend/chunked_json_streamer.rb +0 -42
  135. data/lib/riak/client/http_backend/configuration.rb +0 -227
  136. data/lib/riak/client/http_backend/key_streamer.rb +0 -15
  137. data/lib/riak/client/http_backend/object_methods.rb +0 -114
  138. data/lib/riak/client/http_backend/request_headers.rb +0 -34
  139. data/lib/riak/client/http_backend/transport_methods.rb +0 -201
  140. data/lib/riak/client/instrumentation.rb +0 -25
  141. data/lib/riak/client/net_http_backend.rb +0 -82
  142. data/lib/riak/cluster.rb +0 -151
  143. data/lib/riak/failed_request.rb +0 -81
  144. data/lib/riak/instrumentation.rb +0 -6
  145. data/lib/riak/node.rb +0 -40
  146. data/lib/riak/node/configuration.rb +0 -304
  147. data/lib/riak/node/console.rb +0 -133
  148. data/lib/riak/node/control.rb +0 -207
  149. data/lib/riak/node/defaults.rb +0 -85
  150. data/lib/riak/node/generation.rb +0 -127
  151. data/lib/riak/node/log.rb +0 -34
  152. data/lib/riak/node/version.rb +0 -29
  153. data/lib/riak/search.rb +0 -3
  154. data/lib/riak/test_server.rb +0 -89
  155. data/lib/riak/util/headers.rb +0 -32
  156. data/lib/riak/util/multipart.rb +0 -52
  157. data/lib/riak/util/multipart/stream_parser.rb +0 -62
  158. data/spec/fixtures/munchausen.txt +0 -1033
  159. data/spec/integration/riak/cluster_spec.rb +0 -88
  160. data/spec/integration/riak/http_backends_spec.rb +0 -180
  161. data/spec/integration/riak/node_spec.rb +0 -170
  162. data/spec/integration/riak/test_server_spec.rb +0 -57
  163. data/spec/riak/excon_backend_spec.rb +0 -102
  164. data/spec/riak/headers_spec.rb +0 -21
  165. data/spec/riak/http_backend/configuration_spec.rb +0 -273
  166. data/spec/riak/http_backend/object_methods_spec.rb +0 -243
  167. data/spec/riak/http_backend/transport_methods_spec.rb +0 -97
  168. data/spec/riak/http_backend_spec.rb +0 -367
  169. data/spec/riak/instrumentation_spec.rb +0 -167
  170. data/spec/riak/multipart_spec.rb +0 -23
  171. data/spec/riak/net_http_backend_spec.rb +0 -15
  172. data/spec/riak/stream_parser_spec.rb +0 -53
  173. data/spec/support/drb_mock_server.rb +0 -39
  174. data/spec/support/http_backend_implementation_examples.rb +0 -253
  175. data/spec/support/mock_server.rb +0 -81
  176. data/spec/support/mocks.rb +0 -4
  177. data/spec/support/riak_test.rb +0 -77
  178. data/spec/support/sometimes.rb +0 -46
  179. data/spec/support/test_server.rb +0 -61
  180. 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
- pending("SKIP: Tests feature for Riak #{required.to_s}, but testing against #{actual.to_s}",
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
@@ -0,0 +1,14 @@
1
+ module WaitUntil
2
+ def wait_until(attempts=10)
3
+ (0..attempts).each do |a|
4
+ break if yield rescue nil
5
+
6
+ sleep a
7
+ end
8
+ end
9
+ end
10
+
11
+ RSpec.configure do |config|
12
+ config.include WaitUntil
13
+ config.extend WaitUntil
14
+ 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.4.5
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-10-03 00:00:00.000000000 Z
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: 2.13.0
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: 2.13.0
27
+ version: 3.0.0
28
28
  - !ruby/object:Gem::Dependency
29
- name: fakeweb
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: '1.0'
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: '1.0'
41
+ version: 10.1.1
56
42
  - !ruby/object:Gem::Dependency
57
- name: excon
43
+ name: yard
58
44
  requirement: !ruby/object:Gem::Requirement
59
45
  requirements:
60
- - - ">="
46
+ - - "~>"
61
47
  - !ruby/object:Gem::Version
62
- version: 0.6.1
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.6.1
55
+ version: 0.8.7
70
56
  - !ruby/object:Gem::Dependency
71
- name: rake
57
+ name: redcarpet
72
58
  requirement: !ruby/object:Gem::Requirement
73
59
  requirements:
74
- - - ">="
60
+ - - "~>"
75
61
  - !ruby/object:Gem::Version
76
- version: '0'
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: '0'
69
+ version: 3.0.0
84
70
  - !ruby/object:Gem::Dependency
85
- name: instrumentable
71
+ name: simplecov
86
72
  requirement: !ruby/object:Gem::Requirement
87
73
  requirements:
88
74
  - - "~>"
89
75
  - !ruby/object:Gem::Version
90
- version: 1.1.0
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: 1.1.0
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: builder
99
+ name: beefcake
114
100
  requirement: !ruby/object:Gem::Requirement
115
101
  requirements:
116
102
  - - ">="
117
103
  - !ruby/object:Gem::Version
118
- version: 2.1.2
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: 2.1.2
111
+ version: 1.0.0.pre1
126
112
  - !ruby/object:Gem::Dependency
127
- name: beefcake
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.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.0
125
+ version: '1.0'
140
126
  - !ruby/object:Gem::Dependency
141
- name: multi_json
127
+ name: innertube
142
128
  requirement: !ruby/object:Gem::Requirement
143
129
  requirements:
144
130
  - - "~>"
145
131
  - !ruby/object:Gem::Version
146
- version: '1.0'
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: '1.0'
139
+ version: 1.0.2
154
140
  - !ruby/object:Gem::Dependency
155
- name: innertube
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: 1.0.2
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: 1.0.2
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/cluster.rb
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/failed_request.rb
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/cluster_spec.rb
260
+ - spec/integration/riak/bucket_types_spec.rb
281
261
  - spec/integration/riak/counters_spec.rb
282
- - spec/integration/riak/http_backends_spec.rb
283
- - spec/integration/riak/node_spec.rb
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/test_server_spec.rb
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/drb_mock_server.rb
321
- - spec/support/http_backend_implementation_examples.rb
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/sometimes.rb
328
- - spec/support/test_server.rb
329
- - spec/support/test_server.yml.example
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: '0'
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: '0'
340
+ version: 1.3.1
350
341
  requirements: []
351
342
  rubyforge_project:
352
- rubygems_version: 2.2.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/cluster_spec.rb
360
+ - spec/integration/riak/bucket_types_spec.rb
370
361
  - spec/integration/riak/counters_spec.rb
371
- - spec/integration/riak/http_backends_spec.rb
372
- - spec/integration/riak/node_spec.rb
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/test_server_spec.rb
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/drb_mock_server.rb
410
- - spec/support/http_backend_implementation_examples.rb
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/sometimes.rb
417
- - spec/support/test_server.rb
418
- - spec/support/test_server.yml.example
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