rroonga 3.0.1 → 3.0.2
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.
- data/doc/text/news.textile +21 -0
- data/ext/groonga/rb-grn-index-column.c +353 -1
- data/ext/groonga/rb-grn-object.c +529 -495
- data/ext/groonga/rb-grn-table.c +48 -0
- data/ext/groonga/rb-grn-utils.c +585 -418
- data/ext/groonga/rb-grn.h +6 -4
- data/lib/groonga/dumper.rb +25 -8
- data/lib/groonga/record.rb +21 -2
- data/lib/groonga/schema.rb +2 -2
- data/rroonga-build.rb +1 -1
- data/rroonga.gemspec +2 -0
- data/test/test-database-dumper.rb +45 -3
- data/test/test-expression-builder.rb +0 -13
- data/test/test-fix-size-column.rb +40 -9
- data/test/test-index-column.rb +130 -1
- data/test/test-record.rb +43 -8
- data/test/test-schema-create-table.rb +2 -2
- data/test/test-schema-dumper.rb +46 -6
- data/test/test-table.rb +4 -3
- data/test/test-variable-size-column.rb +115 -26
- metadata +123 -123
data/test/test-record.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2013 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
|
@@ -99,10 +99,8 @@ class RecordTest < Test::Unit::TestCase
|
|
99
99
|
|
100
100
|
def test_have_column_nsubrecs_existent
|
101
101
|
@users.add("mori")
|
102
|
-
|
103
|
-
|
104
|
-
end
|
105
|
-
assert_true(bookmarks.to_a.first.have_column?(:_nsubrecs))
|
102
|
+
grouped_users = @users.group("_key")
|
103
|
+
assert_true(grouped_users.first.have_column?(:_nsubrecs))
|
106
104
|
end
|
107
105
|
|
108
106
|
def test_have_column_nsubrecs_nonexistent
|
@@ -411,7 +409,6 @@ class RecordTest < Test::Unit::TestCase
|
|
411
409
|
"uri" => "http://groonga.org/",
|
412
410
|
"user" => nil
|
413
411
|
},
|
414
|
-
"_nsubrecs" => 1,
|
415
412
|
"_score" => 1,
|
416
413
|
}
|
417
414
|
|
@@ -525,8 +522,8 @@ class RecordTest < Test::Unit::TestCase
|
|
525
522
|
def test_support_sub_records
|
526
523
|
morita = @users.add("morita")
|
527
524
|
assert_not_predicate(morita, :support_sub_records?)
|
528
|
-
|
529
|
-
assert_predicate(
|
525
|
+
grouped_users = @users.group("_key")
|
526
|
+
assert_predicate(grouped_users.first, :support_sub_records?)
|
530
527
|
end
|
531
528
|
|
532
529
|
def test_set_record_like_object
|
@@ -574,4 +571,42 @@ class RecordTest < Test::Unit::TestCase
|
|
574
571
|
"comment" => "Informative"
|
575
572
|
}
|
576
573
|
end
|
574
|
+
|
575
|
+
class JSONTest < self
|
576
|
+
def setup
|
577
|
+
setup_database
|
578
|
+
setup_schema
|
579
|
+
end
|
580
|
+
|
581
|
+
def setup_schema
|
582
|
+
Groonga::Schema.define do |schema|
|
583
|
+
schema.create_table("Bookmarks") do |table|
|
584
|
+
table.short_text("uri")
|
585
|
+
table.int32("rate")
|
586
|
+
table.text("comment")
|
587
|
+
table.time("created_at")
|
588
|
+
end
|
589
|
+
end
|
590
|
+
@bookmarks = Groonga["Bookmarks"]
|
591
|
+
end
|
592
|
+
|
593
|
+
def test_to_json
|
594
|
+
created_at = Time.parse("2013-05-16T16:57:34+09:00")
|
595
|
+
values = {
|
596
|
+
"uri" => "http://groonga.org/",
|
597
|
+
"rate" => 5,
|
598
|
+
"comment" => "Great!",
|
599
|
+
"created_at" => created_at,
|
600
|
+
}
|
601
|
+
groonga = @bookmarks.add(values)
|
602
|
+
expected = {
|
603
|
+
"_id" => groonga.id,
|
604
|
+
"comment" => values["comment"],
|
605
|
+
"created_at" => created_at.iso8601,
|
606
|
+
"rate" => values["rate"],
|
607
|
+
"uri" => values["uri"],
|
608
|
+
}.to_json
|
609
|
+
assert_equal(expected, groonga.to_json)
|
610
|
+
end
|
611
|
+
end
|
577
612
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2013 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
|
@@ -84,7 +84,7 @@ module SchemaCreateTableTests
|
|
84
84
|
Groonga::Schema.create_table("Posts",
|
85
85
|
options(:sub_records => true)) do |table|
|
86
86
|
end
|
87
|
-
assert_true(context["Posts"].
|
87
|
+
assert_true(context["Posts"].have_n_sub_records_space?)
|
88
88
|
end
|
89
89
|
|
90
90
|
def test_different_sub_records
|
data/test/test-schema-dumper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2013 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
|
@@ -51,7 +51,21 @@ class SchemaDumperTest < Test::Unit::TestCase
|
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
def
|
54
|
+
def define_reference_table_schema
|
55
|
+
Groonga::Schema.define do |schema|
|
56
|
+
schema.create_table("Terms",
|
57
|
+
:type => :hash,
|
58
|
+
:key_type => :short_text) do |table|
|
59
|
+
end
|
60
|
+
|
61
|
+
schema.create_table("IndexTerms",
|
62
|
+
:type => :hash,
|
63
|
+
:key_type => "Terms") do |table|
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
def define_reference_column_schema
|
55
69
|
Groonga::Schema.define do |schema|
|
56
70
|
schema.create_table("Items") do |table|
|
57
71
|
table.short_text("title")
|
@@ -127,8 +141,25 @@ end
|
|
127
141
|
EOS
|
128
142
|
end
|
129
143
|
|
130
|
-
def
|
131
|
-
|
144
|
+
def test_reference_table
|
145
|
+
define_reference_table_schema
|
146
|
+
assert_equal(<<-EOS, dump)
|
147
|
+
create_table("Terms",
|
148
|
+
:type => :hash,
|
149
|
+
:key_type => "ShortText",
|
150
|
+
:force => true) do |table|
|
151
|
+
end
|
152
|
+
|
153
|
+
create_table("IndexTerms",
|
154
|
+
:type => :hash,
|
155
|
+
:key_type => "Terms",
|
156
|
+
:force => true) do |table|
|
157
|
+
end
|
158
|
+
EOS
|
159
|
+
end
|
160
|
+
|
161
|
+
def test_reference_column
|
162
|
+
define_reference_column_schema
|
132
163
|
assert_equal(<<-EOS, dump)
|
133
164
|
create_table("Comments",
|
134
165
|
:force => true) do |table|
|
@@ -195,8 +226,17 @@ column_create Posts title COLUMN_SCALAR ShortText
|
|
195
226
|
EOS
|
196
227
|
end
|
197
228
|
|
198
|
-
def
|
199
|
-
|
229
|
+
def test_reference_table
|
230
|
+
define_reference_table_schema
|
231
|
+
assert_equal(<<-EOS, dump)
|
232
|
+
table_create Terms TABLE_HASH_KEY --key_type ShortText
|
233
|
+
|
234
|
+
table_create IndexTerms TABLE_HASH_KEY --key_type Terms
|
235
|
+
EOS
|
236
|
+
end
|
237
|
+
|
238
|
+
def test_reference_column
|
239
|
+
define_reference_column_schema
|
200
240
|
assert_equal(<<-EOS, dump)
|
201
241
|
table_create Comments TABLE_NO_KEY
|
202
242
|
column_create Comments content COLUMN_SCALAR Text
|
data/test/test-table.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2009-
|
1
|
+
# Copyright (C) 2009-2013 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,13 +647,14 @@ class TableTest < Test::Unit::TestCase
|
|
647
647
|
def test_have_column_nsubrecs_existent
|
648
648
|
users = Groonga::Hash.create(:name => "Users",
|
649
649
|
:key_type => "ShortText")
|
650
|
-
|
650
|
+
grouped_users = users.group("_key")
|
651
|
+
assert_true(grouped_users.have_column?(:_nsubrecs))
|
651
652
|
end
|
652
653
|
|
653
654
|
def test_have_column_nsubrecs_nonexistent
|
654
655
|
users = Groonga::Hash.create(:name => "Users",
|
655
656
|
:key_type => "ShortText")
|
656
|
-
assert_false(users.have_column?(:_nsubrecs))
|
657
|
+
assert_false(users.select.have_column?(:_nsubrecs))
|
657
658
|
end
|
658
659
|
|
659
660
|
def test_have_column_score_existent
|
@@ -112,36 +112,125 @@ class VariableSizeColumnTest < Test::Unit::TestCase
|
|
112
112
|
assert_equal(@users, @name.table)
|
113
113
|
end
|
114
114
|
|
115
|
-
def test_vector_append
|
116
|
-
assert_equal([], @morita["friends"])
|
117
|
-
@morita.append("friends", @yu)
|
118
|
-
assert_equal([@yu], @morita["friends"])
|
119
|
-
@morita.append("friends", @gunyara_kun)
|
120
|
-
assert_equal([@yu, @gunyara_kun], @morita["friends"])
|
121
|
-
end
|
122
|
-
|
123
|
-
def test_vector_prepend
|
124
|
-
assert_equal([], @morita["friends"])
|
125
|
-
@morita.prepend("friends", @yu)
|
126
|
-
assert_equal([@yu], @morita["friends"])
|
127
|
-
@morita.prepend("friends", @gunyara_kun)
|
128
|
-
assert_equal([@gunyara_kun, @yu], @morita["friends"])
|
129
|
-
end
|
130
|
-
|
131
|
-
def test_string_vector
|
132
|
-
omit("append/prepend for non table domain column " +
|
133
|
-
"isn't supported by groonga.")
|
134
|
-
assert_equal([], @morita["nick_names"])
|
135
|
-
@morita.append("nick_names", "morita")
|
136
|
-
assert_equal(["morita"], @morita["nick_names"])
|
137
|
-
@morita.prepend("nick_names", "moritapo")
|
138
|
-
assert_equal(["moritapo", "morita"], @morita["nick_names"])
|
139
|
-
end
|
140
|
-
|
141
115
|
def test_defrag
|
142
116
|
1000.times do |i|
|
143
117
|
@users.add(:name => "user #{i}" * 1000)
|
144
118
|
end
|
145
119
|
assert_equal(3, @name.defrag)
|
146
120
|
end
|
121
|
+
|
122
|
+
class VectorTest < self
|
123
|
+
class ReferenceTest < self
|
124
|
+
def test_append
|
125
|
+
assert_equal([], @morita["friends"])
|
126
|
+
@morita.append("friends", @yu)
|
127
|
+
assert_equal([@yu], @morita["friends"])
|
128
|
+
@morita.append("friends", @gunyara_kun)
|
129
|
+
assert_equal([@yu, @gunyara_kun], @morita["friends"])
|
130
|
+
end
|
131
|
+
|
132
|
+
def test_prepend
|
133
|
+
assert_equal([], @morita["friends"])
|
134
|
+
@morita.prepend("friends", @yu)
|
135
|
+
assert_equal([@yu], @morita["friends"])
|
136
|
+
@morita.prepend("friends", @gunyara_kun)
|
137
|
+
assert_equal([@gunyara_kun, @yu], @morita["friends"])
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class StringTest < self
|
142
|
+
def test_append
|
143
|
+
omit("append for non table domain column isn't supported by groonga.")
|
144
|
+
assert_equal([], @morita["nick_names"])
|
145
|
+
@morita.append("nick_names", "morita")
|
146
|
+
assert_equal(["morita"], @morita["nick_names"])
|
147
|
+
@morita.append("nick_names", "moritapo")
|
148
|
+
assert_equal(["morita", "moritapo"], @morita["nick_names"])
|
149
|
+
end
|
150
|
+
|
151
|
+
def test_prepend
|
152
|
+
omit("prepend for non table domain column isn't supported by groonga.")
|
153
|
+
assert_equal([], @morita["nick_names"])
|
154
|
+
@morita.prepend("nick_names", "morita")
|
155
|
+
assert_equal(["morita"], @morita["nick_names"])
|
156
|
+
@morita.prepend("nick_names", "moritapo")
|
157
|
+
assert_equal(["moritapo", "morita"], @morita["nick_names"])
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
class TimeTest < self
|
162
|
+
def setup
|
163
|
+
setup_database
|
164
|
+
setup_schema
|
165
|
+
setup_shortcuts
|
166
|
+
end
|
167
|
+
|
168
|
+
def setup_schema
|
169
|
+
Groonga::Schema.define do |schema|
|
170
|
+
schema.create_table("Sites",
|
171
|
+
:type => :hash,
|
172
|
+
:key_type => :short_text) do |table|
|
173
|
+
table.time("modified_times", :type => :vector)
|
174
|
+
end
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
def setup_shortcuts
|
179
|
+
@sites = Groonga["Sites"]
|
180
|
+
end
|
181
|
+
|
182
|
+
def test_string
|
183
|
+
groonga_org = @sites.add("http://groonga.org/",
|
184
|
+
:modified_times => [
|
185
|
+
"2013-04-29 00:00:00",
|
186
|
+
"2013-05-02 01:46:48",
|
187
|
+
])
|
188
|
+
assert_equal([
|
189
|
+
Time.new(2013, 4, 29, 0, 0, 0),
|
190
|
+
Time.new(2013, 5, 2, 1, 46, 48),
|
191
|
+
],
|
192
|
+
groonga_org.modified_times)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class CastTest < self
|
197
|
+
def setup
|
198
|
+
setup_database
|
199
|
+
setup_schema
|
200
|
+
setup_shortcuts
|
201
|
+
end
|
202
|
+
|
203
|
+
def setup_schema
|
204
|
+
Groonga::Schema.define do |schema|
|
205
|
+
schema.create_table("Times",
|
206
|
+
:type => :hash,
|
207
|
+
:key_type => :time) do |table|
|
208
|
+
end
|
209
|
+
|
210
|
+
schema.create_table("Sites",
|
211
|
+
:type => :hash,
|
212
|
+
:key_type => :short_text) do |table|
|
213
|
+
table.reference("modified_times", "Times", :type => :vector)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
def setup_shortcuts
|
219
|
+
@sites = Groonga["Sites"]
|
220
|
+
end
|
221
|
+
|
222
|
+
def test_reference
|
223
|
+
groonga_org = @sites.add("http://groonga.org/",
|
224
|
+
:modified_times => [
|
225
|
+
"2013-04-29 00:00:00",
|
226
|
+
"2013-05-02 01:46:48",
|
227
|
+
])
|
228
|
+
assert_equal([
|
229
|
+
Time.new(2013, 4, 29, 0, 0, 0),
|
230
|
+
Time.new(2013, 5, 2, 1, 46, 48),
|
231
|
+
],
|
232
|
+
groonga_org.modified_times.collect(&:key))
|
233
|
+
end
|
234
|
+
end
|
235
|
+
end
|
147
236
|
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: 3.0.
|
4
|
+
version: 3.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2013-05-
|
16
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: pkg-config
|
@@ -205,138 +205,138 @@ email:
|
|
205
205
|
- y.hayamizu@gmail.com
|
206
206
|
- dara@shidara.net
|
207
207
|
executables:
|
208
|
-
- groonga-index-dump
|
209
208
|
- grntest-log-analyze
|
209
|
+
- groonga-index-dump
|
210
210
|
- grndump
|
211
211
|
extensions:
|
212
212
|
- ext/groonga/extconf.rb
|
213
213
|
extra_rdoc_files:
|
214
214
|
- README.textile
|
215
215
|
files:
|
216
|
-
- doc/text/news.textile
|
217
216
|
- doc/text/tutorial.textile
|
217
|
+
- doc/text/news.textile
|
218
218
|
- rroonga.gemspec
|
219
219
|
- rroonga-build.rb
|
220
220
|
- extconf.rb
|
221
|
-
- lib/groonga
|
222
|
-
- lib/groonga/database.rb
|
221
|
+
- lib/groonga.rb
|
223
222
|
- lib/groonga/geo-point.rb
|
224
|
-
- lib/groonga/
|
225
|
-
- lib/groonga/
|
223
|
+
- lib/groonga/logger.rb
|
224
|
+
- lib/groonga/record.rb
|
226
225
|
- lib/groonga/index-column.rb
|
227
226
|
- lib/groonga/view-record.rb
|
228
|
-
- lib/groonga/
|
227
|
+
- lib/groonga/context.rb
|
229
228
|
- lib/groonga/grntest-log.rb
|
229
|
+
- lib/groonga/pagination.rb
|
230
|
+
- lib/groonga/database.rb
|
231
|
+
- lib/groonga/schema.rb
|
230
232
|
- lib/groonga/command.rb
|
231
|
-
- lib/groonga/dumper.rb
|
232
233
|
- lib/groonga/posting.rb
|
233
|
-
- lib/groonga/
|
234
|
-
- lib/groonga/context.rb
|
235
|
-
- lib/groonga/record.rb
|
234
|
+
- lib/groonga/patricia-trie.rb
|
236
235
|
- lib/groonga/expression-builder.rb
|
237
|
-
- lib/groonga/
|
238
|
-
- lib/groonga.rb
|
239
|
-
-
|
240
|
-
- benchmark/repeat-load.rb
|
241
|
-
- benchmark/read-write-many-small-items.rb
|
236
|
+
- lib/groonga/dumper.rb
|
237
|
+
- lib/groonga/query-logger.rb
|
238
|
+
- lib/groonga/expression-builder-19.rb
|
242
239
|
- benchmark/create-wikipedia-database.rb
|
240
|
+
- benchmark/common.rb
|
243
241
|
- benchmark/write-many-small-items.rb
|
242
|
+
- benchmark/read-write-many-small-items.rb
|
244
243
|
- benchmark/select.rb
|
244
|
+
- benchmark/repeat-load.rb
|
245
245
|
- misc/grnop2ruby.rb
|
246
246
|
- example/index-html.rb
|
247
247
|
- example/bookmark.rb
|
248
|
-
- ext/groonga/rb-grn-
|
249
|
-
- ext/groonga/rb-grn-column.c
|
250
|
-
- ext/groonga/rb-grn-index-column.c
|
251
|
-
- ext/groonga/rb-grn-encoding-support.c
|
252
|
-
- ext/groonga/rb-grn-variable.c
|
253
|
-
- ext/groonga/rb-grn-table.c
|
248
|
+
- ext/groonga/rb-grn-exception.c
|
254
249
|
- ext/groonga/rb-grn-hash-cursor.c
|
255
|
-
- ext/groonga/rb-grn-table-cursor-key-support.c
|
256
|
-
- ext/groonga/rb-grn-object.c
|
257
|
-
- ext/groonga/rb-grn-double-array-trie.c
|
258
|
-
- ext/groonga/rb-grn-table-key-support.c
|
259
|
-
- ext/groonga/rb-grn-array.c
|
260
|
-
- ext/groonga/rb-grn-patricia-trie.c
|
261
|
-
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
262
|
-
- ext/groonga/rb-grn-utils.c
|
263
250
|
- ext/groonga/rb-grn-record.c
|
251
|
+
- ext/groonga/rb-grn-variable.c
|
252
|
+
- ext/groonga/rb-grn-table-cursor-key-support.c
|
264
253
|
- ext/groonga/rb-grn-normalizer.c
|
265
|
-
- ext/groonga/rb-
|
266
|
-
- ext/groonga/rb-grn-
|
254
|
+
- ext/groonga/rb-grn-fix-size-column.c
|
255
|
+
- ext/groonga/rb-grn-context.c
|
256
|
+
- ext/groonga/rb-grn-plugin.c
|
257
|
+
- ext/groonga/rb-grn-hash.c
|
267
258
|
- ext/groonga/rb-grn-variable-size-column.c
|
268
|
-
- ext/groonga/rb-grn-
|
269
|
-
- ext/groonga/rb-grn-geo-point.c
|
270
|
-
- ext/groonga/rb-grn-expression-builder.c
|
259
|
+
- ext/groonga/rb-grn-index-column.c
|
271
260
|
- ext/groonga/rb-grn-operator.c
|
272
|
-
- ext/groonga/rb-grn-
|
273
|
-
- ext/groonga/rb-grn-
|
274
|
-
- ext/groonga/rb-grn-type.c
|
261
|
+
- ext/groonga/rb-grn-table-key-support.c
|
262
|
+
- ext/groonga/rb-grn-patricia-trie.c
|
275
263
|
- ext/groonga/rb-grn-table-cursor.c
|
276
|
-
- ext/groonga/rb-grn-
|
277
|
-
- ext/groonga/rb-grn-
|
278
|
-
- ext/groonga/rb-grn-
|
279
|
-
- ext/groonga/rb-grn-
|
264
|
+
- ext/groonga/rb-grn-object.c
|
265
|
+
- ext/groonga/rb-grn-table.c
|
266
|
+
- ext/groonga/rb-grn-procedure.c
|
267
|
+
- ext/groonga/rb-grn-snippet.c
|
268
|
+
- ext/groonga/rb-grn-encoding-support.c
|
280
269
|
- ext/groonga/rb-grn-patricia-trie-cursor.c
|
270
|
+
- ext/groonga/rb-grn-array.c
|
271
|
+
- ext/groonga/rb-grn-database.c
|
272
|
+
- ext/groonga/rb-grn-query-logger.c
|
273
|
+
- ext/groonga/rb-grn-column.c
|
281
274
|
- ext/groonga/rb-grn-index-cursor.c
|
275
|
+
- ext/groonga/rb-grn-type.c
|
282
276
|
- ext/groonga/rb-grn-accessor.c
|
283
|
-
- ext/groonga/rb-grn-
|
284
|
-
- ext/groonga/rb-grn-query-logger.c
|
277
|
+
- ext/groonga/rb-grn-double-array-trie-cursor.c
|
285
278
|
- ext/groonga/rb-grn-posting.c
|
279
|
+
- ext/groonga/rb-groonga.c
|
280
|
+
- ext/groonga/rb-grn-geo-point.c
|
281
|
+
- ext/groonga/rb-grn-array-cursor.c
|
282
|
+
- ext/groonga/rb-grn-utils.c
|
283
|
+
- ext/groonga/rb-grn-logger.c
|
286
284
|
- ext/groonga/rb-grn-expression.c
|
287
|
-
- ext/groonga/rb-grn-
|
285
|
+
- ext/groonga/rb-grn-encoding.c
|
286
|
+
- ext/groonga/rb-grn-expression-builder.c
|
287
|
+
- ext/groonga/rb-grn-double-array-trie.c
|
288
288
|
- ext/groonga/rb-grn.h
|
289
289
|
- ext/groonga/extconf.rb
|
290
290
|
- ext/groonga/groonga.def
|
291
291
|
- README.textile
|
292
|
-
- test/test-normalizer.rb
|
293
|
-
- test/test-schema.rb
|
294
|
-
- test/test-vector-column.rb
|
295
|
-
- test/test-schema-dumper.rb
|
296
|
-
- test/run-test.rb
|
297
|
-
- test/test-procedure.rb
|
298
|
-
- test/test-hash.rb
|
299
|
-
- test/test-expression.rb
|
300
|
-
- test/test-version.rb
|
301
292
|
- test/test-remote.rb
|
302
|
-
- test/test-
|
303
|
-
- test/test-expression-builder.rb
|
304
|
-
- test/test-encoding.rb
|
305
|
-
- test/test-snippet.rb
|
306
|
-
- test/test-index-cursor.rb
|
307
|
-
- test/test-type.rb
|
308
|
-
- test/test-table-dumper.rb
|
309
|
-
- test/test-table-traverse.rb
|
310
|
-
- test/test-table.rb
|
311
|
-
- test/test-pagination.rb
|
312
|
-
- test/groonga-test-utils.rb
|
313
|
-
- test/test-logger.rb
|
314
|
-
- test/test-context.rb
|
315
|
-
- test/test-table-select-weight.rb
|
316
|
-
- test/test-exception.rb
|
317
|
-
- test/test-table-select-normalize.rb
|
318
|
-
- test/test-command-select.rb
|
319
|
-
- test/test-gqtp.rb
|
293
|
+
- test/test-accessor.rb
|
320
294
|
- test/test-database-dumper.rb
|
321
295
|
- test/test-index-column.rb
|
322
|
-
- test/test-
|
323
|
-
- test/test-
|
296
|
+
- test/groonga-test-utils.rb
|
297
|
+
- test/test-pagination.rb
|
298
|
+
- test/test-table.rb
|
324
299
|
- test/test-variable-size-column.rb
|
300
|
+
- test/test-plugin.rb
|
301
|
+
- test/test-hash.rb
|
302
|
+
- test/test-table-traverse.rb
|
303
|
+
- test/test-encoding.rb
|
325
304
|
- test/test-schema-create-table.rb
|
326
|
-
- test/test-
|
327
|
-
- test/test-
|
328
|
-
- test/test-schema-type.rb
|
329
|
-
- test/test-table-select.rb
|
305
|
+
- test/test-type.rb
|
306
|
+
- test/test-database.rb
|
330
307
|
- test/test-variable.rb
|
331
|
-
- test/test-
|
308
|
+
- test/test-table-select.rb
|
332
309
|
- test/test-patricia-trie.rb
|
310
|
+
- test/test-geo-point.rb
|
311
|
+
- test/test-expression-builder.rb
|
312
|
+
- test/test-logger.rb
|
313
|
+
- test/test-array.rb
|
314
|
+
- test/test-record.rb
|
315
|
+
- test/test-column.rb
|
316
|
+
- test/test-fix-size-column.rb
|
317
|
+
- test/run-test.rb
|
318
|
+
- test/test-procedure.rb
|
319
|
+
- test/test-table-dumper.rb
|
320
|
+
- test/test-schema.rb
|
333
321
|
- test/test-table-select-mecab.rb
|
334
|
-
- test/test-
|
335
|
-
- test/test-
|
322
|
+
- test/test-command-select.rb
|
323
|
+
- test/test-table-select-normalize.rb
|
324
|
+
- test/test-expression.rb
|
325
|
+
- test/test-normalizer.rb
|
326
|
+
- test/test-vector-column.rb
|
327
|
+
- test/test-version.rb
|
328
|
+
- test/test-index-cursor.rb
|
336
329
|
- test/test-double-array-trie.rb
|
337
|
-
- test/test-
|
338
|
-
-
|
330
|
+
- test/test-exception.rb
|
331
|
+
- test/test-schema-dumper.rb
|
332
|
+
- test/test-schema-type.rb
|
333
|
+
- test/test-table-select-weight.rb
|
334
|
+
- test/test-gqtp.rb
|
335
|
+
- test/test-context.rb
|
336
|
+
- test/test-snippet.rb
|
337
|
+
- test/test-table-offset-and-limit.rb
|
339
338
|
- bin/grntest-log-analyze
|
339
|
+
- bin/groonga-index-dump
|
340
340
|
- bin/grndump
|
341
341
|
homepage: http://groonga.rubyforge.org/#about-rroonga
|
342
342
|
licenses:
|
@@ -350,7 +350,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
350
350
|
requirements:
|
351
351
|
- - ! '>='
|
352
352
|
- !ruby/object:Gem::Version
|
353
|
-
version:
|
353
|
+
version: 1.9.3
|
354
354
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
355
355
|
none: false
|
356
356
|
requirements:
|
@@ -365,50 +365,50 @@ specification_version: 3
|
|
365
365
|
summary: Ruby bindings for groonga that provide full text search and column store
|
366
366
|
features.
|
367
367
|
test_files:
|
368
|
-
- test/test-normalizer.rb
|
369
|
-
- test/test-schema.rb
|
370
|
-
- test/test-vector-column.rb
|
371
|
-
- test/test-schema-dumper.rb
|
372
|
-
- test/run-test.rb
|
373
|
-
- test/test-procedure.rb
|
374
|
-
- test/test-hash.rb
|
375
|
-
- test/test-expression.rb
|
376
|
-
- test/test-version.rb
|
377
368
|
- test/test-remote.rb
|
378
|
-
- test/test-
|
379
|
-
- test/test-expression-builder.rb
|
380
|
-
- test/test-encoding.rb
|
381
|
-
- test/test-snippet.rb
|
382
|
-
- test/test-index-cursor.rb
|
383
|
-
- test/test-type.rb
|
384
|
-
- test/test-table-dumper.rb
|
385
|
-
- test/test-table-traverse.rb
|
386
|
-
- test/test-table.rb
|
387
|
-
- test/test-pagination.rb
|
388
|
-
- test/groonga-test-utils.rb
|
389
|
-
- test/test-logger.rb
|
390
|
-
- test/test-context.rb
|
391
|
-
- test/test-table-select-weight.rb
|
392
|
-
- test/test-exception.rb
|
393
|
-
- test/test-table-select-normalize.rb
|
394
|
-
- test/test-command-select.rb
|
395
|
-
- test/test-gqtp.rb
|
369
|
+
- test/test-accessor.rb
|
396
370
|
- test/test-database-dumper.rb
|
397
371
|
- test/test-index-column.rb
|
398
|
-
- test/test-
|
399
|
-
- test/test-
|
372
|
+
- test/groonga-test-utils.rb
|
373
|
+
- test/test-pagination.rb
|
374
|
+
- test/test-table.rb
|
400
375
|
- test/test-variable-size-column.rb
|
376
|
+
- test/test-plugin.rb
|
377
|
+
- test/test-hash.rb
|
378
|
+
- test/test-table-traverse.rb
|
379
|
+
- test/test-encoding.rb
|
401
380
|
- test/test-schema-create-table.rb
|
402
|
-
- test/test-
|
403
|
-
- test/test-
|
404
|
-
- test/test-schema-type.rb
|
405
|
-
- test/test-table-select.rb
|
381
|
+
- test/test-type.rb
|
382
|
+
- test/test-database.rb
|
406
383
|
- test/test-variable.rb
|
407
|
-
- test/test-
|
384
|
+
- test/test-table-select.rb
|
408
385
|
- test/test-patricia-trie.rb
|
386
|
+
- test/test-geo-point.rb
|
387
|
+
- test/test-expression-builder.rb
|
388
|
+
- test/test-logger.rb
|
389
|
+
- test/test-array.rb
|
390
|
+
- test/test-record.rb
|
391
|
+
- test/test-column.rb
|
392
|
+
- test/test-fix-size-column.rb
|
393
|
+
- test/run-test.rb
|
394
|
+
- test/test-procedure.rb
|
395
|
+
- test/test-table-dumper.rb
|
396
|
+
- test/test-schema.rb
|
409
397
|
- test/test-table-select-mecab.rb
|
410
|
-
- test/test-
|
411
|
-
- test/test-
|
398
|
+
- test/test-command-select.rb
|
399
|
+
- test/test-table-select-normalize.rb
|
400
|
+
- test/test-expression.rb
|
401
|
+
- test/test-normalizer.rb
|
402
|
+
- test/test-vector-column.rb
|
403
|
+
- test/test-version.rb
|
404
|
+
- test/test-index-cursor.rb
|
412
405
|
- test/test-double-array-trie.rb
|
413
|
-
- test/test-
|
406
|
+
- test/test-exception.rb
|
407
|
+
- test/test-schema-dumper.rb
|
408
|
+
- test/test-schema-type.rb
|
409
|
+
- test/test-table-select-weight.rb
|
410
|
+
- test/test-gqtp.rb
|
411
|
+
- test/test-context.rb
|
412
|
+
- test/test-snippet.rb
|
413
|
+
- test/test-table-offset-and-limit.rb
|
414
414
|
has_rdoc:
|