rroonga 9.0.3 → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/Rakefile +26 -135
- data/doc/text/news.md +79 -1
- data/doc/text/tutorial.md +1 -1
- data/ext/groonga/extconf.rb +19 -74
- data/ext/groonga/rb-grn-accessor.c +2 -2
- data/ext/groonga/rb-grn-column-cache.c +3 -3
- data/ext/groonga/rb-grn-column.c +4 -4
- data/ext/groonga/rb-grn-context.c +109 -58
- data/ext/groonga/rb-grn-data-column.c +4 -4
- data/ext/groonga/rb-grn-database.c +45 -26
- data/ext/groonga/rb-grn-double-array-trie.c +2 -2
- data/ext/groonga/rb-grn-encoding-support.c +2 -2
- data/ext/groonga/rb-grn-exception.c +14 -0
- data/ext/groonga/rb-grn-expression-builder.c +3 -3
- data/ext/groonga/rb-grn-expression.c +3 -3
- data/ext/groonga/rb-grn-fix-size-column.c +2 -2
- data/ext/groonga/rb-grn-flushable.c +9 -1
- data/ext/groonga/rb-grn-hash.c +2 -2
- data/ext/groonga/rb-grn-index-column.c +30 -2
- data/ext/groonga/rb-grn-index-cursor.c +21 -2
- data/ext/groonga/rb-grn-inverted-index-cursor.c +3 -3
- data/ext/groonga/rb-grn-logger.c +17 -3
- data/ext/groonga/rb-grn-object.c +266 -31
- data/ext/groonga/rb-grn-operator.c +100 -259
- data/ext/groonga/rb-grn-patricia-trie.c +2 -2
- data/ext/groonga/rb-grn-plugin.c +34 -22
- data/ext/groonga/rb-grn-request-timer-id.c +2 -2
- data/ext/groonga/rb-grn-snippet.c +3 -3
- data/ext/groonga/rb-grn-table-cursor-key-support.c +2 -2
- data/ext/groonga/rb-grn-table-cursor.c +3 -3
- data/ext/groonga/rb-grn-table-key-support.c +28 -9
- data/ext/groonga/rb-grn-table.c +180 -130
- data/ext/groonga/rb-grn-type.c +5 -1
- data/ext/groonga/rb-grn-utils.c +17 -1
- data/ext/groonga/rb-grn-variable-size-column.c +2 -2
- data/ext/groonga/rb-grn-variable.c +2 -2
- data/ext/groonga/rb-grn.h +11 -14
- data/ext/groonga/rb-groonga.c +6 -2
- data/lib/groonga.rb +3 -7
- data/lib/groonga/context.rb +32 -0
- data/lib/groonga/dumper.rb +3 -0
- data/lib/groonga/record.rb +2 -2
- data/rroonga-build.rb +5 -4
- data/rroonga.gemspec +8 -6
- data/test/groonga-test-utils.rb +37 -5
- data/test/run-test.rb +1 -3
- data/test/test-accessor.rb +63 -7
- data/test/test-column.rb +12 -1
- data/test/test-context.rb +25 -0
- data/test/test-exception.rb +5 -0
- data/test/test-flushable.rb +51 -6
- data/test/test-index-column.rb +70 -9
- data/test/test-index-cursor.rb +26 -0
- data/test/test-logger.rb +56 -11
- data/test/test-plugin.rb +1 -0
- data/test/test-query-logger.rb +4 -3
- data/test/test-ractor.rb +65 -0
- data/test/test-record.rb +2 -1
- data/test/test-remote.rb +58 -10
- data/test/test-schema-dumper.rb +13 -0
- data/test/test-schema.rb +9 -1
- data/test/test-table-arrow.rb +22 -10
- data/test/test-table.rb +21 -1
- data/test/test-variable.rb +23 -7
- metadata +72 -97
data/test/test-plugin.rb
CHANGED
@@ -48,6 +48,7 @@ class PluginTest < Test::Unit::TestCase
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def test_by_path
|
51
|
+
only_not_windows # TODO: We can remove this with Groonga 9.0.3
|
51
52
|
context.register_plugin("token_filters/stop_word")
|
52
53
|
assert_not_nil(context["TokenFilterStopWord"])
|
53
54
|
plugin_path = "#{Groonga::Plugin.system_plugins_dir}/"
|
data/test/test-query-logger.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2015-
|
1
|
+
# Copyright (C) 2015-2019 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -29,6 +29,7 @@ class QueryLoggerTest < Test::Unit::TestCase
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def test_reopen
|
32
|
+
only_not_windows
|
32
33
|
Groonga::QueryLogger.unregister
|
33
34
|
Groonga::QueryLogger.path = @query_log_path.to_s
|
34
35
|
if @query_log_path.exist?
|
@@ -109,7 +110,7 @@ class QueryLoggerTest < Test::Unit::TestCase
|
|
109
110
|
Groonga::QueryLogger.log("default")
|
110
111
|
Groonga::QueryLogger.log("flags", :flags => "command")
|
111
112
|
normalized_infos = infos.collect do |info|
|
112
|
-
info = info.gsub(/\
|
113
|
+
info = info.gsub(/\A[a-zA-Z\d]+\|/,
|
113
114
|
"context_id|")
|
114
115
|
info.gsub(/\|[\d]+ \z/,
|
115
116
|
"|timestamp ")
|
@@ -129,7 +130,7 @@ class QueryLoggerTest < Test::Unit::TestCase
|
|
129
130
|
Groonga::QueryLogger.log("default")
|
130
131
|
Groonga::QueryLogger.log("mark", :mark => ":")
|
131
132
|
normalized_infos = infos.collect do |info|
|
132
|
-
info.gsub(/\
|
133
|
+
info.gsub(/\A[a-zA-Z\d]+\|([^\d])?[\d]+ \z/,
|
133
134
|
"context_id|\\1timestamp ")
|
134
135
|
end
|
135
136
|
assert_equal([
|
data/test/test-ractor.rb
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
# Copyright (C) 2021 Sutou Kouhei <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License version 2.1 as published by the Free Software Foundation.
|
6
|
+
#
|
7
|
+
# This library is distributed in the hope that it will be useful,
|
8
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
9
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
10
|
+
# Lesser General Public License for more details.
|
11
|
+
#
|
12
|
+
# You should have received a copy of the GNU Lesser General Public
|
13
|
+
# License along with this library; if not, write to the Free Software
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
15
|
+
|
16
|
+
class RactorTest < Test::Unit::TestCase
|
17
|
+
include GroongaTestUtils
|
18
|
+
|
19
|
+
setup
|
20
|
+
def need_ractor
|
21
|
+
omit("Ractor is needed") unless defined?(Ractor)
|
22
|
+
end
|
23
|
+
|
24
|
+
setup :setup_database
|
25
|
+
|
26
|
+
setup
|
27
|
+
def setup_tables
|
28
|
+
Groonga::Schema.define do |schema|
|
29
|
+
schema.create_table("Comments") do |table|
|
30
|
+
table.text("content")
|
31
|
+
end
|
32
|
+
|
33
|
+
schema.create_table("Terms",
|
34
|
+
type: :patricia_trie,
|
35
|
+
default_tokenizer: "TokenNgram",
|
36
|
+
normalizer: "NormalizerNFKC130") do |table|
|
37
|
+
table.index("Comments.content", with_position: true)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
setup
|
43
|
+
def setup_records
|
44
|
+
comments = Groonga["Comments"]
|
45
|
+
comments.add(content: "Hello World")
|
46
|
+
comments.add(content: "Groonga is fast!")
|
47
|
+
comments.add(content: "Rroonga is the Groonga bindings")
|
48
|
+
end
|
49
|
+
|
50
|
+
test "select" do
|
51
|
+
ractor = Ractor.new(@database_path) do |database_path|
|
52
|
+
Groonga::Context.open(encoding: nil) do |context|
|
53
|
+
context.open_database(database_path) do
|
54
|
+
comments = context["Comments"]
|
55
|
+
matched_comments = comments.select do |comment|
|
56
|
+
comment.content.match("Groonga")
|
57
|
+
end
|
58
|
+
matched_comments.collect(&:content)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
assert_equal(["Groonga is fast!", "Rroonga is the Groonga bindings"],
|
63
|
+
ractor.take)
|
64
|
+
end
|
65
|
+
end
|
data/test/test-record.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2019 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -647,6 +647,7 @@ class RecordTest < Test::Unit::TestCase
|
|
647
647
|
end
|
648
648
|
|
649
649
|
def test_to_json
|
650
|
+
only_not_windows
|
650
651
|
ENV["TZ"] = "Japan"
|
651
652
|
created_at = Time.parse("2013-05-16T16:57:34+09:00")
|
652
653
|
values = {
|
data/test/test-remote.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2019 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -20,24 +20,69 @@ class RemoteTest < Test::Unit::TestCase
|
|
20
20
|
def setup_remote_connection
|
21
21
|
@process_id = nil
|
22
22
|
|
23
|
-
|
24
|
-
|
23
|
+
vendor_local_bin = File.join(__dir__, "..", "vendor", "local", "bin")
|
24
|
+
if File.exist?(vendor_local_bin)
|
25
|
+
groonga = File.join(vendor_local_bin, "groonga")
|
26
|
+
else
|
27
|
+
package_config = PKGConfig.package_config("groonga")
|
28
|
+
groonga = package_config.variable("groonga")
|
29
|
+
groonga = normalize_groonga_path(groonga)
|
30
|
+
groonga = "groonga" unless File.exist?(groonga)
|
31
|
+
end
|
25
32
|
|
26
33
|
@host = "127.0.0.1"
|
27
34
|
@port = 12345
|
28
35
|
@remote_database_path = @tmp_dir + "remote-database"
|
29
|
-
@process_id =
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
36
|
+
@process_id = spawn(groonga,
|
37
|
+
"-i", @host,
|
38
|
+
"-p", @port.to_s,
|
39
|
+
"-s",
|
40
|
+
"-n", @remote_database_path.to_s)
|
41
|
+
Timeout.timeout(5) do
|
42
|
+
loop do
|
43
|
+
begin
|
44
|
+
open_client do |client|
|
45
|
+
client.status
|
46
|
+
end
|
47
|
+
rescue Groonga::Client::Error
|
48
|
+
else
|
49
|
+
break
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def normalize_groonga_path(groonga)
|
56
|
+
return groonga unless groonga
|
57
|
+
return groonga unless Object.const_defined?(:RubyInstaller)
|
58
|
+
|
59
|
+
msys2_installation = RubyInstaller::Runtime.msys2_installation
|
60
|
+
mingw_prefix = msys2_installation.mingw_prefix
|
61
|
+
mingw_bin_path = "#{mingw_prefix}/bin/"
|
62
|
+
mingw_bin_path_windows = "#{msys2_installation.mingw_bin_path}\\"
|
63
|
+
groonga.gsub(/\A#{Regexp.escape(mingw_bin_path)}/) do
|
64
|
+
mingw_bin_path_windows
|
34
65
|
end
|
35
|
-
sleep(1)
|
36
66
|
end
|
37
67
|
|
38
68
|
teardown
|
39
69
|
def teardown_remote_connection
|
40
|
-
|
70
|
+
if @process_id
|
71
|
+
begin
|
72
|
+
open_client do |client|
|
73
|
+
client.shutdown
|
74
|
+
end
|
75
|
+
rescue Groonga::Client::Error
|
76
|
+
end
|
77
|
+
Process.waitpid(@process_id)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
def open_client(&block)
|
82
|
+
Groonga::Client.open(host: @host,
|
83
|
+
port: @port,
|
84
|
+
protocol: :gqtp,
|
85
|
+
&block)
|
41
86
|
end
|
42
87
|
|
43
88
|
def test_send
|
@@ -47,12 +92,15 @@ class RemoteTest < Test::Unit::TestCase
|
|
47
92
|
id, result = _context.receive
|
48
93
|
assert_equal(0, id)
|
49
94
|
values = JSON.load(result)
|
95
|
+
values.delete("apache_arrow")
|
96
|
+
values.delete("features")
|
50
97
|
assert_equal([
|
51
98
|
"alloc_count",
|
52
99
|
"cache_hit_rate",
|
53
100
|
"command_version",
|
54
101
|
"default_command_version",
|
55
102
|
"max_command_version",
|
103
|
+
"n_jobs",
|
56
104
|
"n_queries",
|
57
105
|
"start_time",
|
58
106
|
"starttime",
|
data/test/test-schema-dumper.rb
CHANGED
@@ -395,6 +395,19 @@ column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_MEDIUM Items ti
|
|
395
395
|
SCHEMA
|
396
396
|
end
|
397
397
|
|
398
|
+
def test_large_index
|
399
|
+
define_index_schema(:title_index_options => {:size => :large})
|
400
|
+
assert_equal(<<-SCHEMA, dump)
|
401
|
+
table_create Items TABLE_HASH_KEY ShortText
|
402
|
+
column_create Items title COLUMN_SCALAR ShortText
|
403
|
+
|
404
|
+
table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --token_filters TokenFilterStopWord --normalizer NormalizerAuto
|
405
|
+
|
406
|
+
column_create Terms Items__key COLUMN_INDEX|WITH_POSITION Items _key
|
407
|
+
column_create Terms Items_title COLUMN_INDEX|WITH_POSITION|INDEX_LARGE Items title
|
408
|
+
SCHEMA
|
409
|
+
end
|
410
|
+
|
398
411
|
def test_weight_vector
|
399
412
|
define_weight_vector_schema
|
400
413
|
assert_equal(<<-SCHEMA, dump)
|
data/test/test-schema.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2020 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
# Copyright (C) 2014 Masafumi Yokoyama <myokoym@gmail.com>
|
3
3
|
#
|
4
4
|
# This library is free software; you can redistribute it and/or
|
@@ -920,6 +920,14 @@ class SchemaTest < Test::Unit::TestCase
|
|
920
920
|
end
|
921
921
|
end
|
922
922
|
|
923
|
+
def test_normalizer_with_options
|
924
|
+
Groonga::Schema.create_table("Names",
|
925
|
+
key_type: :short_text,
|
926
|
+
normalizer: "NormalizerNFKC121('unify_kana', true)")
|
927
|
+
assert_equal(Groonga["NormalizerNFKC121"],
|
928
|
+
Groonga["Names"].normalizer)
|
929
|
+
end
|
930
|
+
|
923
931
|
private
|
924
932
|
def columns_directory_path(table)
|
925
933
|
"#{table.path}.columns"
|
data/test/test-table-arrow.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2017-
|
1
|
+
# Copyright (C) 2017-2020 Sutou Kouhei <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -22,6 +22,15 @@ class TableArrowTest < Test::Unit::TestCase
|
|
22
22
|
omit("Apache Arrow support is required") unless context.support_arrow?
|
23
23
|
end
|
24
24
|
|
25
|
+
def open_temporary_file(extension)
|
26
|
+
tempfile = Tempfile.new(["table-arrow", extension])
|
27
|
+
begin
|
28
|
+
yield(tempfile)
|
29
|
+
ensure
|
30
|
+
tempfile.close!
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
25
34
|
def assert_dump_load(type, n_records)
|
26
35
|
Groonga::Schema.define do |schema|
|
27
36
|
schema.create_table("Source") do |table|
|
@@ -42,9 +51,10 @@ class TableArrowTest < Test::Unit::TestCase
|
|
42
51
|
source.add(:data => data)
|
43
52
|
end
|
44
53
|
|
45
|
-
|
46
|
-
|
47
|
-
|
54
|
+
open_temporary_file(".arrow") do |tempfile|
|
55
|
+
source.dump_arrow(tempfile.path)
|
56
|
+
destination.load_arrow(tempfile.path)
|
57
|
+
end
|
48
58
|
|
49
59
|
assert_equal(expected,
|
50
60
|
destination.collect(&:attributes))
|
@@ -153,9 +163,10 @@ class TableArrowTest < Test::Unit::TestCase
|
|
153
163
|
source.add(:data1 => data1, :data2 => data2)
|
154
164
|
end
|
155
165
|
|
156
|
-
|
157
|
-
|
158
|
-
|
166
|
+
open_temporary_file(".arrow") do |tempfile|
|
167
|
+
source.dump_arrow(tempfile.path, columns: source.columns[0, 1])
|
168
|
+
destination.load_arrow(tempfile.path)
|
169
|
+
end
|
159
170
|
|
160
171
|
assert_equal(expected,
|
161
172
|
destination.collect(&:attributes))
|
@@ -183,9 +194,10 @@ class TableArrowTest < Test::Unit::TestCase
|
|
183
194
|
source.add(:data1 => data1, :data2 => data2)
|
184
195
|
end
|
185
196
|
|
186
|
-
|
187
|
-
|
188
|
-
|
197
|
+
open_temporary_file(".arrow") do |tempfile|
|
198
|
+
source.dump_arrow(tempfile.path, column_names: ["data1"])
|
199
|
+
destination.load_arrow(tempfile.path)
|
200
|
+
end
|
189
201
|
|
190
202
|
assert_equal(expected,
|
191
203
|
destination.collect(&:attributes))
|
data/test/test-table.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2019 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
# Copyright (C) 2016 Masafumi Yokoyama <yokoyama@clear-code.com>
|
3
3
|
#
|
4
4
|
# This library is free software; you can redistribute it and/or
|
@@ -276,6 +276,25 @@ class TableTest < Test::Unit::TestCase
|
|
276
276
|
bookmark["created_at"].to_a)
|
277
277
|
end
|
278
278
|
|
279
|
+
sub_test_case "#support_score?" do
|
280
|
+
setup
|
281
|
+
def setup_table
|
282
|
+
@table = Groonga::Hash.create(:name => "Bookmarks")
|
283
|
+
end
|
284
|
+
|
285
|
+
test "true" do
|
286
|
+
assert do
|
287
|
+
@table.select.support_score?
|
288
|
+
end
|
289
|
+
end
|
290
|
+
|
291
|
+
test "false" do
|
292
|
+
assert do
|
293
|
+
not @table.support_score?
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
279
298
|
class DeleteTest < self
|
280
299
|
setup
|
281
300
|
def setup_data
|
@@ -738,6 +757,7 @@ class TableTest < Test::Unit::TestCase
|
|
738
757
|
|
739
758
|
private
|
740
759
|
def by_other_process
|
760
|
+
only_not_windows
|
741
761
|
pid = Process.fork do
|
742
762
|
yield
|
743
763
|
end
|
data/test/test-variable.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009 Kouhei
|
1
|
+
# Copyright (C) 2009-2019 Sutou Kouhei <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,13 +16,29 @@
|
|
16
16
|
class VariableTest < Test::Unit::TestCase
|
17
17
|
include GroongaTestUtils
|
18
18
|
|
19
|
-
setup
|
19
|
+
def setup
|
20
|
+
setup_database
|
21
|
+
@expression = Groonga::Expression.new
|
22
|
+
@variable = @expression.define_variable
|
23
|
+
end
|
20
24
|
|
21
25
|
def test_value
|
22
|
-
|
23
|
-
variable =
|
24
|
-
|
25
|
-
|
26
|
-
|
26
|
+
assert_nil(@variable.value)
|
27
|
+
@variable.value = "morita"
|
28
|
+
assert_equal("morita", @variable.value)
|
29
|
+
end
|
30
|
+
|
31
|
+
sub_test_case("#bulk?") do
|
32
|
+
def test_true
|
33
|
+
assert do
|
34
|
+
@variable.bulk?
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_false
|
39
|
+
assert do
|
40
|
+
not @expression.bulk?
|
41
|
+
end
|
42
|
+
end
|
27
43
|
end
|
28
44
|
end
|
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:
|
4
|
+
version: 11.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -12,38 +12,38 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2021-02-15 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
|
-
name:
|
18
|
+
name: groonga-client
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 0.0.3
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version:
|
30
|
+
version: 0.0.3
|
31
31
|
- !ruby/object:Gem::Dependency
|
32
|
-
name:
|
32
|
+
name: json
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
34
34
|
requirements:
|
35
35
|
- - ">="
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0
|
37
|
+
version: '0'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 0
|
44
|
+
version: '0'
|
45
45
|
- !ruby/object:Gem::Dependency
|
46
|
-
name:
|
46
|
+
name: native-package-installer
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
59
|
- !ruby/object:Gem::Dependency
|
60
|
-
name:
|
60
|
+
name: pkg-config
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
@@ -98,34 +98,6 @@ dependencies:
|
|
98
98
|
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: rake-compiler
|
103
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
- - ">="
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: 0.9.5
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
|
-
requirements:
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 0.9.5
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: rake-compiler-dock
|
117
|
-
requirement: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: 0.6.2
|
122
|
-
type: :development
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - ">="
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: 0.6.2
|
129
101
|
- !ruby/object:Gem::Dependency
|
130
102
|
name: bundler
|
131
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -195,8 +167,8 @@ email:
|
|
195
167
|
- dara@shidara.net
|
196
168
|
executables:
|
197
169
|
- grntest-log-analyze
|
198
|
-
- groonga-database-inspect
|
199
170
|
- groonga-index-dump
|
171
|
+
- groonga-database-inspect
|
200
172
|
- grndump
|
201
173
|
extensions:
|
202
174
|
- ext/groonga/extconf.rb
|
@@ -364,6 +336,7 @@ files:
|
|
364
336
|
- test/test-plugin.rb
|
365
337
|
- test/test-procedure.rb
|
366
338
|
- test/test-query-logger.rb
|
339
|
+
- test/test-ractor.rb
|
367
340
|
- test/test-record.rb
|
368
341
|
- test/test-remote.rb
|
369
342
|
- test/test-request-canceler.rb
|
@@ -396,7 +369,8 @@ files:
|
|
396
369
|
homepage: http://ranguba.org/#about-rroonga
|
397
370
|
licenses:
|
398
371
|
- LGPL-2.1
|
399
|
-
metadata:
|
372
|
+
metadata:
|
373
|
+
msys2_mingw_dependencies: groonga>=11.0.0
|
400
374
|
post_install_message:
|
401
375
|
rdoc_options: []
|
402
376
|
require_paths:
|
@@ -413,79 +387,80 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
413
387
|
- !ruby/object:Gem::Version
|
414
388
|
version: '0'
|
415
389
|
requirements: []
|
416
|
-
rubygems_version: 3.
|
390
|
+
rubygems_version: 3.1.2
|
417
391
|
signing_key:
|
418
392
|
specification_version: 4
|
419
393
|
summary: Ruby bindings for Groonga that provide full text search and column store
|
420
394
|
features.
|
421
395
|
test_files:
|
422
|
-
- test/test-
|
423
|
-
- test/test-
|
424
|
-
- test/test-token-regexp.rb
|
425
|
-
- test/test-encoding.rb
|
426
|
-
- test/test-context.rb
|
427
|
-
- test/test-schema-dumper.rb
|
428
|
-
- test/test-data-column.rb
|
429
|
-
- test/test-lock-timeout.rb
|
430
|
-
- test/test-convert.rb
|
431
|
-
- test/test-memory-pool.rb
|
432
|
-
- test/test-index-column.rb
|
433
|
-
- test/test-exception.rb
|
434
|
-
- test/test-table.rb
|
435
|
-
- test/run-test.rb
|
436
|
-
- test/test-flushable.rb
|
396
|
+
- test/test-table-dumper.rb
|
397
|
+
- test/test-query-logger.rb
|
437
398
|
- test/test-variable-size-column.rb
|
438
|
-
- test/test-
|
439
|
-
- test/test-
|
399
|
+
- test/test-schema-dumper.rb
|
400
|
+
- test/test-double-array-trie.rb
|
401
|
+
- test/test-expression-builder.rb
|
440
402
|
- test/test-array.rb
|
441
|
-
- test/test-table-select-normalize.rb
|
442
|
-
- test/test-geo-point.rb
|
443
|
-
- test/test-logger.rb
|
444
|
-
- test/test-expression.rb
|
445
|
-
- test/test-procedure.rb
|
446
|
-
- test/test-fix-size-column.rb
|
447
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
|
448
409
|
- test/test-windows-event-logger.rb
|
449
|
-
- test/test-schema-type.rb
|
450
|
-
- test/test-table-select-weight.rb
|
451
|
-
- test/test-accessor.rb
|
452
|
-
- test/test-type.rb
|
453
|
-
- test/test-hash.rb
|
454
|
-
- test/test-patricia-trie.rb
|
455
|
-
- test/test-query-logger.rb
|
456
|
-
- test/test-record.rb
|
457
|
-
- test/test-column.rb
|
458
410
|
- test/test-vector-column.rb
|
459
|
-
- test/test-
|
411
|
+
- test/test-operator.rb
|
412
|
+
- test/test-table.rb
|
460
413
|
- test/test-table-group.rb
|
461
|
-
- test/test-
|
462
|
-
- test/test-default-cache.rb
|
463
|
-
- test/test-normalizer.rb
|
464
|
-
- test/test-table-key-support.rb
|
465
|
-
- test/test-name.rb
|
466
|
-
- test/test-database.rb
|
467
|
-
- test/test-version.rb
|
414
|
+
- test/test-column.rb
|
468
415
|
- test/test-pagination.rb
|
469
|
-
- test/test-
|
416
|
+
- test/test-error-message.rb
|
417
|
+
- test/test-fix-size-column.rb
|
418
|
+
- test/test-table-arrow.rb
|
470
419
|
- test/test-sub-records.rb
|
420
|
+
- test/test-table-select-normalize.rb
|
421
|
+
- test/test-config.rb
|
422
|
+
- test/test-patricia-trie.rb
|
471
423
|
- test/test-gqtp.rb
|
472
|
-
- test/test-
|
473
|
-
- test/test-table-traverse.rb
|
474
|
-
- test/test-expression-builder.rb
|
475
|
-
- test/test-operator.rb
|
476
|
-
- test/test-table-dumper.rb
|
477
|
-
- test/test-package-label.rb
|
478
|
-
- test/test-plugin.rb
|
479
|
-
- test/test-database-dumper.rb
|
480
|
-
- test/test-snippet.rb
|
481
|
-
- test/test-table-arrow.rb
|
424
|
+
- test/test-memory-pool.rb
|
482
425
|
- test/test-schema-create-table.rb
|
483
|
-
- test/groonga-test-utils.rb
|
484
|
-
- test/test-thread.rb
|
485
426
|
- test/test-schema.rb
|
486
|
-
- test/test-request-timer.rb
|
487
|
-
- test/test-index-cursor.rb
|
488
427
|
- test/test-column-cache.rb
|
489
|
-
- test/test-config.rb
|
490
428
|
- test/test-command-select.rb
|
429
|
+
- test/test-lock-timeout.rb
|
430
|
+
- test/test-request-canceler.rb
|
431
|
+
- test/test-default-cache.rb
|
432
|
+
- test/test-database.rb
|
433
|
+
- test/test-token-regexp.rb
|
434
|
+
- test/test-table-select-weight.rb
|
435
|
+
- test/test-database-inspector.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
|
441
|
+
- test/test-flushable.rb
|
442
|
+
- test/test-normalizer.rb
|
491
443
|
- test/test-table-select.rb
|
444
|
+
- test/test-index-cursor.rb
|
445
|
+
- test/test-remote.rb
|
446
|
+
- test/test-snippet.rb
|
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
|
453
|
+
- test/test-accessor.rb
|
454
|
+
- test/test-index-column.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
|
463
|
+
- test/test-record.rb
|
464
|
+
- test/test-table-offset-and-limit.rb
|
465
|
+
- test/test-procedure.rb
|
466
|
+
- test/test-name.rb
|