rroonga 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +1 -39
  3. data/bin/grndump +8 -1
  4. data/doc/text/news.textile +21 -1
  5. data/ext/groonga/extconf.rb +1 -6
  6. data/ext/groonga/rb-grn-table.c +20 -0
  7. data/ext/groonga/rb-grn.h +1 -1
  8. data/ext/groonga/rb-groonga.c +42 -0
  9. data/lib/1.9/groonga.so +0 -0
  10. data/lib/2.0/groonga.so +0 -0
  11. data/lib/2.1/groonga.so +0 -0
  12. data/lib/groonga/dumper.rb +7 -3
  13. data/lib/groonga/record.rb +19 -1
  14. data/rroonga-build.rb +5 -5
  15. data/test/test-array.rb +14 -1
  16. data/test/test-database-dumper.rb +68 -83
  17. data/test/test-database.rb +1 -1
  18. data/test/test-double-array-trie.rb +16 -1
  19. data/test/test-hash.rb +16 -1
  20. data/test/test-lock-timeout.rb +29 -0
  21. data/test/test-patricia-trie.rb +16 -1
  22. data/test/test-record.rb +194 -160
  23. data/test/test-variable-size-column.rb +1 -1
  24. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  25. data/vendor/local/bin/groonga.exe +0 -0
  26. data/vendor/local/bin/libgroonga-0.dll +0 -0
  27. data/vendor/local/bin/libmecab-1.dll +0 -0
  28. data/vendor/local/bin/libmsgpack-3.dll +0 -0
  29. data/vendor/local/bin/libmsgpackc-2.dll +0 -0
  30. data/vendor/local/bin/mecab-config +2 -2
  31. data/vendor/local/bin/mecab.exe +0 -0
  32. data/vendor/local/etc/groonga/httpd/groonga-httpd.conf +2 -2
  33. data/vendor/local/include/groonga/groonga.h +15 -1
  34. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  35. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  36. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  37. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +3 -3
  38. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  39. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  40. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  41. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +3 -3
  42. data/vendor/local/lib/groonga/plugins/table/table.a +0 -0
  43. data/vendor/local/lib/groonga/plugins/table/table.dll +0 -0
  44. data/vendor/local/lib/groonga/plugins/table/table.dll.a +0 -0
  45. data/vendor/local/lib/groonga/plugins/table/table.la +3 -3
  46. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  47. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  48. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  49. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +3 -3
  50. data/vendor/local/lib/libgroonga.a +0 -0
  51. data/vendor/local/lib/libgroonga.dll.a +0 -0
  52. data/vendor/local/lib/libgroonga.la +3 -3
  53. data/vendor/local/lib/libmecab.a +0 -0
  54. data/vendor/local/lib/libmecab.dll.a +0 -0
  55. data/vendor/local/lib/libmecab.la +1 -1
  56. data/vendor/local/lib/libmsgpack.a +0 -0
  57. data/vendor/local/lib/libmsgpack.dll.a +0 -0
  58. data/vendor/local/lib/libmsgpack.la +1 -1
  59. data/vendor/local/lib/libmsgpackc.a +0 -0
  60. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  61. data/vendor/local/lib/libmsgpackc.la +1 -1
  62. data/vendor/local/lib/pkgconfig/groonga.pc +3 -3
  63. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  64. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  65. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  66. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  67. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  68. data/vendor/local/sbin/groonga-httpd-restart +1 -1
  69. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  70. data/vendor/local/share/doc/groonga/en/html/_sources/characteristic.txt +1 -0
  71. data/vendor/local/share/doc/groonga/en/html/_sources/community.txt +1 -0
  72. data/vendor/local/share/doc/groonga/en/html/_sources/development.txt +2 -2
  73. data/vendor/local/share/doc/groonga/en/html/_sources/development/travis-ci.txt +6 -6
  74. data/vendor/local/share/doc/groonga/en/html/_sources/install/centos.txt +7 -7
  75. data/vendor/local/share/doc/groonga/en/html/_sources/install/debian.txt +6 -6
  76. data/vendor/local/share/doc/groonga/en/html/_sources/install/fedora.txt +6 -6
  77. data/vendor/local/share/doc/groonga/en/html/_sources/install/mac_os_x.txt +3 -3
  78. data/vendor/local/share/doc/groonga/en/html/_sources/install/others.txt +3 -3
  79. data/vendor/local/share/doc/groonga/en/html/_sources/install/solaris.txt +4 -4
  80. data/vendor/local/share/doc/groonga/en/html/_sources/install/ubuntu.txt +10 -10
  81. data/vendor/local/share/doc/groonga/en/html/_sources/install/windows.txt +10 -9
  82. data/vendor/local/share/doc/groonga/en/html/_sources/limitations.txt +1 -0
  83. data/vendor/local/share/doc/groonga/en/html/_sources/news.txt +32 -1
  84. data/vendor/local/share/doc/groonga/en/html/_sources/reference.txt +1 -0
  85. data/vendor/local/share/doc/groonga/en/html/_sources/reference/api/global_configurations.txt +49 -0
  86. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands/cache_limit.txt +1 -0
  87. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/grnslap.txt +1 -1
  88. data/vendor/local/share/doc/groonga/en/html/_sources/reference/executables/groonga.txt +2 -2
  89. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/edit_distance.txt +1 -1
  90. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_distance.txt +5 -6
  91. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  92. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  93. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/html_untag.txt +1 -1
  94. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/now.txt +1 -1
  95. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/rand.txt +1 -1
  96. data/vendor/local/share/doc/groonga/en/html/_sources/reference/functions/snippet_html.txt +5 -3
  97. data/vendor/local/share/doc/groonga/en/html/_sources/reference/grn_expr.txt +1 -1
  98. data/vendor/local/share/doc/groonga/en/html/_sources/reference/pseudo_column.txt +1 -1
  99. data/vendor/local/share/doc/groonga/en/html/_sources/reference/query_expanders/tsv.txt +1 -1
  100. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tables.txt +4 -4
  101. data/vendor/local/share/doc/groonga/en/html/_sources/reference/tuning.txt +2 -2
  102. data/vendor/local/share/doc/groonga/en/html/_sources/server.txt +1 -0
  103. data/vendor/local/share/doc/groonga/en/html/_sources/spec.txt +1 -0
  104. data/vendor/local/share/doc/groonga/en/html/_sources/suggest/introduction.txt +2 -2
  105. data/vendor/local/share/doc/groonga/en/html/_sources/troubleshooting.txt +1 -0
  106. data/vendor/local/share/doc/groonga/en/html/_sources/tutorial/drilldown.txt +1 -0
  107. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +19 -0
  108. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +3 -0
  109. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +2 -2
  110. data/vendor/local/share/doc/groonga/en/html/characteristic.html +20 -18
  111. data/vendor/local/share/doc/groonga/en/html/community.html +20 -18
  112. data/vendor/local/share/doc/groonga/en/html/contribution.html +20 -18
  113. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +20 -18
  114. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +20 -18
  115. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +20 -18
  116. data/vendor/local/share/doc/groonga/en/html/contribution/development/document.html +20 -18
  117. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +20 -18
  118. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +20 -18
  119. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +20 -18
  120. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +20 -18
  121. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +20 -18
  122. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +20 -18
  123. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +20 -18
  124. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +20 -18
  125. data/vendor/local/share/doc/groonga/en/html/development.html +22 -20
  126. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +26 -24
  127. data/vendor/local/share/doc/groonga/en/html/genindex.html +269 -183
  128. data/vendor/local/share/doc/groonga/en/html/geolocation_search.html +20 -18
  129. data/vendor/local/share/doc/groonga/en/html/index.html +41 -38
  130. data/vendor/local/share/doc/groonga/en/html/install.html +20 -18
  131. data/vendor/local/share/doc/groonga/en/html/install/centos.html +27 -25
  132. data/vendor/local/share/doc/groonga/en/html/install/debian.html +26 -24
  133. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +26 -24
  134. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +23 -21
  135. data/vendor/local/share/doc/groonga/en/html/install/others.html +23 -21
  136. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +24 -22
  137. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +30 -28
  138. data/vendor/local/share/doc/groonga/en/html/install/windows.html +29 -27
  139. data/vendor/local/share/doc/groonga/en/html/limitations.html +20 -18
  140. data/vendor/local/share/doc/groonga/en/html/news.html +239 -201
  141. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +20 -18
  142. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +20 -18
  143. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +20 -18
  144. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +20 -18
  145. data/vendor/local/share/doc/groonga/en/html/news/senna.html +20 -18
  146. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  147. data/vendor/local/share/doc/groonga/en/html/reference.html +41 -38
  148. data/vendor/local/share/doc/groonga/en/html/reference/api.html +46 -43
  149. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +205 -0
  150. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +55 -53
  151. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +78 -76
  152. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +48 -46
  153. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +75 -73
  154. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +54 -52
  155. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +46 -44
  156. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +62 -60
  157. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +46 -44
  158. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +46 -44
  159. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +48 -46
  160. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +42 -40
  161. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +46 -44
  162. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +44 -42
  163. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +117 -115
  164. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +48 -46
  165. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +40 -38
  166. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +80 -78
  167. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +56 -54
  168. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +40 -38
  169. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +36 -34
  170. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +20 -18
  171. data/vendor/local/share/doc/groonga/en/html/reference/command.html +20 -18
  172. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +20 -18
  173. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +20 -18
  174. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +20 -18
  175. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +20 -18
  176. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +21 -19
  177. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +20 -18
  178. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +20 -18
  179. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +21 -19
  180. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +20 -18
  181. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +20 -18
  182. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +21 -19
  183. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +20 -18
  184. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +20 -18
  185. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +21 -19
  186. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +20 -18
  187. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +21 -19
  188. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +20 -18
  189. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +20 -18
  190. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +20 -18
  191. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +21 -19
  192. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +20 -18
  193. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +20 -18
  194. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +21 -19
  195. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +21 -19
  196. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +21 -19
  197. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +20 -18
  198. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +20 -18
  199. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +20 -18
  200. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +21 -19
  201. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +20 -18
  202. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +20 -18
  203. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +21 -19
  204. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +20 -18
  205. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +23 -21
  206. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +26 -24
  207. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +20 -18
  208. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +20 -18
  209. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  210. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +26 -24
  211. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +20 -18
  212. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +33 -31
  213. data/vendor/local/share/doc/groonga/en/html/reference/function.html +20 -18
  214. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +20 -18
  215. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +21 -19
  216. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +23 -21
  217. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +21 -19
  218. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +21 -19
  219. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +21 -19
  220. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +21 -19
  221. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +20 -18
  222. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +21 -19
  223. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +24 -21
  224. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +20 -18
  225. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +21 -19
  226. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +20 -18
  227. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +20 -18
  228. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +20 -18
  229. data/vendor/local/share/doc/groonga/en/html/reference/log.html +20 -18
  230. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +20 -18
  231. data/vendor/local/share/doc/groonga/en/html/reference/output.html +20 -18
  232. data/vendor/local/share/doc/groonga/en/html/reference/pseudo_column.html +21 -19
  233. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -18
  234. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +21 -19
  235. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +24 -22
  236. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +20 -18
  237. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +22 -20
  238. data/vendor/local/share/doc/groonga/en/html/reference/types.html +21 -19
  239. data/vendor/local/share/doc/groonga/en/html/search.html +12 -12
  240. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  241. data/vendor/local/share/doc/groonga/en/html/server.html +20 -18
  242. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +20 -18
  243. data/vendor/local/share/doc/groonga/en/html/server/http.html +20 -18
  244. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +20 -18
  245. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +20 -18
  246. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +20 -18
  247. data/vendor/local/share/doc/groonga/en/html/server/package.html +20 -18
  248. data/vendor/local/share/doc/groonga/en/html/spec.html +24 -22
  249. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +20 -18
  250. data/vendor/local/share/doc/groonga/en/html/spec/search.html +20 -18
  251. data/vendor/local/share/doc/groonga/en/html/suggest.html +20 -18
  252. data/vendor/local/share/doc/groonga/en/html/suggest/completion.html +20 -18
  253. data/vendor/local/share/doc/groonga/en/html/suggest/correction.html +20 -18
  254. data/vendor/local/share/doc/groonga/en/html/suggest/introduction.html +22 -20
  255. data/vendor/local/share/doc/groonga/en/html/suggest/suggestion.html +20 -18
  256. data/vendor/local/share/doc/groonga/en/html/suggest/tutorial.html +20 -18
  257. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +20 -18
  258. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  259. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  260. data/vendor/local/share/doc/groonga/en/html/tutorial.html +20 -18
  261. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +20 -18
  262. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +20 -18
  263. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +20 -18
  264. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +20 -18
  265. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +20 -18
  266. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +20 -18
  267. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +20 -18
  268. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +20 -18
  269. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +20 -18
  270. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +20 -18
  271. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +20 -18
  272. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  273. data/vendor/local/share/doc/groonga/ja/html/_sources/characteristic.txt +1 -0
  274. data/vendor/local/share/doc/groonga/ja/html/_sources/community.txt +1 -0
  275. data/vendor/local/share/doc/groonga/ja/html/_sources/development.txt +2 -2
  276. data/vendor/local/share/doc/groonga/ja/html/_sources/development/travis-ci.txt +6 -6
  277. data/vendor/local/share/doc/groonga/ja/html/_sources/install/centos.txt +7 -7
  278. data/vendor/local/share/doc/groonga/ja/html/_sources/install/debian.txt +6 -6
  279. data/vendor/local/share/doc/groonga/ja/html/_sources/install/fedora.txt +6 -6
  280. data/vendor/local/share/doc/groonga/ja/html/_sources/install/mac_os_x.txt +3 -3
  281. data/vendor/local/share/doc/groonga/ja/html/_sources/install/others.txt +3 -3
  282. data/vendor/local/share/doc/groonga/ja/html/_sources/install/solaris.txt +4 -4
  283. data/vendor/local/share/doc/groonga/ja/html/_sources/install/ubuntu.txt +10 -10
  284. data/vendor/local/share/doc/groonga/ja/html/_sources/install/windows.txt +10 -9
  285. data/vendor/local/share/doc/groonga/ja/html/_sources/limitations.txt +1 -0
  286. data/vendor/local/share/doc/groonga/ja/html/_sources/news.txt +32 -1
  287. data/vendor/local/share/doc/groonga/ja/html/_sources/reference.txt +1 -0
  288. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/api/global_configurations.txt +49 -0
  289. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands/cache_limit.txt +1 -0
  290. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/grnslap.txt +1 -1
  291. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/executables/groonga.txt +2 -2
  292. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/edit_distance.txt +1 -1
  293. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_distance.txt +5 -6
  294. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_circle.txt +1 -1
  295. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/geo_in_rectangle.txt +1 -1
  296. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/html_untag.txt +1 -1
  297. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/now.txt +1 -1
  298. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/rand.txt +1 -1
  299. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/functions/snippet_html.txt +5 -3
  300. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/grn_expr.txt +1 -1
  301. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/pseudo_column.txt +1 -1
  302. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/query_expanders/tsv.txt +1 -1
  303. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tables.txt +4 -4
  304. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/tuning.txt +2 -2
  305. data/vendor/local/share/doc/groonga/ja/html/_sources/server.txt +1 -0
  306. data/vendor/local/share/doc/groonga/ja/html/_sources/spec.txt +1 -0
  307. data/vendor/local/share/doc/groonga/ja/html/_sources/suggest/introduction.txt +2 -2
  308. data/vendor/local/share/doc/groonga/ja/html/_sources/troubleshooting.txt +1 -0
  309. data/vendor/local/share/doc/groonga/ja/html/_sources/tutorial/drilldown.txt +1 -0
  310. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +19 -0
  311. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +3 -0
  312. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +2 -2
  313. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +20 -18
  314. data/vendor/local/share/doc/groonga/ja/html/community.html +20 -18
  315. data/vendor/local/share/doc/groonga/ja/html/contribution.html +20 -18
  316. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +20 -18
  317. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +20 -18
  318. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +20 -18
  319. data/vendor/local/share/doc/groonga/ja/html/contribution/development/document.html +20 -18
  320. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +20 -18
  321. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +20 -18
  322. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +20 -18
  323. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +20 -18
  324. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +20 -18
  325. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +20 -18
  326. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +20 -18
  327. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +20 -18
  328. data/vendor/local/share/doc/groonga/ja/html/development.html +20 -18
  329. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +20 -18
  330. data/vendor/local/share/doc/groonga/ja/html/genindex.html +274 -183
  331. data/vendor/local/share/doc/groonga/ja/html/geolocation_search.html +20 -18
  332. data/vendor/local/share/doc/groonga/ja/html/index.html +41 -38
  333. data/vendor/local/share/doc/groonga/ja/html/install.html +20 -18
  334. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +23 -21
  335. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +23 -21
  336. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +23 -21
  337. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +23 -21
  338. data/vendor/local/share/doc/groonga/ja/html/install/others.html +23 -21
  339. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +23 -21
  340. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +23 -21
  341. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -27
  342. data/vendor/local/share/doc/groonga/ja/html/limitations.html +20 -18
  343. data/vendor/local/share/doc/groonga/ja/html/news.html +264 -224
  344. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +20 -18
  345. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +20 -18
  346. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +20 -18
  347. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +27 -25
  348. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +20 -18
  349. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  350. data/vendor/local/share/doc/groonga/ja/html/reference.html +41 -38
  351. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +46 -43
  352. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +206 -0
  353. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +55 -53
  354. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +78 -76
  355. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +48 -46
  356. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +74 -72
  357. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +54 -52
  358. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +46 -44
  359. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +62 -60
  360. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +46 -44
  361. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +46 -44
  362. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +48 -46
  363. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +42 -40
  364. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +46 -44
  365. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +44 -42
  366. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +117 -115
  367. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +48 -46
  368. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +40 -38
  369. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +80 -78
  370. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +56 -54
  371. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +40 -38
  372. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -34
  373. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +20 -18
  374. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +20 -18
  375. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +20 -18
  376. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +20 -18
  377. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +20 -18
  378. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +20 -18
  379. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +21 -19
  380. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +20 -18
  381. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +20 -18
  382. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +21 -19
  383. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +20 -18
  384. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +20 -18
  385. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +21 -19
  386. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +20 -18
  387. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +20 -18
  388. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +21 -19
  389. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +20 -18
  390. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +21 -19
  391. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +20 -18
  392. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +20 -18
  393. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +20 -18
  394. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -19
  395. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +20 -18
  396. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +20 -18
  397. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +21 -19
  398. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +21 -19
  399. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +21 -19
  400. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +20 -18
  401. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +20 -18
  402. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +20 -18
  403. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +21 -19
  404. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +20 -18
  405. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +20 -18
  406. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +21 -19
  407. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +20 -18
  408. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -21
  409. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +26 -24
  410. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +20 -18
  411. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +20 -18
  412. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +20 -18
  413. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +26 -24
  414. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +20 -18
  415. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +33 -31
  416. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +20 -18
  417. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +20 -18
  418. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +21 -19
  419. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +23 -21
  420. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +21 -19
  421. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +21 -19
  422. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +21 -19
  423. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +21 -19
  424. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +20 -18
  425. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +21 -19
  426. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +24 -20
  427. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +20 -18
  428. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +22 -20
  429. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +20 -18
  430. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +21 -19
  431. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +22 -20
  432. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +20 -18
  433. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +20 -18
  434. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +22 -20
  435. data/vendor/local/share/doc/groonga/ja/html/reference/pseudo_column.html +21 -19
  436. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -18
  437. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +21 -19
  438. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +23 -21
  439. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +20 -18
  440. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +22 -20
  441. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +21 -19
  442. data/vendor/local/share/doc/groonga/ja/html/search.html +12 -12
  443. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  444. data/vendor/local/share/doc/groonga/ja/html/server.html +20 -18
  445. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +20 -18
  446. data/vendor/local/share/doc/groonga/ja/html/server/http.html +20 -18
  447. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +20 -18
  448. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +20 -18
  449. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +20 -18
  450. data/vendor/local/share/doc/groonga/ja/html/server/package.html +20 -18
  451. data/vendor/local/share/doc/groonga/ja/html/spec.html +24 -22
  452. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +20 -18
  453. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +20 -18
  454. data/vendor/local/share/doc/groonga/ja/html/suggest.html +21 -19
  455. data/vendor/local/share/doc/groonga/ja/html/suggest/completion.html +22 -20
  456. data/vendor/local/share/doc/groonga/ja/html/suggest/correction.html +22 -20
  457. data/vendor/local/share/doc/groonga/ja/html/suggest/introduction.html +21 -19
  458. data/vendor/local/share/doc/groonga/ja/html/suggest/suggestion.html +22 -20
  459. data/vendor/local/share/doc/groonga/ja/html/suggest/tutorial.html +20 -18
  460. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +20 -18
  461. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +20 -18
  462. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +20 -18
  463. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +20 -18
  464. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +20 -18
  465. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +20 -18
  466. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +20 -18
  467. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +20 -18
  468. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +20 -18
  469. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +20 -18
  470. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +20 -18
  471. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -18
  472. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +20 -18
  473. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +20 -18
  474. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +20 -18
  475. data/vendor/local/share/man/ja/man1/groonga.1 +198 -132
  476. data/vendor/local/share/man/man1/groonga.1 +619 -554
  477. metadata +8 -14
  478. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  479. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  480. data/vendor/local/share/doc/groonga/en/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  481. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/add.html +0 -199
  482. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/get.html +0 -180
  483. data/vendor/local/share/doc/groonga/en/html/reference/commands_not_implemented/set.html +0 -201
  484. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/add.txt +0 -104
  485. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/get.txt +0 -80
  486. data/vendor/local/share/doc/groonga/ja/html/_sources/reference/commands_not_implemented/set.txt +0 -105
  487. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/add.html +0 -200
  488. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/get.html +0 -181
  489. data/vendor/local/share/doc/groonga/ja/html/reference/commands_not_implemented/set.html +0 -202
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a4a5861e59e4308b2ec942f27bd9647330f4788
4
- data.tar.gz: af9a6f75bbb91d40730617af4931dbaf5bf76fbf
3
+ metadata.gz: 1a3b4a2e6ad798be521e7b33fe7b214f5a783675
4
+ data.tar.gz: ba178733fbdc374db16f015e88cef71d79f51ab1
5
5
  SHA512:
