rroonga 10.0.2 → 12.0.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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +24 -0
  3. data/doc/text/news.md +36 -0
  4. data/ext/groonga/extconf.rb +14 -2
  5. data/ext/groonga/rb-grn-accessor.c +2 -2
  6. data/ext/groonga/rb-grn-column-cache.c +3 -3
  7. data/ext/groonga/rb-grn-column.c +4 -4
  8. data/ext/groonga/rb-grn-context.c +82 -58
  9. data/ext/groonga/rb-grn-data-column.c +4 -4
  10. data/ext/groonga/rb-grn-database.c +45 -26
  11. data/ext/groonga/rb-grn-double-array-trie.c +2 -2
  12. data/ext/groonga/rb-grn-encoding-support.c +2 -2
  13. data/ext/groonga/rb-grn-exception.c +14 -0
  14. data/ext/groonga/rb-grn-expression.c +3 -3
  15. data/ext/groonga/rb-grn-fix-size-column.c +2 -2
  16. data/ext/groonga/rb-grn-flushable.c +2 -1
  17. data/ext/groonga/rb-grn-hash.c +2 -2
  18. data/ext/groonga/rb-grn-index-column.c +3 -3
  19. data/ext/groonga/rb-grn-index-cursor.c +2 -2
  20. data/ext/groonga/rb-grn-inverted-index-cursor.c +3 -3
  21. data/ext/groonga/rb-grn-object.c +30 -9
  22. data/ext/groonga/rb-grn-operator.c +100 -259
  23. data/ext/groonga/rb-grn-patricia-trie.c +2 -2
  24. data/ext/groonga/rb-grn-plugin.c +34 -22
  25. data/ext/groonga/rb-grn-request-timer-id.c +2 -2
  26. data/ext/groonga/rb-grn-snippet.c +3 -3
  27. data/ext/groonga/rb-grn-table-cursor-key-support.c +2 -2
  28. data/ext/groonga/rb-grn-table-cursor.c +3 -3
  29. data/ext/groonga/rb-grn-table-key-support.c +3 -3
  30. data/ext/groonga/rb-grn-table.c +63 -45
  31. data/ext/groonga/rb-grn-variable-size-column.c +2 -2
  32. data/ext/groonga/rb-grn-variable.c +2 -2
  33. data/ext/groonga/rb-grn.h +8 -5
  34. data/ext/groonga/rb-groonga.c +5 -1
  35. data/lib/groonga/context.rb +32 -0
  36. data/rroonga-build.rb +5 -4
  37. data/rroonga.gemspec +5 -2
  38. data/test/groonga-test-utils.rb +3 -0
  39. data/test/run-test.rb +1 -1
  40. data/test/test-index-column.rb +3 -3
  41. data/test/test-logger.rb +2 -0
  42. data/test/test-ractor.rb +65 -0
  43. data/test/test-remote.rb +16 -0
  44. data/test/test-table-arrow.rb +21 -9
  45. metadata +84 -68
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rroonga
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.0.2
4
+ version: 12.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
@@ -12,10 +12,24 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2020-05-01 00:00:00.000000000 Z
15
+ date: 2022-02-09 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: pkg-config
18
+ name: groonga-client
19
+ requirement: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.3
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 0.0.3
31
+ - !ruby/object:Gem::Dependency
32
+ name: json
19
33
  requirement: !ruby/object:Gem::Requirement
20
34
  requirements:
21
35
  - - ">="
@@ -29,21 +43,21 @@ dependencies:
29
43
  - !ruby/object:Gem::Version
30
44
  version: '0'
31
45
  - !ruby/object:Gem::Dependency
32
- name: groonga-client
46
+ name: native-package-installer
33
47
  requirement: !ruby/object:Gem::Requirement
34
48
  requirements:
35
49
  - - ">="
36
50
  - !ruby/object:Gem::Version
37
- version: 0.0.3
51
+ version: '0'
38
52
  type: :runtime
39
53
  prerelease: false
40
54
  version_requirements: !ruby/object:Gem::Requirement
41
55
  requirements:
42
56
  - - ">="
43
57
  - !ruby/object:Gem::Version
44
- version: 0.0.3
58
+ version: '0'
45
59
  - !ruby/object:Gem::Dependency
46
- name: json
60
+ name: pkg-config
47
61
  requirement: !ruby/object:Gem::Requirement
48
62
  requirements:
49
63
  - - ">="
@@ -152,10 +166,10 @@ email:
152
166
  - y.hayamizu@gmail.com
153
167
  - dara@shidara.net
154
168
  executables:
155
- - groonga-database-inspect
156
- - grndump
157
169
  - grntest-log-analyze
158
170
  - groonga-index-dump
171
+ - groonga-database-inspect
172
+ - grndump
159
173
  extensions:
160
174
  - ext/groonga/extconf.rb
161
175
  extra_rdoc_files:
@@ -322,6 +336,7 @@ files:
322
336
  - test/test-plugin.rb
323
337
  - test/test-procedure.rb
324
338
  - test/test-query-logger.rb
339
+ - test/test-ractor.rb
325
340
  - test/test-record.rb
326
341
  - test/test-remote.rb
327
342
  - test/test-request-canceler.rb
@@ -355,7 +370,7 @@ homepage: http://ranguba.org/#about-rroonga
355
370
  licenses:
356
371
  - LGPL-2.1
357
372
  metadata:
358
- msys2_mingw_dependencies: groonga>=10.0.1
373
+ msys2_mingw_dependencies: groonga>=11.0.0
359
374
  post_install_message:
360
375
  rdoc_options: []
361
376
  require_paths:
