rroonga 6.0.0-x64-mingw32 → 6.0.2-x64-mingw32
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 +4 -4
 - data/doc/text/news.md +38 -1
 - data/ext/groonga/extconf.rb +14 -1
 - data/ext/groonga/rb-grn-array.c +1 -1
 - data/ext/groonga/rb-grn-double-array-trie.c +1 -1
 - data/ext/groonga/rb-grn-exception.c +18 -1
 - data/ext/groonga/rb-grn-expression.c +0 -8
 - data/ext/groonga/rb-grn-hash.c +15 -3
 - data/ext/groonga/rb-grn-logger.c +22 -22
 - data/ext/groonga/rb-grn-object.c +28 -6
 - data/ext/groonga/rb-grn-patricia-trie.c +1 -1
 - data/ext/groonga/rb-grn-request-canceler.c +164 -0
 - data/ext/groonga/rb-grn-request-timer-id.c +64 -0
 - data/ext/groonga/rb-grn-request-timer.c +155 -0
 - data/ext/groonga/rb-grn-type.c +43 -1
 - data/ext/groonga/rb-grn.h +17 -5
 - data/ext/groonga/rb-groonga.c +3 -0
 - data/lib/2.1/groonga.so +0 -0
 - data/lib/2.2/groonga.so +0 -0
 - data/lib/2.3/groonga.so +0 -0
 - data/lib/groonga/expression-builder.rb +4 -13
 - data/rroonga-build.rb +3 -3
 - data/rroonga.gemspec +1 -2
 - data/test/run-test.rb +2 -2
 - data/test/test-expression-builder.rb +13 -1
 - data/test/test-hash.rb +22 -3
 - data/test/test-request-canceler.rb +46 -0
 - data/test/test-request-timer.rb +40 -0
 - data/test/test-table.rb +43 -7
 - data/test/test-type.rb +104 -2
 - data/vendor/local/bin/grndb.exe +0 -0
 - data/vendor/local/bin/groonga-benchmark.exe +0 -0
 - data/vendor/local/bin/groonga.exe +0 -0
 - data/vendor/local/bin/libgroonga-0.dll +0 -0
 - data/vendor/local/bin/libmecab-2.dll +0 -0
 - data/vendor/local/bin/libmsgpack-4.dll +0 -0
 - data/vendor/local/bin/libmsgpackc-2.dll +0 -0
 - data/vendor/local/bin/libonig-5.dll +0 -0
 - data/vendor/local/bin/lz4.exe +0 -0
 - data/vendor/local/bin/lz4c.exe +0 -0
 - data/vendor/local/bin/lz4cat +0 -0
 - data/vendor/local/bin/mecab.exe +0 -0
 - data/vendor/local/bin/zlib1.dll +0 -0
 - data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +8 -0
 - data/vendor/local/include/groonga/groonga.h +1 -0
 - data/vendor/local/include/groonga/groonga/dump.h +1 -1
 - data/vendor/local/include/groonga/groonga/expr.h +1 -2
 - data/vendor/local/include/groonga/groonga/groonga.h +18 -5
 - data/vendor/local/include/groonga/groonga/obj.h +1 -0
 - data/vendor/local/include/groonga/groonga/plugin.h +9 -0
 - data/vendor/local/include/groonga/groonga/portability.h +8 -0
 - data/vendor/local/include/groonga/groonga/request_canceler.h +1 -0
 - data/vendor/local/include/groonga/groonga/request_timer.h +53 -0
 - data/vendor/local/include/groonga/groonga/type.h +9 -0
 - data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +131 -22
 - data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.rb +36 -0
 - data/vendor/local/lib/groonga/plugins/sharding/logical_enumerator.rb +8 -0
 - data/vendor/local/lib/groonga/plugins/sharding/logical_table_remove.rb +43 -8
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
 - data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +14 -0
 - data/vendor/local/lib/groonga/scripts/ruby/context/rc.rb +4 -0
 - data/vendor/local/lib/groonga/scripts/ruby/eval_context.rb +5 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression.rb +2 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_size_estimator.rb +11 -25
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +5 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +67 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +22 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +50 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +33 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +18 -0
 - data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +92 -0
 - data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +35 -6
 - data/vendor/local/lib/libgroonga.a +0 -0
 - data/vendor/local/lib/libgroonga.dll.a +0 -0
 - data/vendor/local/lib/liblz4.a +0 -0
 - data/vendor/local/lib/liblz4.dll +0 -0
 - data/vendor/local/lib/liblz4.dll.1 +0 -0
 - data/vendor/local/lib/liblz4.dll.1.5.0 +0 -0
 - data/vendor/local/lib/libmecab.a +0 -0
 - data/vendor/local/lib/libmecab.dll.a +0 -0
 - data/vendor/local/lib/libmsgpack.a +0 -0
 - data/vendor/local/lib/libmsgpack.dll.a +0 -0
 - data/vendor/local/lib/libmsgpackc.a +0 -0
 - data/vendor/local/lib/libmsgpackc.dll.a +0 -0
 - data/vendor/local/lib/libonig.a +0 -0
 - data/vendor/local/lib/libonig.dll.a +0 -0
 - data/vendor/local/lib/libz.a +0 -0
 - data/vendor/local/lib/libz.dll.a +0 -0
 - data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
 - data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
 - data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
 - data/vendor/local/sbin/groonga-httpd.exe +0 -0
 - data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/development/release.txt +10 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/i18n.txt +19 -13
 - data/vendor/local/share/doc/groonga/en/html/_sources/contribution/documentation/introduction.txt +9 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +4 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +17 -51
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +13 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +9 -7
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +5 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +4 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +224 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/alias.txt +8 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/columns/vector.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/request_timeout.txt +78 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/command/return_code.txt +6 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/column_copy.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_delete.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_get.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/config_set.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/database_unmap.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/io_flush.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/load.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_count.txt +2 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_parameters.txt +1 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_range_filter.txt +2 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_select.txt +4 -8
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_shard_list.txt +1 -5
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/logical_table_remove.txt +383 -24
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/normalize.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_exist.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_inspect.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/object_remove.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/request_cancel.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/schema.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/select.txt +3 -3
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/shutdown.txt +84 -10
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/status.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/suggest.txt +11 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_create.txt +41 -15
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_remove.txt +73 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/table_tokenize.txt +10 -0
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/thread_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/truncate.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-httpd.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +49 -21
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/highlight_html.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/query.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/normalizers.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/sharding.txt +0 -4
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/suggest/completion.txt +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_sources/reference/types.txt +1 -1
 - data/vendor/local/share/doc/groonga/en/html/_static/basic.css +9 -0
 - data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
 - data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/characteristic.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/client.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/community.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution.html +17 -18
 - data/vendor/local/share/doc/groonga/en/html/contribution/development.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +31 -26
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +40 -37
 - data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +15 -10
 - data/vendor/local/share/doc/groonga/en/html/contribution/report.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/development.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/genindex.html +21 -9
 - data/vendor/local/share/doc/groonga/en/html/index.html +74 -77
 - data/vendor/local/share/doc/groonga/en/html/install.html +8 -12
 - data/vendor/local/share/doc/groonga/en/html/install/centos.html +14 -18
 - data/vendor/local/share/doc/groonga/en/html/install/debian.html +28 -72
 - data/vendor/local/share/doc/groonga/en/html/install/fedora.html +11 -14
 - data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +19 -13
 - data/vendor/local/share/doc/groonga/en/html/install/others.html +25 -26
 - data/vendor/local/share/doc/groonga/en/html/install/solaris.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/install/windows.html +18 -21
 - data/vendor/local/share/doc/groonga/en/html/limitations.html +10 -12
 - data/vendor/local/share/doc/groonga/en/html/news.html +510 -303
 - data/vendor/local/share/doc/groonga/en/html/news/0.x.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +24 -27
 - data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +25 -28
 - data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/news/2.x.html +36 -39
 - data/vendor/local/share/doc/groonga/en/html/news/3.x.html +27 -30
 - data/vendor/local/share/doc/groonga/en/html/news/4.x.html +81 -84
 - data/vendor/local/share/doc/groonga/en/html/news/senna.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/en/html/reference.html +68 -70
 - data/vendor/local/share/doc/groonga/en/html/reference/alias.html +20 -23
 - data/vendor/local/share/doc/groonga/en/html/reference/api.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +17 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +11 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/cast.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/column.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +19 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/command.html +66 -68
 - data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +13 -16
 - data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +208 -0
 - data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +32 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +33 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +30 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +50 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +27 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +36 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +35 -38
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +43 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +43 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +45 -48
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +34 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +32 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +38 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +57 -60
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +32 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +38 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +39 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +30 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +30 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +32 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +46 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +37 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +59 -66
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +155 -162
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +37 -44
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +465 -67
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +43 -46
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +34 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +119 -122
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +39 -42
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +28 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +27 -30
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +31 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +30 -33
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +40 -43
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +31 -34
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +32 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +93 -96
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +184 -187
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +114 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +46 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +42 -35
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +101 -79
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +126 -47
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +33 -36
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +54 -49
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +38 -41
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +50 -53
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +28 -31
 - data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +16 -19
 - data/vendor/local/share/doc/groonga/en/html/reference/executables.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +19 -22
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +421 -121
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +67 -39
 - data/vendor/local/share/doc/groonga/en/html/reference/function.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +11 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +21 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +23 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +11 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +18 -21
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +17 -20
 - data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +26 -29
 - data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/log.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/reference/operations.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/output.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +21 -24
 - data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +13 -16
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +11 -14
 - data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +19 -26
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/reference/tables.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +34 -37
 - data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/reference/types.html +15 -18
 - data/vendor/local/share/doc/groonga/en/html/search.html +6 -6
 - data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/en/html/server.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/server/http.html +10 -13
 - data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +34 -37
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/server/memcached.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/server/package.html +13 -16
 - data/vendor/local/share/doc/groonga/en/html/spec.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +9 -12
 - data/vendor/local/share/doc/groonga/en/html/spec/search.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
 - data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/tutorial.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +18 -21
 - data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +29 -32
 - data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +12 -15
 - data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +6 -9
 - data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +7 -10
 - data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/development/release.txt +10 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/i18n.txt +19 -13
 - data/vendor/local/share/doc/groonga/ja/html/_sources/contribution/documentation/introduction.txt +9 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +4 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +17 -51
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +13 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +9 -7
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +5 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +4 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +224 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/alias.txt +8 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/columns/vector.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command.txt +1 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/request_timeout.txt +78 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/command/return_code.txt +6 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/column_copy.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_delete.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_get.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/config_set.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/database_unmap.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/io_flush.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/load.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_count.txt +2 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_parameters.txt +1 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_range_filter.txt +2 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_select.txt +4 -8
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_shard_list.txt +1 -5
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/logical_table_remove.txt +383 -24
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/normalize.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_exist.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_inspect.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/object_remove.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/request_cancel.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/schema.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/select.txt +3 -3
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/shutdown.txt +84 -10
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/status.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/suggest.txt +11 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_create.txt +41 -15
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_remove.txt +73 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/table_tokenize.txt +10 -0
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/thread_limit.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/truncate.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-httpd.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga-suggest-httpd.txt +349 -91
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +49 -21
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/highlight_html.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/prefix_rk_search.txt +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/query.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr/script_syntax.txt +9 -9
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/normalizers.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_at_most.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/scorers/scorer_tf_idf.txt +4 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/sharding.txt +0 -4
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/suggest/completion.txt +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_sources/reference/types.txt +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +9 -0
 - data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
 - data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/characteristic.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/client.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/community.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -21
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +31 -26
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +41 -37
 - data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +27 -32
 - data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/development.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/genindex.html +21 -9
 - data/vendor/local/share/doc/groonga/ja/html/index.html +76 -79
 - data/vendor/local/share/doc/groonga/ja/html/install.html +8 -12
 - data/vendor/local/share/doc/groonga/ja/html/install/centos.html +14 -18
 - data/vendor/local/share/doc/groonga/ja/html/install/debian.html +25 -67
 - data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +19 -13
 - data/vendor/local/share/doc/groonga/ja/html/install/others.html +21 -24
 - data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/install/windows.html +18 -21
 - data/vendor/local/share/doc/groonga/ja/html/limitations.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/news.html +479 -282
 - data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +24 -27
 - data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +25 -28
 - data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +35 -38
 - data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +27 -30
 - data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +71 -74
 - data/vendor/local/share/doc/groonga/ja/html/news/senna.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference.html +69 -71
 - data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +17 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/api.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +20 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +18 -21
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +21 -24
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +15 -18
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +24 -27
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +14 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/column.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +17 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/command.html +66 -68
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +13 -16
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +193 -0
 - data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +32 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +33 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +48 -51
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +27 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +36 -39
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +35 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +42 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +42 -45
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +44 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +32 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +32 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +38 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +55 -58
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +31 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +38 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +38 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +30 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +30 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +32 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +46 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +36 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +59 -66
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +137 -144
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +36 -43
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +419 -63
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +43 -46
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +33 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +117 -120
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +38 -41
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +28 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +27 -30
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +31 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +30 -33
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +39 -42
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +31 -34
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +32 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +91 -94
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +172 -175
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +104 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +44 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +42 -35
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +95 -79
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +116 -47
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +33 -36
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +54 -49
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +35 -38
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +50 -53
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +28 -31
 - data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +14 -17
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +17 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +397 -127
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +97 -60
 - data/vendor/local/share/doc/groonga/ja/html/reference/function.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +19 -22
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +22 -25
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +17 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +17 -20
 - data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/log.html +24 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/output.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +16 -19
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +13 -16
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +11 -14
 - data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +16 -23
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +26 -29
 - data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/reference/types.html +14 -17
 - data/vendor/local/share/doc/groonga/ja/html/search.html +6 -6
 - data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
 - data/vendor/local/share/doc/groonga/ja/html/server.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/server/http.html +10 -13
 - data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +28 -31
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/server/package.html +13 -16
 - data/vendor/local/share/doc/groonga/ja/html/spec.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +9 -12
 - data/vendor/local/share/doc/groonga/ja/html/spec/search.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +8 -11
 - data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/tutorial.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +18 -21
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +29 -32
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +12 -15
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +6 -9
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +7 -10
 - data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +10 -13
 - metadata +72 -76
 - data/vendor/local/lib/groonga/plugins/ruby/eval.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/eval.la +0 -41
 - data/vendor/local/lib/groonga/plugins/ruby/load.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.dll.a +0 -0
 - data/vendor/local/lib/groonga/plugins/ruby/load.la +0 -41
 - data/vendor/local/share/man/ja/man1/groonga.1 +0 -52774
 - data/vendor/local/share/man/man1/groonga.1 +0 -55612
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 8481cfd25295fb47cb6f4b963f2a9dcfe6e38b63
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 781043b0f0e7d313cfb77c65a0bce2d76d202fc0
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 22a114ef30cdb07b244c7092794e47430f9c49c91c7a9a0f882d49941ff53c1d06a60ee54a0c250ab87b4ea194c2b12f45d18d5217ebd670d2e8bd39b1edfa63
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b27ad9d22771e42295b8b60022e993eabc04a9e2745ff83ec69f33e81725438ce4b52d0c564a21dcb029b5e072f56be7db010228e14726f2e2ecc7529437934a
         
     | 
    
        data/doc/text/news.md
    CHANGED
    
    | 
         @@ -1,5 +1,42 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # NEWS
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ## 6.0.2 2016-05-18 {#version-6-0-2}
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            ### Improvements
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
              * Supported Groonga 6.0.2. Groonga 6.0.1 or older aren't supported.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              * {Groonga::Table#select}: Supported nested array as conditions.
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
              * Supported HTTP proxy with authentication on install.
         
     | 