6
- metadata.gz: b5670c65060cafd6f04b3d9a13a0db65938c11083ac6b1094a71aa675d705f692d4c6c0b48ee598b7bec6f43dc5385ae3603a6541ad8097845fe6d51d6eedd8e
7
- data.tar.gz: c2c26e2e48bb8c591588aa4c0b653ca2c1c6c44ef0ba1d41dc4b3870e5a3a4a885e87254339aaf5fd3486c51bd03db8018cb5711d1e15764e17e7d8747810ffa
6
+ metadata.gz: 928b547c85106872332eac02588ce0423f5e832059bb3eb4cb2ec9d4afc62722997e8dabcc224c55af358051a287b1683752cb680421b4adea4253c40f427c38
7
+ data.tar.gz: 4831c654e3d3c92709ab23628c8ba90cbd5d60ab84b360cbc354d01c17cd5ec6b6b4a6210b4ec3d1d71cf846826eb63bea5fa29884cdc7e750cf41e6cb4f62ad
data/Rakefile CHANGED
@@ -26,13 +26,6 @@ require "bundler/gem_helper"
26
26
  require "rake/extensiontask"
27
27
  require "packnga"
28
28
 
29
- if YAML.const_defined?(:ENGINE)
30
- begin
31
- YAML::ENGINE.yamler = "psych"
32
- rescue LoadError
33
- end
34
- end
35
-
36
29
  base_dir = File.join(File.dirname(__FILE__))
