groonga-client 0.5.8 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/doc/text/news.md +54 -0
- data/groonga-client.gemspec +2 -2
- data/lib/groonga/client.rb +15 -3
- data/lib/groonga/client/command-line/groonga-client.rb +278 -4
- data/lib/groonga/client/protocol/file.rb +76 -0
- data/lib/groonga/client/protocol/http/path-resolvable.rb +6 -1
- data/lib/groonga/client/protocol/http/synchronous.rb +45 -14
- data/lib/groonga/client/response.rb +3 -1
- data/lib/groonga/client/response/base.rb +93 -4
- data/lib/groonga/client/response/drilldownable.rb +85 -0
- data/lib/groonga/client/response/error.rb +42 -2
- data/lib/groonga/client/response/logical-range-filter.rb +52 -0
- data/lib/groonga/client/response/logical-select.rb +28 -0
- data/lib/groonga/client/response/searchable.rb +97 -0
- data/lib/groonga/client/response/select.rb +136 -125
- data/lib/groonga/client/version.rb +2 -2
- data/test/response/helper.rb +5 -0
- data/test/response/test-base.rb +14 -1
- data/test/response/test-error.rb +1 -1
- data/test/response/test-select-command-version1.rb +58 -12
- data/test/response/test-select-command-version3.rb +54 -8
- data/test/response/test-select-tsv.rb +149 -0
- data/test/response/test-select-xml.rb +26 -4
- data/test/test-client.rb +2 -2
- metadata +35 -29
data/test/test-client.rb
CHANGED
@@ -491,7 +491,7 @@ EOH
|
|
491
491
|
|
492
492
|
def test_with_trailing_slash
|
493
493
|
stub_response("[]")
|
494
|
-
options = component_based_open_options.merge(:path => "/sub_path/")
|
494
|
+
options = component_based_open_options.merge(:path => "/sub_path/d/")
|
495
495
|
Groonga::Client.open(options) do |client|
|
496
496
|
client.status
|
497
497
|
end
|
@@ -500,7 +500,7 @@ EOH
|
|
500
500
|
|
501
501
|
def test_without_trailing_slash
|
502
502
|
stub_response("[]")
|
503
|
-
options = component_based_open_options.merge(:path => "/sub_path")
|
503
|
+
options = component_based_open_options.merge(:path => "/sub_path/d")
|
504
504
|
Groonga::Client.open(options) do |client|
|
505
505
|
client.status
|
506
506
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groonga-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Haruka Yoshihara
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-06-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gqtp
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 1.
|
35
|
+
version: 1.4.7
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 1.
|
42
|
+
version: 1.4.7
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: groonga-command-parser
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- lib/groonga/client/empty-request.rb
|
189
189
|
- lib/groonga/client/error.rb
|
190
190
|
- lib/groonga/client/protocol/error.rb
|
191
|
+
- lib/groonga/client/protocol/file.rb
|
191
192
|
- lib/groonga/client/protocol/gqtp.rb
|
192
193
|
- lib/groonga/client/protocol/http.rb
|
193
194
|
- lib/groonga/client/protocol/http/coolio.rb
|
@@ -208,6 +209,7 @@ files:
|
|
208
209
|
- lib/groonga/client/response/column-rename.rb
|
209
210
|
- lib/groonga/client/response/defrag.rb
|
210
211
|
- lib/groonga/client/response/delete.rb
|
212
|
+
- lib/groonga/client/response/drilldownable.rb
|
211
213
|
- lib/groonga/client/response/dump.rb
|
212
214
|
- lib/groonga/client/response/error.rb
|
213
215
|
- lib/groonga/client/response/load.rb
|
@@ -215,9 +217,12 @@ files:
|
|
215
217
|
- lib/groonga/client/response/log-level.rb
|
216
218
|
- lib/groonga/client/response/log-put.rb
|
217
219
|
- lib/groonga/client/response/log-reopen.rb
|
220
|
+
- lib/groonga/client/response/logical-range-filter.rb
|
221
|
+
- lib/groonga/client/response/logical-select.rb
|
218
222
|
- lib/groonga/client/response/quit.rb
|
219
223
|
- lib/groonga/client/response/register.rb
|
220
224
|
- lib/groonga/client/response/schema.rb
|
225
|
+
- lib/groonga/client/response/searchable.rb
|
221
226
|
- lib/groonga/client/response/select.rb
|
222
227
|
- lib/groonga/client/response/status.rb
|
223
228
|
- lib/groonga/client/response/table-create.rb
|
@@ -251,6 +256,7 @@ files:
|
|
251
256
|
- test/response/test-schema.rb
|
252
257
|
- test/response/test-select-command-version1.rb
|
253
258
|
- test/response/test-select-command-version3.rb
|
259
|
+
- test/response/test-select-tsv.rb
|
254
260
|
- test/response/test-select-xml.rb
|
255
261
|
- test/response/test-status.rb
|
256
262
|
- test/response/test-table-create.rb
|
@@ -280,42 +286,42 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
280
286
|
- !ruby/object:Gem::Version
|
281
287
|
version: '0'
|
282
288
|
requirements: []
|
283
|
-
|
284
|
-
rubygems_version: 2.5.2.1
|
289
|
+
rubygems_version: 3.2.0.pre1
|
285
290
|
signing_key:
|
286
291
|
specification_version: 4
|
287
292
|
summary: Groonga-client is a client for Groonga (http://groonga.org/) implemented
|
288
293
|
with pure Ruby. You can use it without Groonga.
|
289
294
|
test_files:
|
290
|
-
- test/
|
291
|
-
- test/
|
295
|
+
- test/command-line/helper.rb
|
296
|
+
- test/command-line/test-index-check.rb
|
297
|
+
- test/command-line/test-index-recreate.rb
|
292
298
|
- test/protocol/test-gqtp.rb
|
293
|
-
- test/
|
294
|
-
- test/
|
295
|
-
- test/
|
296
|
-
- test/
|
297
|
-
- test/
|
298
|
-
- test/
|
299
|
-
- test/
|
300
|
-
- test/
|
299
|
+
- test/protocol/test-http.rb
|
300
|
+
- test/request/select/test-backward-compatible-sort-keys-parameter.rb
|
301
|
+
- test/request/select/test-filter.rb
|
302
|
+
- test/request/select/test-output-columns-parameter.rb
|
303
|
+
- test/request/select/test-scorer.rb
|
304
|
+
- test/request/select/test-sort-keys-parameter.rb
|
305
|
+
- test/request/select/test-values-parameter.rb
|
306
|
+
- test/request/test-generic.rb
|
307
|
+
- test/request/test-merger.rb
|
308
|
+
- test/request/test-select.rb
|
301
309
|
- test/response/helper.rb
|
302
310
|
- test/response/test-base.rb
|
311
|
+
- test/response/test-column-list.rb
|
312
|
+
- test/response/test-error.rb
|
313
|
+
- test/response/test-load.rb
|
314
|
+
- test/response/test-schema.rb
|
303
315
|
- test/response/test-select-command-version1.rb
|
316
|
+
- test/response/test-select-command-version3.rb
|
317
|
+
- test/response/test-select-tsv.rb
|
318
|
+
- test/response/test-select-xml.rb
|
304
319
|
- test/response/test-status.rb
|
305
320
|
- test/response/test-table-create.rb
|
321
|
+
- test/response/test-table-list.rb
|
322
|
+
- test/response/test-table-remove.rb
|
306
323
|
- test/results/test-table-list.rb
|
307
|
-
- test/test-command.rb
|
308
324
|
- test/run-test.rb
|
309
|
-
- test/request/test-generic.rb
|
310
|
-
- test/request/select/test-values-parameter.rb
|
311
|
-
- test/request/select/test-output-columns-parameter.rb
|
312
|
-
- test/request/select/test-scorer.rb
|
313
|
-
- test/request/select/test-backward-compatible-sort-keys-parameter.rb
|
314
|
-
- test/request/select/test-filter.rb
|
315
|
-
- test/request/select/test-sort-keys-parameter.rb
|
316
|
-
- test/request/test-select.rb
|
317
|
-
- test/request/test-merger.rb
|
318
325
|
- test/test-client.rb
|
319
|
-
- test/
|
320
|
-
- test/
|
321
|
-
- test/command-line/test-index-check.rb
|
326
|
+
- test/test-command.rb
|
327
|
+
- test/test-script-syntax.rb
|