@@ -372,79 +387,80 @@ required_rubygems_version: !ruby/object:Gem::Requirement
372
387
  - !ruby/object:Gem::Version
373
388
  version: '0'
374
389
  requirements: []
375
- rubygems_version: 3.1.2
390
+ rubygems_version: 3.1.6
376
391
  signing_key:
377
392
  specification_version: 4
378
393
  summary: Ruby bindings for Groonga that provide full text search and column store
379
394
  features.
380
395
  test_files:
381
- - test/test-request-canceler.rb
382
- - test/test-convert.rb
383
- - test/test-table-select.rb
384
396
  - test/test-table-dumper.rb
385
- - test/test-table.rb
386
- - test/test-thread.rb
387
- - test/test-gqtp.rb
388
- - test/test-geo-point.rb
389
- - test/test-variable.rb
397
+ - test/test-query-logger.rb
398
+ - test/test-variable-size-column.rb
399
+ - test/test-schema-dumper.rb
400
+ - test/test-double-array-trie.rb
401
+ - test/test-expression-builder.rb
402
+ - test/test-array.rb
403
+ - test/test-id.rb
404
+ - test/test-table-key-support.rb
405
+ - test/test-database-dumper.rb
406
+ - test/test-expression.rb
407
+ - test/test-logger.rb
408
+ - test/run-test.rb
409
+ - test/test-windows-event-logger.rb
410
+ - test/test-vector-column.rb
390
411
  - test/test-operator.rb
391
- - test/test-table-select-mecab.rb
392
- - test/test-version.rb
412
+ - test/test-table.rb
413
+ - test/test-table-group.rb
414
+ - test/test-column.rb
415
+ - test/test-pagination.rb
416
+ - test/test-error-message.rb
417
+ - test/test-fix-size-column.rb
418
+ - test/test-table-arrow.rb
419
+ - test/test-sub-records.rb
420
+ - test/test-table-select-normalize.rb
421
+ - test/test-config.rb
393
422
  - test/test-patricia-trie.rb
394
- - test/test-context.rb
395
- - test/test-table-traverse.rb
423
+ - test/test-gqtp.rb
396
424
  - test/test-memory-pool.rb
397
- - test/test-config.rb
398
- - test/test-data-column.rb
399
- - test/test-table-offset-and-limit.rb
400
- - test/test-variable-size-column.rb
401
- - test/test-fix-size-column.rb
425
+ - test/test-schema-create-table.rb
426
+ - test/test-schema.rb
427
+ - test/test-column-cache.rb
428
+ - test/test-command-select.rb
429
+ - test/test-lock-timeout.rb
430
+ - test/test-request-canceler.rb
431
+ - test/test-default-cache.rb
402
432
  - test/test-database.rb
403
433
  - test/test-token-regexp.rb
404
- - test/test-schema-dumper.rb
434
+ - test/test-table-select-weight.rb
405
435
  - test/test-database-inspector.rb
406
- - test/test-logger.rb
407
- - test/test-windows-event-logger.rb
408
- - test/test-package-label.rb
436
+ - test/test-encoding.rb
437
+ - test/test-hash.rb
438
+ - test/test-schema-type.rb
439
+ - test/test-type.rb
440
+ - test/test-context.rb
409
441
  - test/test-flushable.rb
410
- - test/test-expression-builder.rb
411
- - test/test-table-arrow.rb
412
- - test/groonga-test-utils.rb
413
- - test/test-array.rb
414
- - test/test-procedure.rb
442
+ - test/test-normalizer.rb
443
+ - test/test-table-select.rb
415
444
  - test/test-index-cursor.rb
416
- - test/test-lock-timeout.rb
417
- - test/test-double-array-trie.rb
445
+ - test/test-remote.rb
446
+ - test/test-snippet.rb
418
447
  - test/test-exception.rb
448
+ - test/groonga-test-utils.rb
449
+ - test/test-table-traverse.rb
450
+ - test/test-convert.rb
451
+ - test/test-thread.rb
452
+ - test/test-plugin.rb
419
453
  - test/test-accessor.rb
420
- - test/test-schema-create-table.rb
421
- - test/run-test.rb
422
- - test/test-column-cache.rb
423
- - test/test-request-timer.rb
424
- - test/test-sub-records.rb
425
- - test/test-normalizer.rb
426
- - test/test-error-message.rb
427
- - test/test-type.rb
428
- - test/test-table-select-normalize.rb
429
- - test/test-snippet.rb
430
454
  - test/test-index-column.rb
431
- - test/test-query-logger.rb
432
- - test/test-column.rb
433
- - test/test-name.rb
434
- - test/test-table-select-weight.rb
435
- - test/test-pagination.rb
436
- - test/test-vector-column.rb
437
- - test/test-default-cache.rb
438
- - test/test-id.rb
439
- - test/test-schema.rb
440
- - test/test-plugin.rb
441
- - test/test-table-group.rb
455
+ - test/test-data-column.rb
456
+ - test/test-ractor.rb
457
+ - test/test-geo-point.rb
458
+ - test/test-request-timer.rb
459
+ - test/test-table-select-mecab.rb
460
+ - test/test-version.rb
461
+ - test/test-package-label.rb
462
+ - test/test-variable.rb
442
463
  - test/test-record.rb
443
- - test/test-expression.rb
444
- - test/test-table-key-support.rb
445
- - test/test-remote.rb
446
- - test/test-encoding.rb
447
- - test/test-database-dumper.rb
448
- - test/test-command-select.rb
449
- - test/test-hash.rb
450
- - test/test-schema-type.rb
464
+ - test/test-table-offset-and-limit.rb
465
+ - test/test-procedure.rb
466
+ - test/test-name.rb