37
30
 
38
31
  groonga_ext_dir = File.join(base_dir, "ext", "groonga")
@@ -105,38 +98,7 @@ relative_binary_dir = File.join("vendor", "local")
105
98
  vendor_dir = File.join(base_dir, relative_vendor_dir)
106
99
  binary_dir = File.join(base_dir, relative_binary_dir)
107
100
 
108
- groonga_win32_i386_p = ENV["GROONGA64"] != "yes"
109
-
110
- namespace :win32 do
111
- namespace :groonga do
112
- task :download do
113
- require "open-uri"
114
- require "./rroonga-build"
115
- groonga_version = RroongaBuild::LatestGroongaVersion::VERSION.join(".")
116
- base_name = "groonga-#{groonga_version}-"
117
- if groonga_win32_i386_p
118
- base_name << "x86"
119
- else
120
- base_name << "x64"
121
- end
122
- base_name << ".zip"
123
- base_url = "http://packages.groonga.org/windows/groonga/"
124
- Dir.chdir(base_dir) do
125
- unless File.exist?(base_name)
126
- open("#{base_url}#{base_name}", "rb") do |zip|
127
- File.open(base_name, "wb") do |output|
128
- output.print(zip.read)
129
- end
130
- end
131
- end
132
- sh("unzip", base_name)
133
- rm_rf(relative_binary_dir)
134
- mkdir_p(File.dirname(relative_binary_dir))
135
- mv(File.basename(base_name, ".*"), relative_binary_dir)
136
- end
137
- end
138
- end
139
- end
101
+ groonga_win32_i386_p = ENV["RROONGA_USE_GROONGA_X64"].nil?
140
102
 