| 
      
 12 
     | 
    
         
            +
                [GitHub#129] [Patch by ngram]
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
              * {Groonga::Cancel}: Added a new error class.
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
              * {Groonga::Table#select}: Supported passing Hash as function argument.
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
              * {Groonga::Hash.create}: Added `:key_large` option to create hash
         
     | 
| 
      
 19 
     | 
    
         
            +
                table that supports 1TiB total key size.
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
              * {Groonga::Type#text_family?}: Added a new predicate that returns
         
     | 
| 
      
 22 
     | 
    
         
            +
                `true` for `ShortText`, `Text` and `LongText` types.
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
              * {Groonga::Type#number_family?}: Added a new predicate that returns
         
     | 
| 
      
 25 
     | 
    
         
            +
                `true` for `UInt8`, `Int8`, ..., `UInt64`, `Int64` and `Float`
         
     | 
| 
      
 26 
     | 
    
         
            +
                types.
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
      
 28 
     | 
    
         
            +
              * {Groonga::Type#builtin?}: Added a new predicate that returns
         
     | 
| 
      
 29 
     | 
    
         
            +
                `true` for builtin types such as `Int32`.
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
              * {Groonga::Object#remove}: Added `:dependent` option to remove all
         
     | 
| 
      
 32 
     | 
    
         
            +
                tables and columns that depend on the object.
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
              * {Groonga::RequestCanceler}: Added an interface that cancels one or
         
     | 
| 
      
 35 
     | 
    
         
            +
                more requests.
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
              * {Groonga::RequestTimer}: Added an interface that provides request
         
     | 
| 
      
 38 
     | 
    
         
            +
                timeout feature.
         
     | 
| 
      
 39 
     | 
    
         
            +
             
     | 
| 
       3 
40 
     | 
    
         
             
            ## 6.0.0: 2016-03-06 {#version-6-0-0}
         
     | 
| 
       4 
41 
     | 
    
         | 
| 
       5 
42 
     | 
    
         
             
            ### Improvements
         
     | 
| 
         @@ -22,7 +59,7 @@ 
     | 
|
| 
       22 
59 
     | 
    
         
             
                as number object. The number object was always treated as ID not
         
     | 
| 
       23 
60 
     | 
    
         
             
                key.
         
     | 
| 
       24 
61 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
                It's backward  
     | 
| 
      
 62 
     | 
    
         
            +
                It's backward incompatible change but we introduced the
         
     | 
| 
       26 
63 
     | 
    
         
             
                change. Because we marked this behavior as a bug.
         
     | 
| 
       27 
64 
     | 
    
         | 
| 
       28 
65 
     | 
    
         
             
              * Supported `require "rroonga"` for `Bundler.require`.
         
     | 
    
        data/ext/groonga/extconf.rb
    CHANGED
    
    | 
         @@ -21,6 +21,7 @@ require "mkmf" 
     | 
|
| 
       21 
21 
     | 
    
         
             
            require "fileutils"
         
     | 
| 
       22 
22 
     | 
    
         
             
            require "shellwords"
         
     | 
| 
       23 
23 
     | 
    
         
             
            require "open-uri"
         
     | 
| 
      
 24 
     | 
    
         
            +
            require "uri"
         
     | 
| 
       24 
25 
     | 
    
         | 
| 
       25 
26 
     | 
    
         
             
            require "pkg-config"
         
     | 
| 
       26 
27 
     | 
    
         | 
| 
         @@ -83,7 +84,19 @@ def download(url) 
     | 
|
| 
       83 
84 
     | 
    
         
             
              if File.exist?(base_name)
         
     | 
| 
       84 
85 
     | 
    
         
             
                message(" skip (use downloaded file)\n")
         
     | 
| 
       85 
86 
     | 
    
         
             
              else
         
     | 
| 
       86 
     | 
    
         
            -
                 
     | 
| 
      
 87 
     | 
    
         
            +
                options = {}
         
     | 
| 
      
 88 
     | 
    
         
            +
                proxy_env = ENV["http_proxy"]
         
     | 
| 
      
 89 
     | 
    
         
            +
                if proxy_env
         
     | 
| 
      
 90 
     | 
    
         
            +
                  proxy_url = URI.parse(proxy_env)
         
     | 
| 
      
 91 
     | 
    
         
            +
                  if proxy_url.user
         
     | 
| 
      
 92 
     | 
    
         
            +
                    options[:proxy_http_basic_authentication] = [
         
     | 
| 
      
 93 
     | 
    
         
            +
                      proxy_url,
         
     | 
| 
      
 94 
     | 
    
         
            +
                      proxy_url.user,
         
     | 
| 
      
 95 
     | 
    
         
            +
                      proxy_url.password,
         
     | 
| 
      
 96 
     | 
    
         
            +
                    ]
         
     | 
| 
      
 97 
     | 
    
         
            +
                  end
         
     | 
| 
      
 98 
     | 
    
         
            +
                end
         
     | 
| 
      
 99 
     | 
    
         
            +
                open(url, "rb", options) do |input|
         
     | 
| 
       87 
100 
     | 
    
         
             
                  File.open(base_name, "wb") do |output|
         
     | 
| 
       88 
101 
     | 
    
         
             
                    while (buffer = input.read(1024))
         
     | 
| 
       89 
102 
     | 
    
         
             
                      output.print(buffer)
         
     | 
    
        data/ext/groonga/rb-grn-array.c
    CHANGED
    
    | 
         @@ -90,7 +90,7 @@ rb_grn_array_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       90 
90 
     | 
    
         
             
                grn_obj *value_type = NULL, *table;
         
     | 
| 
       91 
91 
     | 
    
         
             
                const char *name = NULL, *path = NULL;
         
     | 
| 
       92 
92 
     | 
    
         
             
                unsigned name_size = 0;
         
     | 
| 
       93 
     | 
    
         
            -
                 
     | 
| 
      
 93 
     | 
    
         
            +
                grn_table_flags flags = GRN_OBJ_TABLE_NO_KEY;
         
     | 
| 
       94 
94 
     | 
    
         
             
                VALUE rb_table;
         
     | 
| 
       95 
95 
     | 
    
         
             
                VALUE options, rb_context, rb_name, rb_path, rb_persistent;
         
     | 
| 
       96 
96 
     | 
    
         
             
                VALUE rb_value_type, rb_sub_records;
         
     | 
| 
         @@ -245,7 +245,7 @@ rb_grn_double_array_trie_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       245 
245 
     | 
    
         
             
                grn_obj *key_type = NULL, *value_type = NULL, *table;
         
     | 
| 
       246 
246 
     | 
    
         
             
                const char *name = NULL, *path = NULL;
         
     | 
| 
       247 
247 
     | 
    
         
             
                unsigned name_size = 0;
         
     | 
| 
       248 
     | 
    
         
            -
                 
     | 
| 
      
 248 
     | 
    
         
            +
                grn_table_flags flags = GRN_OBJ_TABLE_DAT_KEY;
         
     | 
| 
       249 
249 
     | 
    
         
             
                VALUE rb_table;
         
     | 
| 
       250 
250 
     | 
    
         
             
                VALUE options, rb_context, rb_name, rb_path, rb_persistent;
         
     | 
| 
       251 
251 
     | 
    
         
             
                VALUE rb_key_normalize, rb_key_with_sis, rb_key_type;
         
     | 
| 
         @@ -100,6 +100,7 @@ static VALUE eGrnTokenFilterError; 
     | 
|
| 
       100 
100 
     | 
    
         
             
            static VALUE eGrnCommandError;
         
     | 
| 
       101 
101 
     | 
    
         
             
            static VALUE eGrnPluginError;
         
     | 
| 
       102 
102 
     | 
    
         
             
            static VALUE eGrnScorerError;
         
     | 
| 
      
 103 
     | 
    
         
            +
            static VALUE eGrnCancel;
         
     | 
| 
       103 
104 
     | 
    
         | 
| 
       104 
105 
     | 
    
         
             
            VALUE
         
     | 
| 
       105 
106 
     | 
    
         
             
            rb_grn_rc_to_exception (grn_rc rc)
         
     | 
| 
         @@ -341,6 +342,9 @@ rb_grn_rc_to_exception (grn_rc rc) 
     | 
|
| 
       341 
342 
     | 
    
         
             
                  case GRN_SCORER_ERROR:
         
     | 
| 
       342 
343 
     | 
    
         
             
                    exception = eGrnScorerError;
         
     | 
| 
       343 
344 
     | 
    
         
             
                    break;
         
     | 
| 
      
 345 
     | 
    
         
            +
                  case GRN_CANCEL:
         
     | 
| 
      
 346 
     | 
    
         
            +
                    exception = eGrnCancel;
         
     | 
| 
      
 347 
     | 
    
         
            +
                    break;
         
     | 
| 
       344 
348 
     | 
    
         
             
                }
         
     | 
| 
       345 
349 
     | 
    
         | 
| 
       346 
350 
     | 
    
         
             
                if (NIL_P(exception))
         
     | 
| 
         @@ -589,6 +593,9 @@ rb_grn_rc_to_message (grn_rc rc) 
     | 
|
| 
       589 
593 
     | 
    
         
             
                  case GRN_SCORER_ERROR:
         
     | 
| 
       590 
594 
     | 
    
         
             
                    message = "scorer error";
         
     | 
| 
       591 
595 
     | 
    
         
             
                    break;
         
     | 
| 
      
 596 
     | 
    
         
            +
                  case GRN_CANCEL:
         
     | 
| 
      
 597 
     | 
    
         
            +
                    message = "cancel";
         
     | 
| 
      
 598 
     | 
    
         
            +
                    break;
         
     | 
| 
       592 
599 
     | 
    
         
             
                }
         
     | 
| 
       593 
600 
     | 
    
         | 
| 
       594 
601 
     | 
    
         
             
                if (!message)
         
     | 
| 
         @@ -1276,6 +1283,16 @@ rb_grn_init_exception (VALUE mGrn) 
     | 
|
| 
       1276 
1283 
     | 
    
         
             
                 *
         
     | 
| 
       1277 
1284 
     | 
    
         
             
                 * @since 5.0.1
         
     | 
| 
       1278 
1285 
     | 
    
         
             
                 */
         
     | 
| 
       1279 
     | 
    
         
            -
                 
     | 
| 
      
 1286 
     | 
    
         
            +
                eGrnScorerError =
         
     | 
| 
       1280 
1287 
     | 
    
         
             
                    rb_define_class_under(mGrn, "ScorerError", rb_eGrnError);
         
     | 
| 
      
 1288 
     | 
    
         
            +
             
     | 
| 
      
 1289 
     | 
    
         
            +
                /*
         
     | 
| 
      
 1290 
     | 
    
         
            +
                 * Document-class: Groonga::Cancel
         
     | 
| 
      
 1291 
     | 
    
         
            +
                 *
         
     | 
| 
      
 1292 
     | 
    
         
            +
                 * It is used when a processing is canceled.
         
     | 
| 
      
 1293 
     | 
    
         
            +
                 *
         
     | 
| 
      
 1294 
     | 
    
         
            +
                 * @since 6.0.2
         
     | 
| 
      
 1295 
     | 
    
         
            +
                 */
         
     | 
| 
      
 1296 
     | 
    
         
            +
                eGrnCancel =
         
     | 
| 
      
 1297 
     | 
    
         
            +
                    rb_define_class_under(mGrn, "Cancel", rb_eGrnError);
         
     | 
| 
       1281 
1298 
     | 
    
         
             
            }
         
     | 
| 
         @@ -203,8 +203,6 @@ rb_grn_expression_define_variable (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       203 
203 
     | 
    
         
             
                return rb_variable;
         
     | 
| 
       204 
204 
     | 
    
         
             
            }
         
     | 
| 
       205 
205 
     | 
    
         | 
| 
       206 
     | 
    
         
            -
            /* TODO: Enable when Groonga 6.0.1 is released. */
         
     | 
| 
       207 
     | 
    
         
            -
            /*
         
     | 
| 
       208 
206 
     | 
    
         
             
            typedef struct
         
     | 
| 
       209 
207 
     | 
    
         
             
            {
         
     | 
| 
       210 
208 
     | 
    
         
             
                grn_ctx *context;
         
     | 
| 
         @@ -238,7 +236,6 @@ rb_grn_hash_from_ruby_hash_body (VALUE rb_key, 
     | 
|
| 
       238 
236 
     | 
    
         | 
| 
       239 
237 
     | 
    
         
             
                return ST_CONTINUE;
         
     | 
| 
       240 
238 
     | 
    
         
             
            }
         
     | 
| 
       241 
     | 
    
         
            -
            */
         
     | 
| 
       242 
239 
     | 
    
         | 
| 
       243 
240 
     | 
    
         
             
            /*
         
     | 
| 
       244 
241 
     | 
    
         
             
             * _object_ を追加し、 _n_arguments_ 個の引数を取る _operation_ を追加する。
         
     | 
| 
         @@ -269,8 +266,6 @@ rb_grn_expression_append_object (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       269 
266 
     | 
    
         
             
                                              NULL, NULL,
         
     | 
| 
       270 
267 
     | 
    
         
             
                                              NULL, NULL, NULL);
         
     | 
| 
       271 
268 
     | 
    
         | 
| 
       272 
     | 
    
         
            -
                /* TODO: Enable when Groonga 6.0.1 is released. */
         
     | 
| 
       273 
     | 
    
         
            -
                /*
         
     | 
| 
       274 
269 
     | 
    
         
             
                if (RB_TYPE_P(rb_object, RUBY_T_HASH)) {
         
     | 
| 
       275 
270 
     | 
    
         
             
                    RbGrnHashFromRubyHashData data;
         
     | 
| 
       276 
271 
     | 
    
         
             
                    data.context = context;
         
     | 
| 
         @@ -288,13 +283,10 @@ rb_grn_expression_append_object (int argc, VALUE *argv, VALUE self) 
     | 
|
| 
       288 
283 
     | 
    
         
             
                    grn_expr_append_obj(context, expression, (grn_obj *)(data.hash),
         
     | 
| 
       289 
284 
     | 
    
         
             
                                        operation, n_arguments);
         
     | 
| 
       290 
285 
     | 
    
         
             
                } else {
         
     | 
| 
       291 
     | 
    
         
            -
                */
         
     | 
| 
       292 
286 
     | 
    
         
             
                    object = RVAL2GRNOBJECT(rb_object, &context);
         
     | 
| 
       293 
287 
     | 
    
         
             
                    grn_expr_append_obj(context, expression, object,
         
     | 
| 
       294 
288 
     | 
    
         
             
                                        operation, n_arguments);
         
     | 
| 
       295 
     | 
    
         
            -
                /*
         
     | 
| 
       296 
289 
     | 
    
         
             
                }
         
     | 
| 
       297 
     | 
    
         
            -
                */
         
     | 
| 
       298 
290 
     | 
    
         
             
                rb_grn_context_check(context, self);
         
     | 
| 
       299 
291 
     | 
    
         
             
                rb_ary_push(rb_iv_get(self, "@objects"), rb_object);
         
     | 
| 
       300 
292 
     | 
    
         | 
    
        data/ext/groonga/rb-grn-hash.c
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
         
     | 
| 
       2 
2 
     | 
    
         
             
            /*
         
     | 
| 
       3 
     | 
    
         
            -
              Copyright (C) 2009- 
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright (C) 2009-2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
              This library is free software; you can redistribute it and/or
         
     | 
| 
       6 
6 
     | 
    
         
             
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
         @@ -103,6 +103,12 @@ VALUE rb_cGrnHash; 
     | 
|
| 
       103 
103 
     | 
    
         
             
             *
         
     | 
| 
       104 
104 
     | 
    
         
             
             *       @deprecated Use @:normalizer => "NormalizerAuto"@ instead.
         
     | 
| 
       105 
105 
     | 
    
         
             
             *
         
     | 
| 
      
 106 
     | 
    
         
            +
             *     @option options [Boolean] :key_large (false)
         
     | 
| 
      
 107 
     | 
    
         
            +
             *       It specifies whether total key size is large or not. The
         
     | 
| 
      
 108 
     | 
    
         
            +
             *       default total key size is 4GiB. Large total key size is 1TiB.
         
     | 
| 
      
 109 
     | 
    
         
            +
             *
         
     | 
| 
      
 110 
     | 
    
         
            +
             *       @since 6.0.1
         
     | 
| 
      
 111 
     | 
    
         
            +
             *
         
     | 
| 
       106 
112 
     | 
    
         
             
             *     @option options :key_type
         
     | 
| 
       107 
113 
     | 
    
         
             
             *       キーの種類を示すオブジェクトを指定する。キーの種類には型
         
     | 
| 
       108 
114 
     | 
    
         
             
             *       名("Int32"や"ShortText"など)または {Groonga::Type} または
         
     | 
| 
         @@ -158,10 +164,12 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       158 
164 
     | 
    
         
             
                grn_obj *key_type = NULL, *value_type = NULL, *table;
         
     | 
| 
       159 
165 
     | 
    
         
             
                const char *name = NULL, *path = NULL;
         
     | 
| 
       160 
166 
     | 
    
         
             
                unsigned name_size = 0;
         
     | 
| 
       161 
     | 
    
         
            -
                 
     | 
| 
      
 167 
     | 
    
         
            +
                grn_table_flags flags = GRN_OBJ_TABLE_HASH_KEY;
         
     | 
| 
       162 
168 
     | 
    
         
             
                VALUE rb_table;
         
     | 
| 
       163 
169 
     | 
    
         
             
                VALUE options, rb_context, rb_name, rb_path, rb_persistent;
         
     | 
| 
       164 
     | 
    
         
            -
                VALUE rb_key_normalize 
     | 
| 
      
 170 
     | 
    
         
            +
                VALUE rb_key_normalize;
         
     | 
| 
      
 171 
     | 
    
         
            +
                VALUE rb_key_large;
         
     | 
| 
      
 172 
     | 
    
         
            +
                VALUE rb_key_type, rb_value_type, rb_default_tokenizer;
         
     | 
| 
       165 
173 
     | 
    
         
             
                VALUE rb_token_filters;
         
     | 
| 
       166 
174 
     | 
    
         
             
                VALUE rb_sub_records;
         
     | 
| 
       167 
175 
     | 
    
         
             
                VALUE rb_normalizer;
         
     | 
| 
         @@ -174,6 +182,7 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       174 
182 
     | 
    
         
             
                                    "path", &rb_path,
         
     | 
| 
       175 
183 
     | 
    
         
             
                                    "persistent", &rb_persistent,
         
     | 
| 
       176 
184 
     | 
    
         
             
                                    "key_normalize", &rb_key_normalize,
         
     | 
| 
      
 185 
     | 
    
         
            +
                                    "key_large", &rb_key_large,
         
     | 
| 
       177 
186 
     | 
    
         
             
                                    "key_type", &rb_key_type,
         
     | 
| 
       178 
187 
     | 
    
         
             
                                    "value_type", &rb_value_type,
         
     | 
| 
       179 
188 
     | 
    
         
             
                                    "default_tokenizer", &rb_default_tokenizer,
         
     | 
| 
         @@ -201,6 +210,9 @@ rb_grn_hash_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       201 
210 
     | 
    
         
             
                if (RVAL2CBOOL(rb_key_normalize))
         
     | 
| 
       202 
211 
     | 
    
         
             
                    flags |= GRN_OBJ_KEY_NORMALIZE;
         
     | 
| 
       203 
212 
     | 
    
         | 
| 
      
 213 
     | 
    
         
            +
                if (RVAL2CBOOL(rb_key_large))
         
     | 
| 
      
 214 
     | 
    
         
            +
                    flags |= GRN_OBJ_KEY_LARGE;
         
     | 
| 
      
 215 
     | 
    
         
            +
             
     | 
| 
       204 
216 
     | 
    
         
             
                if (NIL_P(rb_key_type)) {
         
     | 
| 
       205 
217 
     | 
    
         
             
                    key_type = grn_ctx_at(context, GRN_DB_SHORT_TEXT);
         
     | 
| 
       206 
218 
     | 
    
         
             
                } else {
         
     | 
    
        data/ext/groonga/rb-grn-logger.c
    CHANGED
    
    | 
         @@ -28,9 +28,9 @@ 
     | 
|
| 
       28 
28 
     | 
    
         
             
            #define GRNLOGLEVEL2RVAL(level)    (rb_grn_log_level_to_ruby_object(level))
         
     | 
| 
       29 
29 
     | 
    
         
             
            #define RVAL2GRNLOGLEVEL(rb_level) (rb_grn_log_level_from_ruby_object(rb_level))
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
            VALUE  
     | 
| 
       32 
     | 
    
         
            -
            VALUE  
     | 
| 
       33 
     | 
    
         
            -
            VALUE  
     | 
| 
      
 31 
     | 
    
         
            +
            VALUE rb_cGrnLogger;
         
     | 
| 
      
 32 
     | 
    
         
            +
            VALUE rb_mGrnLoggerFlags;
         
     | 
| 
      
 33 
     | 
    
         
            +
            VALUE rb_cGrnCallbackLogger;
         
     | 
| 
       34 
34 
     | 
    
         | 
| 
       35 
35 
     | 
    
         
             
            static ID id_caller_locations;
         
     | 
| 
       36 
36 
     | 
    
         
             
            static ID id_path;
         
     | 
| 
         @@ -333,7 +333,7 @@ rb_grn_logger_s_register (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       333 
333 
     | 
    
         
             
                    if (!NIL_P(rb_logger)) {
         
     | 
| 
       334 
334 
     | 
    
         
             
                        rb_options = rb_logger;
         
     | 
| 
       335 
335 
     | 
    
         
             
                    }
         
     | 
| 
       336 
     | 
    
         
            -
                    rb_logger = rb_funcall( 
     | 
| 
      
 336 
     | 
    
         
            +
                    rb_logger = rb_funcall(rb_cGrnCallbackLogger, id_new, 1, rb_callback);
         
     | 
| 
       337 
337 
     | 
    
         
             
                }
         
     | 
| 
       338 
338 
     | 
    
         | 
| 
       339 
339 
     | 
    
         
             
                rb_grn_scan_options(rb_options,
         
     | 
| 
         @@ -361,7 +361,7 @@ rb_grn_logger_s_register (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       361 
361 
     | 
    
         
             
                    flags |= GRN_LOG_LOCATION;
         
     | 
| 
       362 
362 
     | 
    
         
             
                }
         
     | 
| 
       363 
363 
     | 
    
         
             
                if (!NIL_P(rb_flags)) {
         
     | 
| 
       364 
     | 
    
         
            -
                    flags = rb_funcall( 
     | 
| 
      
 364 
     | 
    
         
            +
                    flags = rb_funcall(rb_mGrnLoggerFlags, id_parse, 2,
         
     | 
| 
       365 
365 
     | 
    
         
             
                                       INT2NUM(flags), rb_flags);
         
     | 
| 
       366 
366 
     | 
    
         
             
                }
         
     | 
| 
       367 
367 
     | 
    
         | 
| 
         @@ -617,34 +617,34 @@ rb_grn_init_logger (VALUE mGrn) 
     | 
|
| 
       617 
617 
     | 
    
         | 
| 
       618 
618 
     | 
    
         
             
                rb_grn_logger.user_data = (void *)Qnil;
         
     | 
| 
       619 
619 
     | 
    
         | 
| 
       620 
     | 
    
         
            -
                 
     | 
| 
      
 620 
     | 
    
         
            +
                rb_cGrnLogger = rb_define_class_under(mGrn, "Logger", rb_cObject);
         
     | 
| 
       621 
621 
     | 
    
         | 
| 
       622 
     | 
    
         
            -
                rb_cv_set( 
     | 
| 
       623 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 622 
     | 
    
         
            +
                rb_cv_set(rb_cGrnLogger, "@@current_logger", Qnil);
         
     | 
| 
      
 623 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "log",
         
     | 
| 
       624 
624 
     | 
    
         
             
                                           rb_grn_logger_s_log, -1);
         
     | 
| 
       625 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 625 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "register",
         
     | 
| 
       626 
626 
     | 
    
         
             
                                           rb_grn_logger_s_register, -1);
         
     | 
| 
       627 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 627 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "unregister",
         
     | 
| 
       628 
628 
     | 
    
         
             
                                           rb_grn_logger_s_unregister, 0);
         
     | 
| 
       629 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 629 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "reopen",
         
     | 
| 
       630 
630 
     | 
    
         
             
                                           rb_grn_logger_s_reopen, 0);
         
     | 
| 
       631 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 631 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "max_level",
         
     | 
| 
       632 
632 
     | 
    
         
             
                                           rb_grn_logger_s_get_max_level, 0);
         
     | 
| 
       633 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 633 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "max_level=",
         
     | 
| 
       634 
634 
     | 
    
         
             
                                           rb_grn_logger_s_set_max_level, 1);
         
     | 
| 
       635 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 635 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "path",
         
     | 
| 
       636 
636 
     | 
    
         
             
                                           rb_grn_logger_s_get_path, 0);
         
     | 
| 
       637 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 637 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "path=",
         
     | 
| 
       638 
638 
     | 
    
         
             
                                           rb_grn_logger_s_set_path, 1);
         
     | 
| 
       639 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 639 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "rotate_threshold_size",
         
     | 
| 
       640 
640 
     | 
    
         
             
                                           rb_grn_logger_s_get_rotate_threshold_size, 0);
         
     | 
| 
       641 
     | 
    
         
            -
                rb_define_singleton_method( 
     | 
| 
      
 641 
     | 
    
         
            +
                rb_define_singleton_method(rb_cGrnLogger, "rotate_threshold_size=",
         
     | 
| 
       642 
642 
     | 
    
         
             
                                           rb_grn_logger_s_set_rotate_threshold_size, 1);
         
     | 
| 
       643 
     | 
    
         
            -
                rb_set_end_proc(rb_grn_logger_reset,  
     | 
| 
      
 643 
     | 
    
         
            +
                rb_set_end_proc(rb_grn_logger_reset, rb_cGrnLogger);
         
     | 
| 
       644 
644 
     | 
    
         | 
| 
       645 
     | 
    
         
            -
                 
     | 
| 
      
 645 
     | 
    
         
            +
                rb_mGrnLoggerFlags = rb_define_module_under(rb_cGrnLogger, "Flags");
         
     | 
| 
       646 
646 
     | 
    
         
             
            #define DEFINE_FLAG(NAME)                                       \
         
     | 
| 
       647 
     | 
    
         
            -
                rb_define_const( 
     | 
| 
      
 647 
     | 
    
         
            +
                rb_define_const(rb_mGrnLoggerFlags,                         \
         
     | 
| 
       648 
648 
     | 
    
         
             
                                #NAME, INT2NUM(GRN_LOG_ ## NAME))
         
     | 
| 
       649 
649 
     | 
    
         
             
                DEFINE_FLAG(TIME);
         
     | 
| 
       650 
650 
     | 
    
         
             
                DEFINE_FLAG(TITLE);
         
     | 
| 
         @@ -652,6 +652,6 @@ rb_grn_init_logger (VALUE mGrn) 
     | 
|
| 
       652 
652 
     | 
    
         
             
                DEFINE_FLAG(LOCATION);
         
     | 
| 
       653 
653 
     | 
    
         
             
            #undef DEFINE_FLAG
         
     | 
| 
       654 
654 
     | 
    
         | 
| 
       655 
     | 
    
         
            -
                 
     | 
| 
       656 
     | 
    
         
            -
                    rb_define_class_under(mGrn, "CallbackLogger",  
     | 
| 
      
 655 
     | 
    
         
            +
                rb_cGrnCallbackLogger =
         
     | 
| 
      
 656 
     | 
    
         
            +
                    rb_define_class_under(mGrn, "CallbackLogger", rb_cGrnLogger);
         
     | 
| 
       657 
657 
     | 
    
         
             
            }
         
     | 
    
        data/ext/groonga/rb-grn-object.c
    CHANGED
    
    | 
         @@ -1461,23 +1461,45 @@ rb_grn_object_prepend_value (VALUE self, VALUE rb_id, VALUE rb_value) 
     | 
|
| 
       1461 
1461 
     | 
    
         
             
            }
         
     | 
| 
       1462 
1462 
     | 
    
         | 
| 
       1463 
1463 
     | 
    
         
             
            /*
         
     | 
| 
       1464 
     | 
    
         
            -
             *  
     | 
| 
       1465 
     | 
    
         
            -
             *  
     | 
| 
      
 1464 
     | 
    
         
            +
             * Free the `object`. If the `object` is persistent object, all files
         
     | 
| 
      
 1465 
     | 
    
         
            +
             * related with the object are removed.
         
     | 
| 
       1466 
1466 
     | 
    
         
             
             *
         
     | 
| 
       1467 
     | 
    
         
            -
             * @overload remove
         
     | 
| 
      
 1467 
     | 
    
         
            +
             * @overload remove(options={})
         
     | 
| 
      
 1468 
     | 
    
         
            +
             *
         
     | 
| 
      
 1469 
     | 
    
         
            +
             *   @param [::Hash] options The optional parameters.
         
     | 
| 
      
 1470 
     | 
    
         
            +
             *
         
     | 
| 
      
 1471 
     | 
    
         
            +
             *   @option options [Boolean] :dependent (false)
         
     | 
| 
      
 1472 
     | 
    
         
            +
             *     If it's `true`, all tables and columns that depend on the
         
     | 
| 
      
 1473 
     | 
    
         
            +
             *     `object`.
         
     | 
| 
       1468 
1474 
     | 
    
         
             
             */
         
     | 
| 
       1469 
1475 
     | 
    
         
             
            static VALUE
         
     | 
| 
       1470 
     | 
    
         
            -
            rb_grn_object_remove (VALUE self)
         
     | 
| 
      
 1476 
     | 
    
         
            +
            rb_grn_object_remove (int argc, VALUE *argv, VALUE self)
         
     | 
| 
       1471 
1477 
     | 
    
         
             
            {
         
     | 
| 
       1472 
1478 
     | 
    
         
             
                RbGrnObject *rb_grn_object;
         
     | 
| 
       1473 
1479 
     | 
    
         
             
                grn_ctx *context;
         
     | 
| 
      
 1480 
     | 
    
         
            +
                VALUE rb_options;
         
     | 
| 
      
 1481 
     | 
    
         
            +
                VALUE rb_dependent_p;
         
     | 
| 
      
 1482 
     | 
    
         
            +
                grn_bool dependent_p = GRN_FALSE;
         
     | 
| 
       1474 
1483 
     | 
    
         | 
| 
       1475 
1484 
     | 
    
         
             
                rb_grn_object = SELF(self);
         
     | 
| 
       1476 
1485 
     | 
    
         
             
                if (!rb_grn_object->object)
         
     | 
| 
       1477 
1486 
     | 
    
         
             
                    return Qnil;
         
     | 
| 
       1478 
1487 
     | 
    
         | 
| 
      
 1488 
     | 
    
         
            +
                rb_scan_args(argc, argv, "01", &rb_options);
         
     | 
| 
      
 1489 
     | 
    
         
            +
                rb_grn_scan_options(rb_options,
         
     | 
| 
      
 1490 
     | 
    
         
            +
                                    "dependent", &rb_dependent_p,
         
     | 
| 
      
 1491 
     | 
    
         
            +
                                    NULL);
         
     | 
| 
      
 1492 
     | 
    
         
            +
             
     | 
| 
      
 1493 
     | 
    
         
            +
                if (!NIL_P(rb_dependent_p)) {
         
     | 
| 
      
 1494 
     | 
    
         
            +
                    dependent_p = RVAL2CBOOL(rb_dependent_p);
         
     | 
| 
      
 1495 
     | 
    
         
            +
                }
         
     | 
| 
      
 1496 
     | 
    
         
            +
             
     | 
| 
       1479 
1497 
     | 
    
         
             
                context = rb_grn_object->context;
         
     | 
| 
       1480 
     | 
    
         
            -
                 
     | 
| 
      
 1498 
     | 
    
         
            +
                if (dependent_p) {
         
     | 
| 
      
 1499 
     | 
    
         
            +
                    grn_obj_remove_dependent(context, rb_grn_object->object);
         
     | 
| 
      
 1500 
     | 
    
         
            +
                } else {
         
     | 
| 
      
 1501 
     | 
    
         
            +
                    grn_obj_remove(context, rb_grn_object->object);
         
     | 
| 
      
 1502 
     | 
    
         
            +
                }
         
     | 
| 
       1481 
1503 
     | 
    
         
             
                rb_grn_context_check(context, self);
         
     | 
| 
       1482 
1504 
     | 
    
         | 
| 
       1483 
1505 
     | 
    
         
             
                rb_iv_set(self, "@context", Qnil);
         
     | 
| 
         @@ -1750,7 +1772,7 @@ rb_grn_init_object (VALUE mGrn) 
     | 
|
| 
       1750 
1772 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "append", rb_grn_object_append_value, 2);
         
     | 
| 
       1751 
1773 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "prepend", rb_grn_object_prepend_value, 2);
         
     | 
| 
       1752 
1774 
     | 
    
         | 
| 
       1753 
     | 
    
         
            -
                rb_define_method(rb_cGrnObject, "remove", rb_grn_object_remove,  
     | 
| 
      
 1775 
     | 
    
         
            +
                rb_define_method(rb_cGrnObject, "remove", rb_grn_object_remove, -1);
         
     | 
| 
       1754 
1776 
     | 
    
         | 
| 
       1755 
1777 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "builtin?", rb_grn_object_builtin_p, 0);
         
     | 
| 
       1756 
1778 
     | 
    
         
             
                rb_define_method(rb_cGrnObject, "table?", rb_grn_object_table_p, 0);
         
     | 
| 
         @@ -166,7 +166,7 @@ rb_grn_patricia_trie_s_create (int argc, VALUE *argv, VALUE klass) 
     | 
|
| 
       166 
166 
     | 
    
         
             
                grn_obj *key_type = NULL, *value_type = NULL, *table;
         
     | 
| 
       167 
167 
     | 
    
         
             
                const char *name = NULL, *path = NULL;
         
     | 
| 
       168 
168 
     | 
    
         
             
                unsigned name_size = 0;
         
     | 
| 
       169 
     | 
    
         
            -
                 
     | 
| 
      
 169 
     | 
    
         
            +
                grn_table_flags flags = GRN_OBJ_TABLE_PAT_KEY;
         
     | 
| 
       170 
170 
     | 
    
         
             
                VALUE rb_table;
         
     | 
| 
       171 
171 
     | 
    
         
             
                VALUE options, rb_context, rb_name, rb_path, rb_persistent;
         
     | 
| 
       172 
172 
     | 
    
         
             
                VALUE rb_key_normalize, rb_key_with_sis, rb_key_type;
         
     | 
| 
         @@ -0,0 +1,164 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /* -*- coding: utf-8; mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
         
     | 
| 
      
 2 
     | 
    
         
            +
            /*
         
     | 
| 
      
 3 
     | 
    
         
            +
              Copyright (C) 2016  Kouhei Sutou <kou@clear-code.com>
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
              This library is free software; you can redistribute it and/or
         
     | 
| 
      
 6 
     | 
    
         
            +
              modify it under the terms of the GNU Lesser General Public
         
     | 
| 
      
 7 
     | 
    
         
            +
              License version 2.1 as published by the Free Software Foundation.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
              This library is distributed in the hope that it will be useful,
         
     | 
| 
      
 10 
     | 
    
         
            +
              but WITHOUT ANY WARRANTY; without even the implied warranty of
         
     | 
| 
      
 11 
     | 
    
         
            +
              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
         
     | 
| 
      
 12 
     | 
    
         
            +
              Lesser General Public License for more details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
              You should have received a copy of the GNU Lesser General Public
         
     | 
| 
      
 15 
     | 
    
         
            +
              License along with this library; if not, write to the Free Software
         
     | 
| 
      
 16 
     | 
    
         
            +
              Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
         
     | 
| 
      
 17 
     | 
    
         
            +
            */
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            #include "rb-grn.h"
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            /*
         
     | 
| 
      
 22 
     | 
    
         
            +
             * Document-module: Groonga::RequestCanceler
         
     | 
| 
      
 23 
     | 
    
         
            +
             *
         
     | 
| 
      
 24 
     | 
    
         
            +
             * This module provides API for canceling requests.
         
     | 
| 
      
 25 
     | 
    
         
            +
             */
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            VALUE rb_mGrnRequestCanceler;
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
            /*
         
     | 
| 
      
 30 
     | 
    
         
            +
             * Registers a request. The request can be canceled by
         
     | 
| 
      
 31 
     | 
    
         
            +
             * {Groonga::RequestCanceler.cancel}.
         
     | 
| 
      
 32 
     | 
    
         
            +
             *
         
     | 
| 
      
 33 
     | 
    
         
            +
             * @example Register a request
         
     | 
| 
      
 34 
     | 
    
         
            +
             *   request_id = "request-29"
         
     | 
| 
      
 35 
     | 
    
         
            +
             *   Groonga::RequestCanceler.register(request_id)
         
     | 
| 
      
 36 
     | 
    
         
            +
             *
         
     | 
| 
      
 37 
     | 
    
         
            +
             * @overload register(request_id)
         
     | 
| 
      
 38 
     | 
    
         
            +
             *   @param request_id [String] The ID of request to be registered.
         
     | 
| 
      
 39 
     | 
    
         
            +
             *   @return [void]
         
     | 
| 
      
 40 
     | 
    
         
            +
             *
         
     | 
| 
      
 41 
     | 
    
         
            +
             * @since 6.0.2
         
     | 
| 
      
 42 
     | 
    
         
            +
             */
         
     | 
| 
      
 43 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 44 
     | 
    
         
            +
            rb_grn_request_canceler_s_register (int argc, VALUE *argv, VALUE module)
         
     | 
| 
      
 45 
     | 
    
         
            +
            {
         
     | 
| 
      
 46 
     | 
    
         
            +
                VALUE rb_request_id;
         
     | 
| 
      
 47 
     | 
    
         
            +
                VALUE rb_options;
         
     | 
| 
      
 48 
     | 
    
         
            +
                VALUE rb_context;
         
     | 
| 
      
 49 
     | 
    
         
            +
                const char *request_id;
         
     | 
| 
      
 50 
     | 
    
         
            +
                unsigned int request_id_size;
         
     | 
| 
      
 51 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
                rb_scan_args(argc, argv, "11", &rb_request_id, &rb_options);
         
     | 
| 
      
 54 
     | 
    
         
            +
                rb_grn_scan_options(rb_options,
         
     | 
| 
      
 55 
     | 
    
         
            +
                                    "context", &rb_context,
         
     | 
| 
      
 56 
     | 
    
         
            +
                                    NULL);
         
     | 
| 
      
 57 
     | 
    
         
            +
                context = rb_grn_context_ensure(&rb_context);
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
                request_id = StringValuePtr(rb_request_id);
         
     | 
| 
      
 60 
     | 
    
         
            +
                request_id_size = RSTRING_LEN(rb_request_id);
         
     | 
| 
      
 61 
     | 
    
         
            +
                grn_request_canceler_register(context, request_id, request_id_size);
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                return Qnil;
         
     | 
| 
      
 64 
     | 
    
         
            +
            }
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
            /*
         
     | 
| 
      
 67 
     | 
    
         
            +
             * Unregisters the specified request.
         
     | 
| 
      
 68 
     | 
    
         
            +
             *
         
     | 
| 
      
 69 
     | 
    
         
            +
             * @example Unregister a request by ID
         
     | 
| 
      
 70 
     | 
    
         
            +
             *   request_id = "request-29"
         
     | 
| 
      
 71 
     | 
    
         
            +
             *   Groonga::RequestCanceler.unregister(request_id)
         
     | 
| 
      
 72 
     | 
    
         
            +
             *
         
     | 
| 
      
 73 
     | 
    
         
            +
             * @overload unregister(request_id)
         
     | 
| 
      
 74 
     | 
    
         
            +
             *   @param request_id [String] The ID of request to be unregistered.
         
     | 
| 
      
 75 
     | 
    
         
            +
             *   @return [void]
         
     | 
| 
      
 76 
     | 
    
         
            +
             *
         
     | 
| 
      
 77 
     | 
    
         
            +
             * @since 6.0.2
         
     | 
| 
      
 78 
     | 
    
         
            +
             */
         
     | 
| 
      
 79 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 80 
     | 
    
         
            +
            rb_grn_request_canceler_s_unregister (int argc, VALUE *argv, VALUE module)
         
     | 
| 
      
 81 
     | 
    
         
            +
            {
         
     | 
| 
      
 82 
     | 
    
         
            +
                VALUE rb_request_id;
         
     | 
| 
      
 83 
     | 
    
         
            +
                VALUE rb_options;
         
     | 
| 
      
 84 
     | 
    
         
            +
                VALUE rb_context;
         
     | 
| 
      
 85 
     | 
    
         
            +
                const char *request_id;
         
     | 
| 
      
 86 
     | 
    
         
            +
                unsigned int request_id_size;
         
     | 
| 
      
 87 
     | 
    
         
            +
                grn_ctx *context;
         
     | 
| 
      
 88 
     | 
    
         
            +
             
     | 
| 
      
 89 
     | 
    
         
            +
                rb_scan_args(argc, argv, "11", &rb_request_id, &rb_options);
         
     | 
| 
      
 90 
     | 
    
         
            +
                rb_grn_scan_options(rb_options,
         
     | 
| 
      
 91 
     | 
    
         
            +
                                    "context", &rb_context,
         
     | 
| 
      
 92 
     | 
    
         
            +
                                    NULL);
         
     | 
| 
      
 93 
     | 
    
         
            +
                context = rb_grn_context_ensure(&rb_context);
         
     | 
| 
      
 94 
     | 
    
         
            +
             
     | 
| 
      
 95 
     | 
    
         
            +
                request_id = StringValuePtr(rb_request_id);
         
     | 
| 
      
 96 
     | 
    
         
            +
                request_id_size = RSTRING_LEN(rb_request_id);
         
     | 
| 
      
 97 
     | 
    
         
            +
                grn_request_canceler_unregister(context, request_id, request_id_size);
         
     | 
| 
      
 98 
     | 
    
         
            +
             
     | 
| 
      
 99 
     | 
    
         
            +
                return Qnil;
         
     | 
| 
      
 100 
     | 
    
         
            +
            }
         
     | 
| 
      
 101 
     | 
    
         
            +
             
     | 
| 
      
 102 
     | 
    
         
            +
            /*
         
     | 
| 
      
 103 
     | 
    
         
            +
             * Cancels the specified request.
         
     | 
| 
      
 104 
     | 
    
         
            +
             *
         
     | 
| 
      
 105 
     | 
    
         
            +
             * @example Cancels a request by ID
         
     | 
| 
      
 106 
     | 
    
         
            +
             *   request_id = "request-29"
         
     | 
| 
      
 107 
     | 
    
         
            +
             *   Groonga::RequestCanceler.cancel(request_id)
         
     | 
| 
      
 108 
     | 
    
         
            +
             *
         
     | 
| 
      
 109 
     | 
    
         
            +
             * @overload cancel(request_id)
         
     | 
| 
      
 110 
     | 
    
         
            +
             *   @param request_id [String] The ID of request to be canceled.
         
     | 
| 
      
 111 
     | 
    
         
            +
             *   @return [Boolean] `true` if the request is canceled, `false` otherwise.
         
     | 
| 
      
 112 
     | 
    
         
            +
             *
         
     | 
| 
      
 113 
     | 
    
         
            +
             * @since 6.0.2
         
     | 
| 
      
 114 
     | 
    
         
            +
             */
         
     | 
| 
      
 115 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 116 
     | 
    
         
            +
            rb_grn_request_canceler_s_cancel (VALUE module, VALUE rb_request_id)
         
     | 
| 
      
 117 
     | 
    
         
            +
            {
         
     | 
| 
      
 118 
     | 
    
         
            +
                const char *request_id;
         
     | 
| 
      
 119 
     | 
    
         
            +
                unsigned int request_id_size;
         
     | 
| 
      
 120 
     | 
    
         
            +
                grn_bool canceled;
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
| 
      
 122 
     | 
    
         
            +
                request_id = StringValuePtr(rb_request_id);
         
     | 
| 
      
 123 
     | 
    
         
            +
                request_id_size = RSTRING_LEN(rb_request_id);
         
     | 
| 
      
 124 
     | 
    
         
            +
                canceled = grn_request_canceler_cancel(request_id, request_id_size);
         
     | 
| 
      
 125 
     | 
    
         
            +
             
     | 
| 
      
 126 
     | 
    
         
            +
                return CBOOL2RVAL(canceled);
         
     | 
| 
      
 127 
     | 
    
         
            +
            }
         
     | 
| 
      
 128 
     | 
    
         
            +
             
     | 
| 
      
 129 
     | 
    
         
            +
            /*
         
     | 
| 
      
 130 
     | 
    
         
            +
             * Cancels all running requests.
         
     | 
| 
      
 131 
     | 
    
         
            +
             *
         
     | 
| 
      
 132 
     | 
    
         
            +
             * @example Cancels all requests
         
     | 
| 
      
 133 
     | 
    
         
            +
             *   Groonga::RequestCanceler.cancel_all
         
     | 
| 
      
 134 
     | 
    
         
            +
             *
         
     | 
| 
      
 135 
     | 
    
         
            +
             * @overload cancel_all
         
     | 
| 
      
 136 
     | 
    
         
            +
             *   @return [Boolean] `true` if one or more requests are canceled,
         
     | 
| 
      
 137 
     | 
    
         
            +
             *     `false` otherwise.
         
     | 
| 
      
 138 
     | 
    
         
            +
             *
         
     | 
| 
      
 139 
     | 
    
         
            +
             * @since 6.0.2
         
     | 
| 
      
 140 
     | 
    
         
            +
             */
         
     | 
| 
      
 141 
     | 
    
         
            +
            static VALUE
         
     | 
| 
      
 142 
     | 
    
         
            +
            rb_grn_request_canceler_s_cancel_all (VALUE module)
         
     | 
| 
      
 143 
     | 
    
         
            +
            {
         
     | 
| 
      
 144 
     | 
    
         
            +
                grn_bool canceled;
         
     | 
| 
      
 145 
     | 
    
         
            +
             
     | 
| 
      
 146 
     | 
    
         
            +
                canceled = grn_request_canceler_cancel_all();
         
     | 
| 
      
 147 
     | 
    
         
            +
             
     | 
| 
      
 148 
     | 
    
         
            +
                return CBOOL2RVAL(canceled);
         
     | 
| 
      
 149 
     | 
    
         
            +
            }
         
     | 
| 
      
 150 
     | 
    
         
            +
             
     | 
| 
      
 151 
     | 
    
         
            +
            void
         
     | 
| 
      
 152 
     | 
    
         
            +
            rb_grn_init_request_canceler (VALUE mGrn)
         
     | 
| 
      
 153 
     | 
    
         
            +
            {
         
     | 
| 
      
 154 
     | 
    
         
            +
                rb_mGrnRequestCanceler = rb_define_module_under(mGrn, "RequestCanceler");
         
     | 
| 
      
 155 
     | 
    
         
            +
             
     | 
| 
      
 156 
     | 
    
         
            +
                rb_define_singleton_method(rb_mGrnRequestCanceler, "register",
         
     | 
| 
      
 157 
     | 
    
         
            +
                                           rb_grn_request_canceler_s_register, -1);
         
     | 
| 
      
 158 
     | 
    
         
            +
                rb_define_singleton_method(rb_mGrnRequestCanceler, "unregister",
         
     | 
| 
      
 159 
     | 
    
         
            +
                                           rb_grn_request_canceler_s_unregister, -1);
         
     | 
| 
      
 160 
     | 
    
         
            +
                rb_define_singleton_method(rb_mGrnRequestCanceler, "cancel",
         
     | 
| 
      
 161 
     | 
    
         
            +
                                           rb_grn_request_canceler_s_cancel, 1);
         
     | 
| 
      
 162 
     | 
    
         
            +
                rb_define_singleton_method(rb_mGrnRequestCanceler, "cancel_all",
         
     | 
| 
      
 163 
     | 
    
         
            +
                                           rb_grn_request_canceler_s_cancel_all, 0);
         
     | 
| 
      
 164 
     | 
    
         
            +
            }
         
     |