rroonga 4.0.3 → 4.0.4
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.
- checksums.yaml +13 -5
- data/Gemfile +1 -1
- data/README.textile +1 -1
- data/Rakefile +8 -1
- data/bin/grndump +1 -1
- data/bin/grntest-log-analyze +1 -1
- data/bin/groonga-database-inspect +1 -1
- data/bin/groonga-index-dump +1 -1
- data/doc/text/news.textile +28 -0
- data/ext/groonga/extconf.rb +12 -2
- data/ext/groonga/rb-grn-accessor.c +2 -1
- data/ext/groonga/rb-grn-array-cursor.c +1 -1
- data/ext/groonga/rb-grn-array.c +1 -1
- data/ext/groonga/rb-grn-column.c +1 -1
- data/ext/groonga/rb-grn-context.c +7 -5
- data/ext/groonga/rb-grn-database.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-double-array-trie.c +1 -1
- data/ext/groonga/rb-grn-encoding-support.c +1 -1
- data/ext/groonga/rb-grn-encoding.c +1 -1
- data/ext/groonga/rb-grn-exception.c +1 -1
- data/ext/groonga/rb-grn-expression-builder.c +1 -1
- data/ext/groonga/rb-grn-expression.c +1 -1
- data/ext/groonga/rb-grn-fix-size-column.c +1 -1
- data/ext/groonga/rb-grn-geo-point.c +1 -1
- data/ext/groonga/rb-grn-hash-cursor.c +1 -1
- data/ext/groonga/rb-grn-hash.c +1 -1
- data/ext/groonga/rb-grn-index-column.c +1 -1
- data/ext/groonga/rb-grn-index-cursor.c +1 -1
- data/ext/groonga/rb-grn-logger.c +1 -1
- data/ext/groonga/rb-grn-normalizer.c +1 -1
- data/ext/groonga/rb-grn-object.c +71 -45
- data/ext/groonga/rb-grn-operator.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie-cursor.c +1 -1
- data/ext/groonga/rb-grn-patricia-trie.c +1 -1
- data/ext/groonga/rb-grn-plugin.c +1 -1
- data/ext/groonga/rb-grn-posting.c +1 -1
- data/ext/groonga/rb-grn-procedure-type.c +40 -0
- data/ext/groonga/rb-grn-procedure.c +17 -4
- data/ext/groonga/rb-grn-query-logger.c +1 -1
- data/ext/groonga/rb-grn-record.c +1 -1
- data/ext/groonga/rb-grn-snippet.c +1 -1
- data/ext/groonga/rb-grn-table-cursor-key-support.c +1 -1
- data/ext/groonga/rb-grn-table-cursor.c +1 -1
- data/ext/groonga/rb-grn-table-key-support.c +1 -1
- data/ext/groonga/rb-grn-table.c +3 -2
- data/ext/groonga/rb-grn-type.c +1 -1
- data/ext/groonga/rb-grn-utils.c +1 -1
- data/ext/groonga/rb-grn-variable-size-column.c +55 -27
- data/ext/groonga/rb-grn-variable.c +1 -1
- data/ext/groonga/rb-grn.h +4 -2
- data/ext/groonga/rb-groonga.c +3 -2
- data/extconf.rb +1 -1
- data/lib/groonga.rb +1 -1
- data/lib/groonga/column.rb +1 -1
- data/lib/groonga/context.rb +1 -1
- data/lib/groonga/context/command-executor.rb +1 -1
- data/lib/groonga/database-inspector.rb +1 -1
- data/lib/groonga/database.rb +1 -1
- data/lib/groonga/dumper.rb +1 -1
- data/lib/groonga/expression-builder-19.rb +1 -1
- data/lib/groonga/expression-builder.rb +1 -1
- data/lib/groonga/geo-point.rb +1 -1
- data/lib/groonga/grntest-log.rb +1 -1
- data/lib/groonga/index-column.rb +1 -1
- data/lib/groonga/logger.rb +1 -1
- data/lib/groonga/memory-pool.rb +1 -2
- data/lib/groonga/pagination.rb +1 -1
- data/lib/groonga/patricia-trie.rb +1 -1
- data/lib/groonga/posting.rb +1 -1
- data/lib/groonga/query-logger.rb +1 -1
- data/lib/groonga/record.rb +6 -2
- data/lib/groonga/schema.rb +1 -1
- data/lib/groonga/statistic-measurer.rb +1 -1
- data/lib/groonga/sub-records.rb +1 -1
- data/lib/groonga/table.rb +1 -1
- data/misc/grnop2ruby.rb +1 -1
- data/rroonga-build.rb +4 -4
- data/rroonga.gemspec +3 -3
- data/test/groonga-test-utils.rb +4 -4
- data/test/run-test.rb +1 -1
- data/test/test-accessor.rb +1 -1
- data/test/test-array.rb +1 -1
- data/test/test-column.rb +1 -1
- data/test/test-command-select.rb +1 -1
- data/test/test-context.rb +21 -16
- data/test/test-convert.rb +1 -1
- data/test/test-database-dumper.rb +1 -1
- data/test/test-database-inspector.rb +1 -1
- data/test/test-database.rb +38 -25
- data/test/test-double-array-trie.rb +1 -1
- data/test/test-encoding.rb +1 -1
- data/test/test-exception.rb +12 -7
- data/test/test-expression-builder.rb +1 -1
- data/test/test-expression.rb +1 -1
- data/test/test-fix-size-column.rb +1 -1
- data/test/test-geo-point.rb +1 -1
- data/test/test-gqtp.rb +1 -1
- data/test/test-hash.rb +1 -1
- data/test/test-index-column.rb +1 -1
- data/test/test-index-cursor.rb +1 -1
- data/test/test-lock-timeout.rb +1 -1
- data/test/test-logger.rb +1 -1
- data/test/test-memory-pool.rb +1 -1
- data/test/test-normalizer.rb +1 -1
- data/test/test-pagination.rb +1 -1
- data/test/test-patricia-trie.rb +1 -1
- data/test/test-plugin.rb +1 -1
- data/test/test-procedure.rb +9 -2
- data/test/test-record.rb +1 -1
- data/test/test-remote.rb +1 -1
- data/test/test-schema-create-table.rb +1 -1
- data/test/test-schema-dumper.rb +1 -1
- data/test/test-schema-type.rb +1 -1
- data/test/test-schema.rb +1 -1
- data/test/test-snippet.rb +1 -1
- data/test/test-statistic-measurer.rb +1 -1
- data/test/test-sub-records.rb +1 -1
- data/test/test-table-dumper.rb +1 -1
- data/test/test-table-key-support.rb +1 -1
- data/test/test-table-offset-and-limit.rb +1 -1
- data/test/test-table-select-mecab.rb +1 -1
- data/test/test-table-select-normalize.rb +1 -1
- data/test/test-table-select-weight.rb +1 -1
- data/test/test-table-select.rb +1 -1
- data/test/test-table-traverse.rb +1 -1
- data/test/test-table.rb +1 -1
- data/test/test-type.rb +1 -1
- data/test/test-variable-size-column.rb +136 -67
- data/test/test-variable.rb +1 -1
- data/test/test-vector-column.rb +1 -1
- data/test/test-version.rb +1 -1
- metadata +83 -80
data/test/test-snippet.rb
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class SnippetTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class StatisticMeasurerTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-sub-records.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class SubRecordsTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-table-dumper.rb
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class TableDumperTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class TableKeySupportTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
module TestOffsetAndLimitSupport
|
|
17
17
|
def test_zero_and_positive_offset
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class TableSelectMecabTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class TableSelectNormalizeTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class TableSelectWeightTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
data/test/test-table-select.rb
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
#
|
|
14
14
|
# You should have received a copy of the GNU Lesser General Public
|
|
15
15
|
# License along with this library; if not, write to the Free Software
|
|
16
|
-
# Foundation, Inc.,
|
|
16
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
|
|
18
18
|
class TableSelectTest < Test::Unit::TestCase
|
|
19
19
|
include GroongaTestUtils
|
data/test/test-table-traverse.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class TableTraverseTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-table.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class TableTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-type.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class TypeTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class VariableSizeColumnTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
|
@@ -238,82 +238,151 @@ class VariableSizeColumnTest < Test::Unit::TestCase
|
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
class WeightTest < self
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
schema
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
241
|
+
class TypeTest < self
|
|
242
|
+
def setup_schema
|
|
243
|
+
Groonga::Schema.define do |schema|
|
|
244
|
+
schema.create_table("Products",
|
|
245
|
+
:type => :patricia_trie,
|
|
246
|
+
:key_type => :short_text) do |table|
|
|
247
|
+
table.short_text("tags",
|
|
248
|
+
:type => :vector,
|
|
249
|
+
:with_weight => true)
|
|
250
|
+
end
|
|
249
251
|
end
|
|
252
|
+
|
|
253
|
+
@products = Groonga["Products"]
|
|
250
254
|
end
|
|
251
255
|
|
|
252
|
-
|
|
253
|
-
|
|
256
|
+
def test_string_key
|
|
257
|
+
groonga = @products.add("Groonga")
|
|
258
|
+
groonga.tags = [
|
|
259
|
+
{
|
|
260
|
+
"value" => "groonga",
|
|
261
|
+
"weight" => 100,
|
|
262
|
+
},
|
|
263
|
+
]
|
|
264
|
+
|
|
265
|
+
assert_equal([
|
|
266
|
+
{
|
|
267
|
+
:value => "groonga",
|
|
268
|
+
:weight => 100,
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
groonga.tags)
|
|
272
|
+
end
|
|
254
273
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
274
|
+
def test_array
|
|
275
|
+
groonga = @products.add("Groonga")
|
|
276
|
+
groonga.tags = [
|
|
277
|
+
{
|
|
278
|
+
:value => "groonga",
|
|
279
|
+
:weight => 100,
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
:value => "full text search",
|
|
283
|
+
:weight => 1000,
|
|
284
|
+
},
|
|
285
|
+
]
|
|
286
|
+
|
|
287
|
+
assert_equal([
|
|
288
|
+
{
|
|
289
|
+
:value => "groonga",
|
|
290
|
+
:weight => 100,
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
:value => "full text search",
|
|
294
|
+
:weight => 1000,
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
groonga.tags)
|
|
298
|
+
end
|
|
263
299
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
300
|
+
def test_hash
|
|
301
|
+
groonga = @products.add("Groonga")
|
|
302
|
+
groonga.tags = {
|
|
303
|
+
"groonga" => 100,
|
|
304
|
+
"full text search" => 1000,
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
assert_equal([
|
|
308
|
+
{
|
|
309
|
+
:value => "groonga",
|
|
310
|
+
:weight => 100,
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
:value => "full text search",
|
|
314
|
+
:weight => 1000,
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
groonga.tags)
|
|
318
|
+
end
|
|
271
319
|
end
|
|
272
320
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
321
|
+
class ReferenceTest < self
|
|
322
|
+
def setup_schema
|
|
323
|
+
Groonga::Schema.define do |schema|
|
|
324
|
+
schema.create_table("Tags",
|
|
325
|
+
:type => :patricia_trie,
|
|
326
|
+
:key_type => :short_text) do |table|
|
|
327
|
+
end
|
|
328
|
+
schema.create_table("Products",
|
|
329
|
+
:type => :patricia_trie,
|
|
330
|
+
:key_type => :short_text) do |table|
|
|
331
|
+
table.reference("tags", "Tags",
|
|
332
|
+
:type => :vector,
|
|
333
|
+
:with_weight => true)
|
|
334
|
+
end
|
|
335
|
+
end
|
|
285
336
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
:weight => 100,
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
:value => "full text search",
|
|
293
|
-
:weight => 1000,
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
groonga.tags)
|
|
297
|
-
end
|
|
337
|
+
@products = Groonga["Products"]
|
|
338
|
+
@tags = Groonga["Tags"]
|
|
339
|
+
end
|
|
298
340
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
341
|
+
def test_array
|
|
342
|
+
groonga = @products.add("Groonga")
|
|
343
|
+
groonga.tags = [
|
|
344
|
+
{
|
|
345
|
+
:value => @tags.add("groonga"),
|
|
346
|
+
:weight => 100,
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
:value => @tags.add("full text search"),
|
|
350
|
+
:weight => 1000,
|
|
351
|
+
},
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
assert_equal([
|
|
355
|
+
{
|
|
356
|
+
:value => @tags["groonga"],
|
|
357
|
+
:weight => 100,
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
:value => @tags["full text search"],
|
|
361
|
+
:weight => 1000,
|
|
362
|
+
},
|
|
363
|
+
],
|
|
364
|
+
groonga.tags)
|
|
365
|
+
end
|
|
305
366
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
367
|
+
def test_hash
|
|
368
|
+
groonga = @products.add("Groonga")
|
|
369
|
+
groonga.tags = {
|
|
370
|
+
@tags.add("groonga") => 100,
|
|
371
|
+
@tags.add("full text search") => 1000,
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
assert_equal([
|
|
375
|
+
{
|
|
376
|
+
:value => @tags["groonga"],
|
|
377
|
+
:weight => 100,
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
:value => @tags["full text search"],
|
|
381
|
+
:weight => 1000,
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
groonga.tags)
|
|
385
|
+
end
|
|
317
386
|
end
|
|
318
387
|
end
|
|
319
388
|
end
|
data/test/test-variable.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class VariableTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-vector-column.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class VectorColumnTest < Test::Unit::TestCase
|
|
17
17
|
include GroongaTestUtils
|
data/test/test-version.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# You should have received a copy of the GNU Lesser General Public
|
|
13
13
|
# License along with this library; if not, write to the Free Software
|
|
14
|
-
# Foundation, Inc.,
|
|
14
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
15
15
|
|
|
16
16
|
class VersionTest < Test::Unit::TestCase
|
|
17
17
|
def test_build_version_format
|
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.0.
|
|
4
|
+
version: 4.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
@@ -12,181 +12,183 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2014-
|
|
15
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: pkg-config
|
|
19
19
|
requirement: !ruby/object:Gem::Requirement
|
|
20
20
|
requirements:
|
|
21
|
-
- -
|
|
21
|
+
- - ! '>='
|
|
22
22
|
- !ruby/object:Gem::Version
|
|
23
23
|
version: '0'
|
|
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
30
|
version: '0'
|
|
31
31
|
- !ruby/object:Gem::Dependency
|
|
32
32
|
name: groonga-client
|
|
33
33
|
requirement: !ruby/object:Gem::Requirement
|
|
34
34
|
requirements:
|
|
35
|
-
- -
|
|
35
|
+
- - ! '>='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
37
|
version: 0.0.3
|
|
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
44
|
version: 0.0.3
|
|
45
45
|
- !ruby/object:Gem::Dependency
|
|
46
46
|
name: json
|
|
47
47
|
requirement: !ruby/object:Gem::Requirement
|
|
48
48
|
requirements:
|
|
49
|
-
- -
|
|
49
|
+
- - ! '>='
|
|
50
50
|
- !ruby/object:Gem::Version
|
|
51
51
|
version: '0'
|
|
52
52
|
type: :runtime
|
|
53
53
|
prerelease: false
|
|
54
54
|
version_requirements: !ruby/object:Gem::Requirement
|
|
55
55
|
requirements:
|
|
56
|
-
- -
|
|
56
|
+
- - ! '>='
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
58
|
version: '0'
|
|
59
59
|
- !ruby/object:Gem::Dependency
|
|
60
60
|
name: archive-zip
|
|
61
61
|
requirement: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
|
63
|
-
- -
|
|
63
|
+
- - ! '>='
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
66
|
type: :runtime
|
|
67
67
|
prerelease: false
|
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
|
69
69
|
requirements:
|
|
70
|
-
- -
|
|
70
|
+
- - ! '>='
|
|
71
71
|
- !ruby/object:Gem::Version
|
|
72
72
|
version: '0'
|
|
73
73
|
- !ruby/object:Gem::Dependency
|
|
74
74
|
name: test-unit
|
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
|
77
|
-
- -
|
|
77
|
+
- - ! '>='
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: 2.4.6
|
|
80
80
|
type: :development
|
|
81
81
|
prerelease: false
|
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
|
84
|
-
- -
|
|
84
|
+
- - ! '>='
|
|
85
85
|
- !ruby/object:Gem::Version
|
|
86
86
|
version: 2.4.6
|
|
87
87
|
- !ruby/object:Gem::Dependency
|
|
88
88
|
name: test-unit-notify
|
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
|
90
90
|
requirements:
|
|
91
|
-
- -
|
|
91
|
+
- - ! '>='
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '0'
|
|
94
94
|
type: :development
|
|
95
95
|
prerelease: false
|
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
|
97
97
|
requirements:
|
|
98
|
-
- -
|
|
98
|
+
- - ! '>='
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
100
|
version: '0'
|
|
101
101
|
- !ruby/object:Gem::Dependency
|
|
102
102
|
name: rake
|
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
|
104
104
|
requirements:
|
|
105
|
-
- -
|
|
105
|
+
- - ! '>='
|
|
106
106
|
- !ruby/object:Gem::Version
|
|
107
107
|
version: '0'
|
|
108
108
|
type: :development
|
|
109
109
|
prerelease: false
|
|
110
110
|
version_requirements: !ruby/object:Gem::Requirement
|
|
111
111
|
requirements:
|
|
112
|
-
- -
|
|
112
|
+
- - ! '>='
|
|
113
113
|
- !ruby/object:Gem::Version
|
|
114
114
|
version: '0'
|
|
115
115
|
- !ruby/object:Gem::Dependency
|
|
116
116
|
name: rake-compiler
|
|
117
117
|
requirement: !ruby/object:Gem::Requirement
|
|
118
118
|
requirements:
|
|
119
|
-
- -
|
|
119
|
+
- - ! '>='
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
121
|
version: '0'
|
|
122
122
|
type: :development
|
|
123
123
|
prerelease: false
|
|
124
124
|
version_requirements: !ruby/object:Gem::Requirement
|
|
125
125
|
requirements:
|
|
126
|
-
- -
|
|
126
|
+
- - ! '>='
|
|
127
127
|
- !ruby/object:Gem::Version
|
|
128
128
|
version: '0'
|
|
129
129
|
- !ruby/object:Gem::Dependency
|
|
130
130
|
name: bundler
|
|
131
131
|
requirement: !ruby/object:Gem::Requirement
|
|
132
132
|
requirements:
|
|
133
|
-
- -
|
|
133
|
+
- - ! '>='
|
|
134
134
|
- !ruby/object:Gem::Version
|
|
135
135
|
version: '0'
|
|
136
136
|
type: :development
|
|
137
137
|
prerelease: false
|
|
138
138
|
version_requirements: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
|
140
|
-
- -
|
|
140
|
+
- - ! '>='
|
|
141
141
|
- !ruby/object:Gem::Version
|
|
142
142
|
version: '0'
|
|
143
143
|
- !ruby/object:Gem::Dependency
|
|
144
144
|
name: yard
|
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
|
146
146
|
requirements:
|
|
147
|
-
- -
|
|
147
|
+
- - ! '>='
|
|
148
148
|
- !ruby/object:Gem::Version
|
|
149
149
|
version: '0'
|
|
150
150
|
type: :development
|
|
151
151
|
prerelease: false
|
|
152
152
|
version_requirements: !ruby/object:Gem::Requirement
|
|
153
153
|
requirements:
|
|
154
|
-
- -
|
|
154
|
+
- - ! '>='
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: '0'
|
|
157
157
|
- !ruby/object:Gem::Dependency
|
|
158
158
|
name: packnga
|
|
159
159
|
requirement: !ruby/object:Gem::Requirement
|
|
160
160
|
requirements:
|
|
161
|
-
- -
|
|
161
|
+
- - ! '>='
|
|
162
162
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: 0.
|
|
163
|
+
version: 1.0.0
|
|
164
164
|
type: :development
|
|
165
165
|
prerelease: false
|
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
|
167
167
|
requirements:
|
|
168
|
-
- -
|
|
168
|
+
- - ! '>='
|
|
169
169
|
- !ruby/object:Gem::Version
|
|
170
|
-
version: 0.
|
|
170
|
+
version: 1.0.0
|
|
171
171
|
- !ruby/object:Gem::Dependency
|
|
172
172
|
name: RedCloth
|
|
173
173
|
requirement: !ruby/object:Gem::Requirement
|
|
174
174
|
requirements:
|
|
175
|
-
- -
|
|
175
|
+
- - ! '>='
|
|
176
176
|
- !ruby/object:Gem::Version
|
|
177
177
|
version: '0'
|
|
178
178
|
type: :development
|
|
179
179
|
prerelease: false
|
|
180
180
|
version_requirements: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
|
182
|
-
- -
|
|
182
|
+
- - ! '>='
|
|
183
183
|
- !ruby/object:Gem::Version
|
|
184
184
|
version: '0'
|
|
185
|
-
description:
|
|
186
|
-
|
|
185
|
+
description: ! 'Rroonga is an extension library to use Groonga''s DB-API
|
|
186
|
+
|
|
187
187
|
layer. Rroonga provides Rubyish readable and writable API
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
|
|
189
|
+
not C like API. You can use Groonga''s fast and highly
|
|
190
|
+
|
|
191
|
+
functional features from Ruby with Rubyish form.'
|
|
190
192
|
email:
|
|
191
193
|
- kou@clear-code.com
|
|
192
194
|
- a@razil.jp
|
|
@@ -194,16 +196,16 @@ email:
|
|
|
194
196
|
- y.hayamizu@gmail.com
|
|
195
197
|
- dara@shidara.net
|
|
196
198
|
executables:
|
|
197
|
-
- groonga-index-dump
|
|
198
199
|
- grndump
|
|
199
200
|
- groonga-database-inspect
|
|
201
|
+
- groonga-index-dump
|
|
200
202
|
- grntest-log-analyze
|
|
201
203
|
extensions:
|
|
202
204
|
- ext/groonga/extconf.rb
|
|
203
205
|
extra_rdoc_files:
|
|
204
206
|
- README.textile
|
|
205
207
|
files:
|
|
206
|
-
-
|
|
208
|
+
- .yardopts
|
|
207
209
|
- AUTHORS
|
|
208
210
|
- Gemfile
|
|
209
211
|
- README.textile
|
|
@@ -252,6 +254,7 @@ files:
|
|
|
252
254
|
- ext/groonga/rb-grn-patricia-trie.c
|
|
253
255
|
- ext/groonga/rb-grn-plugin.c
|
|
254
256
|
- ext/groonga/rb-grn-posting.c
|
|
257
|
+
- ext/groonga/rb-grn-procedure-type.c
|
|
255
258
|
- ext/groonga/rb-grn-procedure.c
|
|
256
259
|
- ext/groonga/rb-grn-query-logger.c
|
|
257
260
|
- ext/groonga/rb-grn-record.c
|
|
@@ -346,7 +349,7 @@ files:
|
|
|
346
349
|
- test/test-variable.rb
|
|
347
350
|
- test/test-vector-column.rb
|
|
348
351
|
- test/test-version.rb
|
|
349
|
-
homepage: http://
|
|
352
|
+
homepage: http://ranguba.org/#about-rroonga
|
|
350
353
|
licenses:
|
|
351
354
|
- LGPLv2
|
|
352
355
|
metadata: {}
|
|
@@ -357,73 +360,73 @@ require_paths:
|
|
|
357
360
|
- ext/groonga
|
|
358
361
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
359
362
|
requirements:
|
|
360
|
-
- -
|
|
363
|
+
- - ! '>='
|
|
361
364
|
- !ruby/object:Gem::Version
|
|
362
365
|
version: 1.9.3
|
|
363
366
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
364
367
|
requirements:
|
|
365
|
-
- -
|
|
368
|
+
- - ! '>='
|
|
366
369
|
- !ruby/object:Gem::Version
|
|
367
370
|
version: '0'
|
|
368
371
|
requirements: []
|
|
369
372
|
rubyforge_project: groonga
|
|
370
|
-
rubygems_version: 2.
|
|
373
|
+
rubygems_version: 2.4.1
|
|
371
374
|
signing_key:
|
|
372
375
|
specification_version: 4
|
|
373
376
|
summary: Ruby bindings for Groonga that provide full text search and column store
|
|
374
377
|
features.
|
|
375
378
|
test_files:
|
|
376
|
-
- test/test-schema.rb
|
|
377
|
-
- test/test-snippet.rb
|
|
378
|
-
- test/test-variable.rb
|
|
379
|
-
- test/test-geo-point.rb
|
|
380
|
-
- test/test-plugin.rb
|
|
381
|
-
- test/test-accessor.rb
|
|
382
379
|
- test/test-double-array-trie.rb
|
|
383
|
-
- test/test-
|
|
384
|
-
- test/test-
|
|
385
|
-
- test/test-
|
|
386
|
-
- test/test-
|
|
380
|
+
- test/test-variable.rb
|
|
381
|
+
- test/test-table-key-support.rb
|
|
382
|
+
- test/test-remote.rb
|
|
383
|
+
- test/test-normalizer.rb
|
|
387
384
|
- test/test-expression.rb
|
|
388
|
-
- test/test-table-select.rb
|
|
389
|
-
- test/test-encoding.rb
|
|
390
|
-
- test/test-logger.rb
|
|
391
|
-
- test/test-schema-create-table.rb
|
|
392
|
-
- test/test-hash.rb
|
|
393
|
-
- test/test-type.rb
|
|
394
|
-
- test/test-table-offset-and-limit.rb
|
|
395
385
|
- test/test-version.rb
|
|
396
|
-
- test/test-
|
|
397
|
-
- test/test-index-column.rb
|
|
398
|
-
- test/test-table-key-support.rb
|
|
386
|
+
- test/test-index-cursor.rb
|
|
399
387
|
- test/test-vector-column.rb
|
|
400
|
-
- test/test-
|
|
401
|
-
- test/test-
|
|
402
|
-
- test/test-
|
|
403
|
-
- test/test-
|
|
404
|
-
- test/test-
|
|
388
|
+
- test/test-exception.rb
|
|
389
|
+
- test/test-encoding.rb
|
|
390
|
+
- test/test-array.rb
|
|
391
|
+
- test/test-column.rb
|
|
392
|
+
- test/test-memory-pool.rb
|
|
393
|
+
- test/test-variable-size-column.rb
|
|
394
|
+
- test/test-table-offset-and-limit.rb
|
|
405
395
|
- test/test-context.rb
|
|
406
|
-
- test/test-
|
|
407
|
-
- test/test-
|
|
408
|
-
- test/test-
|
|
409
|
-
- test/test-
|
|
396
|
+
- test/test-schema-type.rb
|
|
397
|
+
- test/test-type.rb
|
|
398
|
+
- test/test-geo-point.rb
|
|
399
|
+
- test/test-command-select.rb
|
|
400
|
+
- test/groonga-test-utils.rb
|
|
401
|
+
- test/test-snippet.rb
|
|
402
|
+
- test/test-schema-create-table.rb
|
|
410
403
|
- test/test-patricia-trie.rb
|
|
404
|
+
- test/test-table-select-normalize.rb
|
|
405
|
+
- test/test-expression-builder.rb
|
|
406
|
+
- test/test-table-select-mecab.rb
|
|
407
|
+
- test/test-gqtp.rb
|
|
411
408
|
- test/run-test.rb
|
|
412
|
-
- test/test-
|
|
409
|
+
- test/test-database-dumper.rb
|
|
410
|
+
- test/test-table-traverse.rb
|
|
411
|
+
- test/test-database.rb
|
|
412
|
+
- test/test-table-select-weight.rb
|
|
413
|
+
- test/test-lock-timeout.rb
|
|
414
|
+
- test/test-accessor.rb
|
|
415
|
+
- test/test-procedure.rb
|
|
413
416
|
- test/test-statistic-measurer.rb
|
|
414
|
-
- test/test-
|
|
415
|
-
- test/test-table.rb
|
|
416
|
-
- test/
|
|
417
|
+
- test/test-schema.rb
|
|
418
|
+
- test/test-table-select.rb
|
|
419
|
+
- test/test-table-dumper.rb
|
|
417
420
|
- test/test-record.rb
|
|
418
|
-
- test/test-
|
|
419
|
-
- test/test-
|
|
421
|
+
- test/test-index-column.rb
|
|
422
|
+
- test/test-hash.rb
|
|
423
|
+
- test/test-table.rb
|
|
424
|
+
- test/test-pagination.rb
|
|
420
425
|
- test/test-schema-dumper.rb
|
|
421
|
-
- test/test-
|
|
422
|
-
- test/test-
|
|
423
|
-
- test/test-
|
|
424
|
-
- test/test-table-select-mecab.rb
|
|
425
|
-
- test/test-expression-builder.rb
|
|
426
|
+
- test/test-sub-records.rb
|
|
427
|
+
- test/test-plugin.rb
|
|
428
|
+
- test/test-fix-size-column.rb
|
|
426
429
|
- test/test-convert.rb
|
|
427
|
-
- test/test-
|
|
428
|
-
- test/test-
|
|
430
|
+
- test/test-logger.rb
|
|
431
|
+
- test/test-database-inspector.rb
|
|
429
432
|
has_rdoc:
|