141
103
  Rake::ExtensionTask.new("groonga", spec) do |ext|
142
104
  if groonga_win32_i386_p
data/bin/grndump CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # -*- coding: utf-8 -*-
3
3
  #
4
- # Copyright (C) 2011-2012 Kouhei Sutou <kou@clear-code.com>
4
+ # Copyright (C) 2011-2014 Kouhei Sutou <kou@clear-code.com>
5
5
  #
6
6
  # This library is free software; you can redistribute it and/or
7
7
  # modify it under the terms of the GNU Lesser General Public
@@ -26,6 +26,7 @@ options = OpenStruct.new
26
26
  options.tables = []
27
27
  options.exclude_tables = []
28
28
  options.dump_schema = true
29
+ options.dump_indexes = true
29
30
  options.dump_tables = true
30
31
  options.order_by = "id"
31
32
  option_parser = OptionParser.new do |parser|
@@ -37,6 +38,11 @@ option_parser = OptionParser.new do |parser|
37
38
  options.dump_schema = boolean
38
39
  end
39
40
 
41
+ parser.on("--no-dump-indexes",
42
+ "don't dump indexes.") do |boolean|
43
+ options.dump_indexes = boolean
44
+ end
45
+
40
46
  parser.on("--no-dump-tables",
41
47
  "don't dump tables.") do |boolean|
42
48
  options.dump_tables = boolean
@@ -88,6 +94,7 @@ dumper_options = {
88
94
  :output => $stdout,
89
95
  :error_output => $stderr,
90
96
  :dump_schema => options.dump_schema,
97
+ :dump_indexes => options.dump_indexes,
91
98
  :dump_tables => options.dump_tables,
92
99
  :tables => options.tables,
93
100
  :exclude_tables => options.exclude_tables,
@@ -1,5 +1,25 @@
1
1
  h1. NEWS
2
2
 
3
+ h2(#3-1-2). 3.1.2: 2014-01-29
4
+
5
+ h3. Improvements
6
+
7
+ * Supported Groonga 3.1.2. Groonga 3.1.1 or older are not supported.
8
+ * Added {Groonga::Table#support_value?}.
9
+ * Added {Groonga::Record#support_value?}.
10
+ * Added @_value@ value to {Groonga::Record#attributes} result.
11
+ [groonga-dev,02046] [Suggested by ongaeshi]
12
+ * Added column values to {Groonga::Record#inspect} result.
13
+ [groonga-dev,02048] [Suggested by ongaeshi]
14
+ * grndump: Added @--dump-indexes@ option that controls schema for
15
+ indexes output. It is useful to dump only schema for indexes.
16
+ * Added {Groonga.lock_timeout}.
17
+ * Added {Groonga.lock_timeout=}.
18
+
19
+ h3. Thanks
20
+
21
+ * ongaeshi
22
+
3
23
  h2(#3-1-1). 3.1.1: 2013-12-29
4
24
 
5
25
  h3. Improvements
@@ -9,7 +29,7 @@ h3. Improvements
9
29
  all table information.
10
30
  * [groonga-database-inspect]: Added @--no-columns@ option for hiding
11
31
  all column information.
12
- * [doc] Updated English mailing list to use groonga-users-en.
32
+ * [doc] Updated English mailing list to use Groonga-talk.
13
33
  [GitHub#14] [Patch by Masafumi Yokoyama]
14
34
  * {Groonga::Expression#append_operation} supports operator name.
15
35
  * {Groonga::Expression#append_constant} supports operator name.
@@ -22,12 +22,7 @@ require "fileutils"
22
22
  require "shellwords"
23
23
  require "open-uri"
24
24
 
25
- begin
26
- require "pkg-config"
27
- rescue LoadError
28
- require "rubygems"
29
- require "pkg-config"
30
- end
25
+ require "pkg-config"
31
26
 
32
27
  base_dir = Pathname(__FILE__).dirname.parent.parent.expand_path
33
28
  $LOAD_PATH.unshift(base_dir.to_s)
@@ -2282,6 +2282,24 @@ rb_grn_table_support_key_p (VALUE self)
2282
2282
  return Qfalse;
2283
2283
  }
2284
2284
 
2285
+ /*
2286
+ * @overload support_value?
2287
+ *
2288
+ * @return @true@ if the table is created with value type, @false@
2289
+ * otherwise.
2290
+ */
2291
+ static VALUE
2292
+ rb_grn_table_support_value_p (VALUE self)
2293
+ {
2294
+ grn_id range_id;
2295
+
2296
+ rb_grn_table_deconstruct(SELF(self), NULL, NULL,
2297
+ NULL, NULL,
2298
+ NULL, &range_id, NULL,
2299
+ NULL);
2300
+ return CBOOL2RVAL(range_id != GRN_ID_NIL);
2301
+ }
2302
+
2285
2303
  /*
2286
2304
  * グループ化したとき、テーブルにグループに含まれるレコード
2287
2305
  * 数を格納できる場合は +true+ 、格納できない場合は +false+ を返
@@ -2503,6 +2521,8 @@ rb_grn_init_table (VALUE mGrn)
2503
2521
 
2504
2522
  rb_define_method(rb_cGrnTable, "support_key?",
2505
2523
  rb_grn_table_support_key_p, 0);
2524
+ rb_define_method(rb_cGrnTable, "support_value?",
2525
+ rb_grn_table_support_value_p, 0);
2506
2526
  rb_define_method(rb_cGrnTable, "support_sub_records?",
2507
2527
  rb_grn_table_support_sub_records_p, 0);
2508
2528
  rb_define_method(rb_cGrnTable, "have_n_sub_records_space?",
data/ext/groonga/rb-grn.h CHANGED
@@ -84,7 +84,7 @@ RB_GRN_BEGIN_DECLS
84
84
 
85
85
  #define RB_GRN_MAJOR_VERSION 3
86
86
  #define RB_GRN_MINOR_VERSION 1
87
- #define RB_GRN_MICRO_VERSION 1
87
+ #define RB_GRN_MICRO_VERSION 2
88
88
 
89
89
  #define RB_GRN_QUERY_DEFAULT_MAX_EXPRESSIONS 32
90
90
 
@@ -107,6 +107,47 @@ rb_grn_init_version (VALUE mGrn)
107
107
  rb_define_const(mGrn, "BINDINGS_VERSION", bindings_version);
108
108
  }
109
109
 
110
+ /*
111
+ * Returns the current lock timeout.
112
+ *
113
+ * See
114
+ * http://groonga.org/docs/reference/api/global_configurations.html
115
+ * about lock timeout.
116
+ *
117
+ * @overload lock_timeout
118
+ * @return [Integer] The current lock timeout.
119
+ */
120
+ static VALUE
121
+ rb_grn_s_get_lock_timeout (VALUE klass)
122
+ {
123
+ return INT2NUM(grn_get_lock_timeout());
124
+ }
125
+
126
+ /*
127
+ * Sets the current lock timeout.
128
+ *
129
+ * @overload lock_timeout=(timeout)
130
+ * @param [Integer] timeout The new lock timeout.
131
+ *
132
+ * @see {#lock_timeout}
133
+ * @since 3.1.2
134
+ */
135
+ static VALUE
136
+ rb_grn_s_set_lock_timeout (VALUE klass, VALUE timeout)
137
+ {
138
+ grn_set_lock_timeout(NUM2INT(timeout));
139
+ return Qnil;
140
+ }
141
+
142
+ static void
143
+ rb_grn_init_lock_timeout (VALUE mGrn)
144
+ {
145
+ rb_define_singleton_method(mGrn, "lock_timeout",
146
+ rb_grn_s_get_lock_timeout, 0);
147
+ rb_define_singleton_method(mGrn, "lock_timeout=",
148
+ rb_grn_s_set_lock_timeout, 1);
149
+ }
150
+
110
151
  void
111
152
  Init_groonga (void)
112
153
  {
@@ -120,6 +161,7 @@ Init_groonga (void)
120
161
  rb_set_end_proc(finish_groonga, Qnil);
121
162
 
122
163
  rb_grn_init_version(mGrn);
164
+ rb_grn_init_lock_timeout(mGrn);
123
165
 
124
166
  rb_grn_init_utils(mGrn);
125
167
  rb_grn_init_encoding(mGrn);
data/lib/1.9/groonga.so CHANGED
Binary file
data/lib/2.0/groonga.so CHANGED
Binary file
data/lib/2.1/groonga.so CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2011-2012 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2011-2014 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
@@ -55,11 +55,15 @@ module Groonga
55
55
  options[:database] = options[:context].database
56
56
  end
57
57
  options[:dump_schema] = true if options[:dump_schema].nil?
58
+ options[:dump_indexes] = true if options[:dump_indexes].nil?
58
59
  options[:dump_tables] = true if options[:dump_tables].nil?
59
60
 
61
+ if options[:dump_schema] or options[:dump_indexes]
62
+ schema_dumper = SchemaDumper.new(options.merge(:syntax => :command))
63
+ end
64
+
60
65
  if options[:dump_schema]
61
66
  dump_plugins(options)
62
- schema_dumper = SchemaDumper.new(options.merge(:syntax => :command))
63
67
  schema_dumper.dump_tables
64
68
  if schema_dumper.have_reference_columns?
65
69
  options[:output].write("\n")
@@ -67,7 +71,7 @@ module Groonga
67
71
  end
68
72
  end
69
73
  dump_tables(options) if options[:dump_tables]
70
- if options[:dump_schema] and schema_dumper.have_index_columns?
74
+ if options[:dump_indexes] and schema_dumper.have_index_columns?
71
75
  options[:output].write("\n")
72
76
  schema_dumper.dump_index_columns
73
77
  end
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2009-2014 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
@@ -117,6 +117,12 @@ module Groonga
117
117
  @table.support_key?
118
118
  end
119
119
 
120
+ # @return @true@ if the table that the record belongs to is
121
+ # created with value type, @false@ otherwise.
122
+ def support_value?
123
+ @table.support_value?
124
+ end
125
+
120
126
  # 名前が _name_ のカラムがレコードの所属するテーブルで定義され
121
127
  # ているなら +true+ を返す。
122
128
  def have_column?(name)
@@ -344,6 +350,11 @@ module Groonga
344
350
  @added = added
345
351
  end
346
352
 
353
+ # @private
354
+ def inspect
355
+ super.gsub(/>\z/, ", attributes: #{attributes.inspect}>")
356
+ end
357
+
347
358
  private
348
359
  def normalize_column_name(name)
349
360
  name.to_s
@@ -429,6 +440,7 @@ module Groonga
429
440
 
430
441
  add_id(attributes, record)
431
442
  add_key(attributes, record)
443
+ add_value(attributes, record)
432
444
  add_score(attributes, record)
433
445
  add_n_sub_records(attributes, record)
434
446
  add_columns(attributes, record)
@@ -482,6 +494,12 @@ module Groonga
482
494
  end
483
495
  end
484
496
 
497
+ def add_value(attributes, record)
498
+ if record.support_value?
499
+ attributes["_value"] = build_value(record.value)
500
+ end
501
+ end
502
+
485
503
  def add_score(attributes, record)
486
504
  if record.support_score?
487
505
  attributes["_score"] = record.score
data/rroonga-build.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2009-2013 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2009-2014 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
@@ -18,16 +18,16 @@
18
18
  module RroongaBuild
19
19
  module RequiredGroongaVersion
20
20
  MAJOR = 3
21
- MINOR = 0
22
- MICRO = 8
21
+ MINOR = 1
22
+ MICRO = 2
23
23
  VERSION = [MAJOR, MINOR, MICRO]
24
- RELEASED_DATE = Time.utc(2013, 9, 29)
24
+ RELEASED_DATE = Time.utc(2014, 1, 29)
25
25
  end
26
26
 
27
27
  module LatestGroongaVersion
28
28
  MAJOR = 3
29
29
  MINOR = 1
30
- MICRO = 1
30
+ MICRO = 2
31
31
  VERSION = [MAJOR, MINOR, MICRO]
32
32
  end
33
33
 
data/test/test-array.rb CHANGED
@@ -22,6 +22,19 @@ class ArrayTest < Test::Unit::TestCase
22
22
  assert_not_predicate(Groonga::Array.create(:name => "Users"), :support_key?)
23
23
  end
24
24
 
25
+ class SupportValueTest < self
26
+ def test_have_value_type
27
+ assert_predicate(Groonga::Array.create(:name => "Users",
28
+ :value_type => "Int32"),
29
+ :support_value?)
30
+ end
31
+
32
+ def test_no_value_type
33
+ assert_not_predicate(Groonga::Array.create(:name => "Users"),
34
+ :support_value?)
35
+ end
36
+ end
37
+
25
38
  def test_inspect_size
26
39
  path = @tables_dir + "named.groonga"
27
40
  contain_table = Groonga::Array.create(:name => "name", :path => path.to_s)
@@ -108,7 +121,7 @@ class ArrayTest < Test::Unit::TestCase
108
121
  users.add(:name => "user #{i}" * 1000,
109
122
  :address => "address #{i}" * 1000)
110
123
  end
111
- assert_equal(7, users.defrag)
124
+ assert_equal(3, users.defrag)
112
125
  end
113
126
 
114
127
  def test_rename
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
1
+ # Copyright (C) 2011-2014 Kouhei Sutou <kou@clear-code.com>
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -69,17 +69,17 @@ class DatabaseDumperTest < Test::Unit::TestCase
69
69
  end
70
70
 
71
71
  def dumped_schema
72
- <<-EOS
72
+ <<-SCHEMA
73
73
  #{dumped_schema_tables}
74
74
 
75
75
  #{dumped_schema_reference_columns}
76
76
 
77
77
  #{dumped_schema_index_columns}
78
- EOS
78
+ SCHEMA
79
79
  end
80
80
 
81
81
  def dumped_schema_tables
82
- <<-EOS.chomp
82
+ <<-SCHEMA.chomp
83
83
  table_create Posts TABLE_NO_KEY
84
84
  column_create Posts created_at COLUMN_SCALAR Time
85
85
  column_create Posts n_goods COLUMN_SCALAR UInt32
@@ -93,22 +93,22 @@ column_create Tags name COLUMN_SCALAR Text
93
93
 
94
94
  table_create Users TABLE_HASH_KEY --key_type ShortText
95
95
  column_create Users name COLUMN_SCALAR Text
96
- EOS
96
+ SCHEMA
97
97
  end
98
98
 
99
99
  def dumped_schema_reference_columns
100
- <<-EOS.chomp
100
+ <<-SCHEMA.chomp
101
101
  column_create Posts author COLUMN_SCALAR Users
102
102
  column_create Posts tags COLUMN_VECTOR Tags
103
- EOS
103
+ SCHEMA
104
104
  end
105
105
 
106
106
  def dumped_schema_index_columns
107
- <<-EOS.chomp
107
+ <<-SCHEMA.chomp
108
108
  column_create Tags Posts_tag_text COLUMN_INDEX Posts tag_text
109
109
 
110
110
  column_create Users Posts_author COLUMN_INDEX Posts author
111
- EOS
111
+ SCHEMA
112
112
  end
113
113
 
114
114
  class EmptyTest < self
@@ -130,117 +130,115 @@ EOS
130
130
  :title => "Why search engine find?")
131
131
  end
132
132
 
133
- def test_default
134
- assert_equal(<<-EOS, dump)
135
- #{dumped_schema_tables}
136
-
137
- #{dumped_schema_reference_columns}
138
-
133
+ def dumped_table_posts
134
+ <<-TABLE.chomp
139
135
  load --table Posts
140
136
  [
141
137
  ["_id","author","created_at","n_goods","published","rank","tag_text","tags","title"],
142
138
  [1,"mori",1268034720.0,4,true,10,"search mori",["search","mori"],"Why search engine find?"]
143
139
  ]
140
+ TABLE
141
+ end
144
142
 
143
+ def dumped_table_tags
144
+ <<-TABLE.chomp
145
145
  load --table Tags
146
146
  [
147
147
  ["_key","name"],
148
148
  ["search",""],
149
149
  ["mori",""]
150
150
  ]
151
+ TABLE
152
+ end
151
153
 
154
+ def dumped_table_users
155
+ <<-TABLE.chomp
152
156
  load --table Users
153
157
  [
154
158
  ["_key","name"],
155
159
  ["mori",""]
156
160
  ]
161
+ TABLE
162
+ end
163
+
164
+ def dumped_tables
165
+ <<-TABLES.chomp
166
+ #{dumped_table_posts}
167
+
168
+ #{dumped_table_tags}
169
+
170
+ #{dumped_table_users}
171
+ TABLES
172
+ end
173
+
174
+ def test_default
175
+ assert_equal(<<-DUMP, dump)
176
+ #{dumped_schema_tables}
177
+
178
+ #{dumped_schema_reference_columns}
179
+
180
+ #{dumped_tables}
157
181
 
158
182
  #{dumped_schema_index_columns}
159
- EOS
183
+ DUMP
160
184
  end
161
185
 
162
186
  def test_limit_tables
163
- assert_equal(<<-EOS, dump(:tables => ["Posts"]))
187
+ assert_equal(<<-DUMP, dump(:tables => ["Posts"]))
164
188
  #{dumped_schema_tables}
165
189
 
166
190
  #{dumped_schema_reference_columns}
167
191
 
168
- load --table Posts
169
- [
170
- ["_id","author","created_at","n_goods","published","rank","tag_text","tags","title"],
171
- [1,"mori",1268034720.0,4,true,10,"search mori",["search","mori"],"Why search engine find?"]
172
- ]
192
+ #{dumped_table_posts}
173
193
 
174
194
  #{dumped_schema_index_columns}
175
- EOS
195
+ DUMP
176
196
  end
177
197
 
178
198
  def test_limit_tables_with_regexp
179
- assert_equal(<<-EOS, dump(:tables => [/Posts?/]))
199
+ assert_equal(<<-DUMP, dump(:tables => [/Posts?/]))
180
200
  #{dumped_schema_tables}
181
201
 
182
202
  #{dumped_schema_reference_columns}
183
203
 
184
- load --table Posts
185
- [
186
- ["_id","author","created_at","n_goods","published","rank","tag_text","tags","title"],
187
- [1,"mori",1268034720.0,4,true,10,"search mori",["search","mori"],"Why search engine find?"]
188
- ]
204
+ #{dumped_table_posts}
189
205
 
190
206
  #{dumped_schema_index_columns}
191
- EOS
207
+ DUMP
192
208
  end
193
209
 
194
210
  def test_exclude_tables
195
211
  dump_options = {
196
212
  :exclude_tables => ["Posts"],
197
213
  }
198
- assert_equal(<<-EOS, dump(dump_options))
214
+ assert_equal(<<-DUMP, dump(dump_options))
199
215
  #{dumped_schema_tables}
200
216
 
201
217
  #{dumped_schema_reference_columns}
202
218
 
203
- load --table Tags
204
- [
205
- ["_key","name"],
206
- ["search",""],
207
- ["mori",""]
208
- ]
219
+ #{dumped_table_tags}
209
220
 
210
- load --table Users
211
- [
212
- ["_key","name"],
213
- ["mori",""]
214
- ]
221
+ #{dumped_table_users}
215
222
 
216
223
  #{dumped_schema_index_columns}
217
- EOS
224
+ DUMP
218
225
  end
219
226
 
220
227
  def test_exclude_tables_with_regexp
221
228
  dump_options = {
222
229
  :exclude_tables => [/Posts?/],
223
230
  }
224
- assert_equal(<<-EOS, dump(dump_options))
231
+ assert_equal(<<-DUMP, dump(dump_options))
225
232
  #{dumped_schema_tables}
226
233
 
227
234
  #{dumped_schema_reference_columns}
228
235
 
229
- load --table Tags
230
- [
231
- ["_key","name"],
232
- ["search",""],
233
- ["mori",""]
234
- ]
236
+ #{dumped_table_tags}
235
237
 
236
- load --table Users
237
- [
238
- ["_key","name"],
239
- ["mori",""]
240
- ]
238
+ #{dumped_table_users}
241
239
 
242
240
  #{dumped_schema_index_columns}
243
- EOS
241
+ DUMP
244
242
  end
245
243
 
246
244
  def test_tables_combination
@@ -248,42 +246,29 @@ EOS
248
246
  :exclude_tables => ["Posts"],
249
247
  :tables => ["Posts", "Users"],
250
248
  }
251
- assert_equal(<<-EOS, dump(dump_options))
249
+ assert_equal(<<-DUMP, dump(dump_options))
252
250
  #{dumped_schema_tables}
253
251
 
254
252
  #{dumped_schema_reference_columns}
255
253
 
256
- load --table Users
257
- [
258
- ["_key","name"],
259
- ["mori",""]
260
- ]
254
+ #{dumped_table_users}
261
255
 
262
256
  #{dumped_schema_index_columns}
263
- EOS
257
+ DUMP
264
258
  end
265
259
 
266
260
  def test_no_schema
267
- assert_equal(<<-EOS, dump(:dump_schema => false))
268
- load --table Posts
269
- [
270
- ["_id","author","created_at","n_goods","published","rank","tag_text","tags","title"],
271
- [1,"mori",1268034720.0,4,true,10,"search mori",["search","mori"],"Why search engine find?"]
272
- ]
261
+ assert_equal(<<-DUMP, dump(:dump_schema => false))
262
+ #{dumped_tables}
273
263
 
274
- load --table Tags
275
- [
276
- ["_key","name"],
277
- ["search",""],
278
- ["mori",""]
279
- ]
264
+ #{dumped_schema_index_columns}
265
+ DUMP
266
+ end
280
267
 
281
- load --table Users
282
- [
283
- ["_key","name"],
284
- ["mori",""]
285
- ]
286
- EOS
268
+ def test_no_schema_no_indexes
269
+ assert_equal(<<-DUMP, dump(:dump_schema => false, :dump_indexes => false))
270
+ #{dumped_tables}
271
+ DUMP
287
272
  end
288
273
 
289
274
  def test_no_tables
@@ -360,7 +345,7 @@ COMMAND
360
345
  end
361
346
 
362
347
  def test_have_records
363
- assert_equal(<<-EOS, dump)
348
+ assert_equal(<<-DUMP, dump)
364
349
  table_create Users TABLE_PAT_KEY --key_type ShortText
365
350
 
366
351
  load --table Users
@@ -369,7 +354,7 @@ load --table Users
369
354
  [\"mori\"],
370
355
  [\"s-yata\"]
371
356
  ]
372
- EOS
357
+ DUMP
373
358
  end
374
359
  end
375
360
  end