rroonga 0.9.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (199) hide show
  1. data/AUTHORS +5 -0
  2. data/NEWS.ja.rdoc +114 -0
  3. data/NEWS.rdoc +116 -0
  4. data/README.ja.rdoc +65 -0
  5. data/README.rdoc +66 -0
  6. data/Rakefile +206 -0
  7. data/benchmark/common.rb +49 -0
  8. data/benchmark/read-write-many-small-items.rb +144 -0
  9. data/benchmark/write-many-small-items.rb +135 -0
  10. data/example/bookmark.rb +161 -0
  11. data/example/index-html.rb +89 -0
  12. data/example/search/config.ru +230 -0
  13. data/example/search/public/css/groonga.css +122 -0
  14. data/ext/.gitignore +2 -0
  15. data/ext/groonga/extconf.rb +93 -0
  16. data/ext/groonga/rb-grn-accessor.c +52 -0
  17. data/ext/groonga/rb-grn-array-cursor.c +36 -0
  18. data/ext/groonga/rb-grn-array.c +210 -0
  19. data/ext/groonga/rb-grn-column.c +573 -0
  20. data/ext/groonga/rb-grn-context.c +662 -0
  21. data/ext/groonga/rb-grn-database.c +472 -0
  22. data/ext/groonga/rb-grn-encoding-support.c +64 -0
  23. data/ext/groonga/rb-grn-encoding.c +257 -0
  24. data/ext/groonga/rb-grn-exception.c +1110 -0
  25. data/ext/groonga/rb-grn-expression-builder.c +75 -0
  26. data/ext/groonga/rb-grn-expression.c +731 -0
  27. data/ext/groonga/rb-grn-fix-size-column.c +166 -0
  28. data/ext/groonga/rb-grn-hash-cursor.c +38 -0
  29. data/ext/groonga/rb-grn-hash.c +294 -0
  30. data/ext/groonga/rb-grn-index-column.c +488 -0
  31. data/ext/groonga/rb-grn-logger.c +504 -0
  32. data/ext/groonga/rb-grn-object.c +1369 -0
  33. data/ext/groonga/rb-grn-operation.c +198 -0
  34. data/ext/groonga/rb-grn-patricia-trie-cursor.c +39 -0
  35. data/ext/groonga/rb-grn-patricia-trie.c +488 -0
  36. data/ext/groonga/rb-grn-procedure.c +52 -0
  37. data/ext/groonga/rb-grn-query.c +260 -0
  38. data/ext/groonga/rb-grn-record.c +40 -0
  39. data/ext/groonga/rb-grn-snippet.c +334 -0
  40. data/ext/groonga/rb-grn-table-cursor-key-support.c +69 -0
  41. data/ext/groonga/rb-grn-table-cursor.c +247 -0
  42. data/ext/groonga/rb-grn-table-key-support.c +714 -0
  43. data/ext/groonga/rb-grn-table.c +1977 -0
  44. data/ext/groonga/rb-grn-type.c +181 -0
  45. data/ext/groonga/rb-grn-utils.c +769 -0
  46. data/ext/groonga/rb-grn-variable-size-column.c +36 -0
  47. data/ext/groonga/rb-grn-variable.c +108 -0
  48. data/ext/groonga/rb-grn-view-accessor.c +53 -0
  49. data/ext/groonga/rb-grn-view-cursor.c +35 -0
  50. data/ext/groonga/rb-grn-view-record.c +41 -0
  51. data/ext/groonga/rb-grn-view.c +421 -0
  52. data/ext/groonga/rb-grn.h +698 -0
  53. data/ext/groonga/rb-groonga.c +107 -0
  54. data/extconf.rb +130 -0
  55. data/html/bar.svg +153 -0
  56. data/html/developer.html +117 -0
  57. data/html/developer.svg +469 -0
  58. data/html/download.svg +253 -0
  59. data/html/favicon.ico +0 -0
  60. data/html/favicon.xcf +0 -0
  61. data/html/footer.html.erb +28 -0
  62. data/html/head.html.erb +4 -0
  63. data/html/header.html.erb +17 -0
  64. data/html/index.html +147 -0
  65. data/html/install.svg +636 -0
  66. data/html/logo.xcf +0 -0
  67. data/html/ranguba.css +250 -0
  68. data/html/tutorial.svg +559 -0
  69. data/lib/1.8/groonga.so +0 -0
  70. data/lib/1.9/groonga.so +0 -0
  71. data/lib/groonga.rb +90 -0
  72. data/lib/groonga/context.rb +184 -0
  73. data/lib/groonga/expression-builder.rb +324 -0
  74. data/lib/groonga/patricia-trie.rb +85 -0
  75. data/lib/groonga/record.rb +311 -0
  76. data/lib/groonga/schema.rb +1191 -0
  77. data/lib/groonga/view-record.rb +56 -0
  78. data/license/GPL +340 -0
  79. data/license/LGPL +504 -0
  80. data/license/RUBY +59 -0
  81. data/misc/grnop2ruby.rb +49 -0
  82. data/pkg-config.rb +333 -0
  83. data/rroonga-build.rb +57 -0
  84. data/test-unit/Rakefile +40 -0
  85. data/test-unit/TODO +5 -0
  86. data/test-unit/bin/testrb +5 -0
  87. data/test-unit/html/classic.html +15 -0
  88. data/test-unit/html/index.html +25 -0
  89. data/test-unit/html/index.html.ja +27 -0
  90. data/test-unit/lib/test/unit.rb +323 -0
  91. data/test-unit/lib/test/unit/assertionfailederror.rb +25 -0
  92. data/test-unit/lib/test/unit/assertions.rb +1230 -0
  93. data/test-unit/lib/test/unit/attribute.rb +125 -0
  94. data/test-unit/lib/test/unit/autorunner.rb +360 -0
  95. data/test-unit/lib/test/unit/collector.rb +36 -0
  96. data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
  97. data/test-unit/lib/test/unit/collector/dir.rb +108 -0
  98. data/test-unit/lib/test/unit/collector/load.rb +144 -0
  99. data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
  100. data/test-unit/lib/test/unit/color-scheme.rb +102 -0
  101. data/test-unit/lib/test/unit/color.rb +96 -0
  102. data/test-unit/lib/test/unit/diff.rb +724 -0
  103. data/test-unit/lib/test/unit/error.rb +130 -0
  104. data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
  105. data/test-unit/lib/test/unit/failure.rb +136 -0
  106. data/test-unit/lib/test/unit/fixture.rb +176 -0
  107. data/test-unit/lib/test/unit/notification.rb +129 -0
  108. data/test-unit/lib/test/unit/omission.rb +191 -0
  109. data/test-unit/lib/test/unit/pending.rb +150 -0
  110. data/test-unit/lib/test/unit/priority.rb +180 -0
  111. data/test-unit/lib/test/unit/runner/console.rb +52 -0
  112. data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
  113. data/test-unit/lib/test/unit/runner/tap.rb +8 -0
  114. data/test-unit/lib/test/unit/testcase.rb +476 -0
  115. data/test-unit/lib/test/unit/testresult.rb +89 -0
  116. data/test-unit/lib/test/unit/testsuite.rb +110 -0
  117. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
  118. data/test-unit/lib/test/unit/ui/console/testrunner.rb +466 -0
  119. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +63 -0
  120. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +92 -0
  121. data/test-unit/lib/test/unit/ui/testrunner.rb +28 -0
  122. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
  123. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  124. data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
  125. data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
  126. data/test-unit/lib/test/unit/util/observable.rb +90 -0
  127. data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
  128. data/test-unit/lib/test/unit/version.rb +7 -0
  129. data/test-unit/sample/adder.rb +13 -0
  130. data/test-unit/sample/subtracter.rb +12 -0
  131. data/test-unit/sample/test_adder.rb +20 -0
  132. data/test-unit/sample/test_subtracter.rb +20 -0
  133. data/test-unit/sample/test_user.rb +23 -0
  134. data/test-unit/test/collector/test-descendant.rb +133 -0
  135. data/test-unit/test/collector/test-load.rb +442 -0
  136. data/test-unit/test/collector/test_dir.rb +406 -0
  137. data/test-unit/test/collector/test_objectspace.rb +100 -0
  138. data/test-unit/test/run-test.rb +15 -0
  139. data/test-unit/test/test-attribute.rb +86 -0
  140. data/test-unit/test/test-color-scheme.rb +67 -0
  141. data/test-unit/test/test-color.rb +47 -0
  142. data/test-unit/test/test-diff.rb +518 -0
  143. data/test-unit/test/test-emacs-runner.rb +60 -0
  144. data/test-unit/test/test-fixture.rb +287 -0
  145. data/test-unit/test/test-notification.rb +33 -0
  146. data/test-unit/test/test-omission.rb +81 -0
  147. data/test-unit/test/test-pending.rb +70 -0
  148. data/test-unit/test/test-priority.rb +119 -0
  149. data/test-unit/test/test-testcase.rb +544 -0
  150. data/test-unit/test/test_assertions.rb +1151 -0
  151. data/test-unit/test/test_error.rb +26 -0
  152. data/test-unit/test/test_failure.rb +33 -0
  153. data/test-unit/test/test_testresult.rb +113 -0
  154. data/test-unit/test/test_testsuite.rb +129 -0
  155. data/test-unit/test/testunit-test-util.rb +14 -0
  156. data/test-unit/test/ui/test_testrunmediator.rb +20 -0
  157. data/test-unit/test/util/test-method-owner-finder.rb +38 -0
  158. data/test-unit/test/util/test_backtracefilter.rb +41 -0
  159. data/test-unit/test/util/test_observable.rb +102 -0
  160. data/test-unit/test/util/test_procwrapper.rb +36 -0
  161. data/test/.gitignore +1 -0
  162. data/test/groonga-test-utils.rb +134 -0
  163. data/test/run-test.rb +58 -0
  164. data/test/test-array.rb +90 -0
  165. data/test/test-column.rb +316 -0
  166. data/test/test-context-select.rb +93 -0
  167. data/test/test-context.rb +73 -0
  168. data/test/test-database.rb +113 -0
  169. data/test/test-encoding.rb +33 -0
  170. data/test/test-exception.rb +93 -0
  171. data/test/test-expression-builder.rb +217 -0
  172. data/test/test-expression.rb +134 -0
  173. data/test/test-fix-size-column.rb +65 -0
  174. data/test/test-gqtp.rb +72 -0
  175. data/test/test-hash.rb +305 -0
  176. data/test/test-index-column.rb +81 -0
  177. data/test/test-logger.rb +37 -0
  178. data/test/test-patricia-trie.rb +205 -0
  179. data/test/test-procedure.rb +37 -0
  180. data/test/test-query.rb +22 -0
  181. data/test/test-record.rb +243 -0
  182. data/test/test-remote.rb +54 -0
  183. data/test/test-schema-view.rb +90 -0
  184. data/test/test-schema.rb +459 -0
  185. data/test/test-snippet.rb +130 -0
  186. data/test/test-table-cursor.rb +153 -0
  187. data/test/test-table-offset-and-limit.rb +102 -0
  188. data/test/test-table-select-normalize.rb +53 -0
  189. data/test/test-table-select.rb +150 -0
  190. data/test/test-table.rb +594 -0
  191. data/test/test-type.rb +71 -0
  192. data/test/test-variable-size-column.rb +98 -0
  193. data/test/test-variable.rb +28 -0
  194. data/test/test-vector-column.rb +76 -0
  195. data/test/test-version.rb +31 -0
  196. data/test/test-view.rb +72 -0
  197. data/text/TUTORIAL.ja.rdoc +392 -0
  198. data/text/expression.rdoc +284 -0
  199. metadata +276 -0
data/html/download.svg ADDED
@@ -0,0 +1,253 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+ <svg
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:cc="http://creativecommons.org/ns#"
6
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
7
+ xmlns:svg="http://www.w3.org/2000/svg"
8
+ xmlns="http://www.w3.org/2000/svg"
9
+ xmlns:xlink="http://www.w3.org/1999/xlink"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ sodipodi:docname="download.svg"
13
+ sodipodi:docbase="/home/tigert/cvs/freedesktop.org/tango-icon-theme/scalable/actions"
14
+ inkscape:version="0.46"
15
+ sodipodi:version="0.32"
16
+ id="svg11300"
17
+ height="18"
18
+ width="18"
19
+ inkscape:export-filename="/home/kou/work/c/milter-manager/html/download.png"
20
+ inkscape:export-xdpi="33.75"
21
+ inkscape:export-ydpi="33.75"
22
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"
23
+ version="1.0">
24
+ <defs
25
+ id="defs3">
26
+ <inkscape:perspective
27
+ sodipodi:type="inkscape:persp3d"
28
+ inkscape:vp_x="0 : 24 : 1"
29
+ inkscape:vp_y="0 : 1000 : 0"
30
+ inkscape:vp_z="48 : 24 : 1"
31
+ inkscape:persp3d-origin="24 : 16 : 1"
32
+ id="perspective24" />
33
+ <linearGradient
34
+ id="linearGradient1442">
35
+ <stop
36
+ id="stop1444"
37
+ offset="0"
38
+ style="stop-color:#fcaf3e;stop-opacity:1;" />
39
+ <stop
40
+ id="stop1446"
41
+ offset="1"
42
+ style="stop-color:#f57900;stop-opacity:1;" />
43
+ </linearGradient>
44
+ <linearGradient
45
+ id="linearGradient8662"
46
+ inkscape:collect="always">
47
+ <stop
48
+ id="stop8664"
49
+ offset="0"
50
+ style="stop-color:#000000;stop-opacity:1;" />
51
+ <stop
52
+ id="stop8666"
53
+ offset="1"
54
+ style="stop-color:#000000;stop-opacity:0;" />
55
+ </linearGradient>
56
+ <linearGradient
57
+ id="linearGradient8650"
58
+ inkscape:collect="always">
59
+ <stop
60
+ id="stop8652"
61
+ offset="0"
62
+ style="stop-color:#ffffff;stop-opacity:1;" />
63
+ <stop
64
+ id="stop8654"
65
+ offset="1"
66
+ style="stop-color:#ffffff;stop-opacity:0;" />
67
+ </linearGradient>
68
+ <radialGradient
69
+ inkscape:collect="always"
70
+ xlink:href="#linearGradient8662"
71
+ id="radialGradient1444"
72
+ gradientUnits="userSpaceOnUse"
73
+ gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
74
+ cx="24.837126"
75
+ cy="36.421127"
76
+ fx="24.837126"
77
+ fy="36.421127"
78
+ r="15.644737" />
79
+ <radialGradient
80
+ inkscape:collect="always"
81
+ xlink:href="#linearGradient1442"
82
+ id="radialGradient1469"
83
+ gradientUnits="userSpaceOnUse"
84
+ gradientTransform="matrix(0,-0.843022,1.020168,0,0.606436,42.58614)"
85
+ cx="35.292667"
86
+ cy="20.494493"
87
+ fx="35.292667"
88
+ fy="20.494493"
89
+ r="16.9562" />
90
+ <radialGradient
91
+ inkscape:collect="always"
92
+ xlink:href="#linearGradient8650"
93
+ id="radialGradient1471"
94
+ gradientUnits="userSpaceOnUse"
95
+ gradientTransform="matrix(0,-2.046729,-1.55761,0,44.11559,66.93275)"
96
+ cx="15.987216"
97
+ cy="1.5350308"
98
+ fx="15.987216"
99
+ fy="1.5350308"
100
+ r="17.171415" />
101
+ <radialGradient
102
+ inkscape:collect="always"
103
+ xlink:href="#linearGradient8662"
104
+ id="radialGradient2836"
105
+ gradientUnits="userSpaceOnUse"
106
+ gradientTransform="matrix(1,0,0,0.536723,0,16.87306)"
107
+ cx="24.837126"
108
+ cy="36.421127"
109
+ fx="24.837126"
110
+ fy="36.421127"
111
+ r="15.644737" />
112
+ <radialGradient
113
+ inkscape:collect="always"
114
+ xlink:href="#linearGradient1442"
115
+ id="radialGradient2838"
116
+ gradientUnits="userSpaceOnUse"
117
+ gradientTransform="matrix(0,-0.843022,1.020168,0,0.606436,42.58614)"
118
+ cx="35.292667"
119
+ cy="20.494493"
120
+ fx="35.292667"
121
+ fy="20.494493"
122
+ r="16.9562" />
123
+ <radialGradient
124
+ inkscape:collect="always"
125
+ xlink:href="#linearGradient8650"
126
+ id="radialGradient2840"
127
+ gradientUnits="userSpaceOnUse"
128
+ gradientTransform="matrix(0,-2.046729,-1.55761,0,44.11559,66.93275)"
129
+ cx="15.987216"
130
+ cy="1.5350308"
131
+ fx="15.987216"
132
+ fy="1.5350308"
133
+ r="17.171415" />
134
+ <radialGradient
135
+ inkscape:collect="always"
136
+ xlink:href="#linearGradient8650"
137
+ id="radialGradient3315"
138
+ gradientUnits="userSpaceOnUse"
139
+ gradientTransform="matrix(0,0.7572897,0.5763157,0,1.4369437,-8.3916785)"
140
+ cx="15.987216"
141
+ cy="1.5350308"
142
+ fx="15.987216"
143
+ fy="1.5350308"
144
+ r="17.171415" />
145
+ <radialGradient
146
+ inkscape:collect="always"
147
+ xlink:href="#linearGradient1442"
148
+ id="radialGradient3318"
149
+ gradientUnits="userSpaceOnUse"
150
+ gradientTransform="matrix(0,0.3119181,-0.3774622,0,17.535331,0.6165672)"
151
+ cx="35.292667"
152
+ cy="20.494493"
153
+ fx="35.292667"
154
+ fy="20.494493"
155
+ r="16.9562" />
156
+ </defs>
157
+ <sodipodi:namedview
158
+ inkscape:window-y="217"
159
+ inkscape:window-x="647"
160
+ inkscape:window-height="649"
161
+ inkscape:window-width="812"
162
+ inkscape:showpageshadow="false"
163
+ inkscape:document-units="px"
164
+ inkscape:grid-bbox="true"
165
+ showgrid="false"
166
+ inkscape:current-layer="layer1"
167
+ inkscape:cy="7.6827171"
168
+ inkscape:cx="15.17732"
169
+ inkscape:zoom="11.313708"
170
+ inkscape:pageshadow="2"
171
+ inkscape:pageopacity="0.0"
172
+ borderopacity="0.25490196"
173
+ bordercolor="#666666"
174
+ pagecolor="#ffffff"
175
+ id="base"
176
+ fill="#4e9a06"
177
+ stroke="#4e9a06"
178
+ width="18px" />
179
+ <metadata
180
+ id="metadata4">
181
+ <rdf:RDF>
182
+ <cc:Work
183
+ rdf:about="">
184
+ <dc:format>image/svg+xml</dc:format>
185
+ <dc:type
186
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
187
+ <dc:creator>
188
+ <cc:Agent>
189
+ <dc:title>Jakub Steiner</dc:title>
190
+ </cc:Agent>
191
+ </dc:creator>
192
+ <dc:source>http://jimmac.musichall.cz</dc:source>
193
+ <cc:license
194
+ rdf:resource="http://creativecommons.org/licenses/publicdomain/" />
195
+ <dc:title>Go Down</dc:title>
196
+ <dc:subject>
197
+ <rdf:Bag>
198
+ <rdf:li>go</rdf:li>
199
+ <rdf:li>lower</rdf:li>
200
+ <rdf:li>down</rdf:li>
201
+ <rdf:li>arrow</rdf:li>
202
+ <rdf:li>pointer</rdf:li>
203
+ <rdf:li>&gt;</rdf:li>
204
+ </rdf:Bag>
205
+ </dc:subject>
206
+ <dc:contributor>
207
+ <cc:Agent>
208
+ <dc:title>Andreas Nilsson</dc:title>
209
+ </cc:Agent>
210
+ </dc:contributor>
211
+ </cc:Work>
212
+ <cc:License
213
+ rdf:about="http://creativecommons.org/licenses/publicdomain/">
214
+ <cc:permits
215
+ rdf:resource="http://creativecommons.org/ns#Reproduction" />
216
+ <cc:permits
217
+ rdf:resource="http://creativecommons.org/ns#Distribution" />
218
+ <cc:permits
219
+ rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
220
+ </cc:License>
221
+ </rdf:RDF>
222
+ </metadata>
223
+ <g
224
+ inkscape:groupmode="layer"
225
+ inkscape:label="Layer 1"
226
+ id="layer1">
227
+ <path
228
+ transform="matrix(0.4493524,0,0,0.2203195,-1.9214787,6.1294487)"
229
+ d="M 40.481863,36.421127 A 15.644737,8.3968935 0 1 1 9.1923885,36.421127 A 15.644737,8.3968935 0 1 1 40.481863,36.421127 z"
230
+ sodipodi:ry="8.3968935"
231
+ sodipodi:rx="15.644737"
232
+ sodipodi:cy="36.421127"
233
+ sodipodi:cx="24.837126"
234
+ id="path8660"
235
+ style="opacity:0.20454544;fill:url(#radialGradient2836);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
236
+ sodipodi:type="arc" />
237
+ <path
238
+ sodipodi:nodetypes="cccccccc"
239
+ id="path8643"
240
+ d="M 12.387632,2.128439 L 5.7257709,2.1298842 L 5.7257709,6.9367858 L 2.7674855,6.9396763 L 9.1110327,14.33873 L 15.344145,6.9394439 L 12.385669,6.9380416 L 12.387632,2.128439 z"
241
+ style="fill:url(#radialGradient3318);fill-opacity:1;fill-rule:evenodd;stroke:#ce5c00;stroke-width:0.37000011999999999;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
242
+ <path
243
+ sodipodi:nodetypes="cccccc"
244
+ id="path8645"
245
+ d="M 3.1706531,7.1258562 L 5.9110177,7.1215202 L 5.9100258,2.3141705 L 11.600091,2.3175571 C 11.31522,9.1037234 7.6327114,6.3849941 5.9088777,10.326902 L 3.1706531,7.1258562 z"
246
+ style="opacity:0.5080214;fill:url(#radialGradient3315);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible" />
247
+ <path
248
+ style="opacity:0.48128339;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.37000012;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible"
249
+ d="M 12.017052,2.499884 L 6.0965317,2.498439 L 6.0965317,7.30583 L 3.5743116,7.311612 L 9.1073937,13.769068 L 14.548809,7.31 L 12.018045,7.308058 L 12.017052,2.499884 z"
250
+ id="path8658"
251
+ sodipodi:nodetypes="cccccccc" />
252
+ </g>
253
+ </svg>
data/html/favicon.ico ADDED
Binary file
data/html/favicon.xcf ADDED
Binary file
@@ -0,0 +1,28 @@
1
+ </div>
2
+
3
+ <div class="sponsors">
4
+ <p id="sponsor-rubyforge">
5
+ <a href="http://rubyforge.org/projects/groonga/">
6
+ <img src="/rubyforge.png" width="120" height="24" border="0" alt="Ruby/groongaプロジェクトはRubyForge.orgにホスティングしてもらっています。" />
7
+ </a>
8
+ </p>
9
+ <p id="sponsor-tango">
10
+ <a href="http://tango.freedesktop.org/">
11
+ <img width="120" height="53" border="0" alt="Tango Desktop Projectのアイコンを利用しています。" src="/tango-logo.png" />
12
+ </a>
13
+ </p>
14
+
15
+ <!-- Piwik -->
16
+ <a href="http://piwik.org" title="Web analytics" onclick="window.open(this.href);return(false);">
17
+ <script type="text/javascript">
18
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.clear-code.com/piwik/" : "http://www.clear-code.com/piwik/");
19
+ document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
20
+ </script><script type="text/javascript">
21
+ piwik_action_name = '';
22
+ piwik_idsite = 2;
23
+ piwik_url = pkBaseURL + "piwik.php";
24
+ piwik_log(piwik_action_name, piwik_idsite, piwik_url);
25
+ </script>
26
+ <object><noscript><p>Web analytics <img src="http://www.clear-code.com/piwik/piwik.php?idsite=2" style="border:0" alt=""/></p></noscript></object></a>
27
+ <!-- End Piwik Tag -->
28
+ </div>
@@ -0,0 +1,4 @@
1
+ <link rel="stylesheet" href="/ranguba.css" type="text/css" />
2
+ <link rel="shortcut icon" href="/favicon.ico" />
3
+ <link rel="icon" href="/favicon.png" />
4
+ <title><%= h(title) %> - ラングバ</title>
@@ -0,0 +1,17 @@
1
+ <div class="header">
2
+ <div class="title">
3
+ <a href="/">
4
+ <span class="title"><%= h(title) %></span>
5
+ <span class="title-separator">-</span>
6
+ <span class="title-project">ラングバ</span>
7
+ </a>
8
+ </div>
9
+ <ul class="menu">
10
+ <li id="menu-reference"><a href="/rroonga/">リファレンスマニュアル</a></li>
11
+ <li id="menu-tutorial"><a href="/rroonga/text/TUTORIAL_ja_rdoc.html">チュートリアル</a></li>
12
+ <li id="menu-install"><a href="/#install-rroonga">インストール</a></li>
13
+ <li id="menu-developer"><a href="/developer.html">開発者向け情報</a></li>
14
+ </ul>
15
+ </div>
16
+
17
+ <div class="content">
data/html/index.html ADDED
@@ -0,0 +1,147 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
6
+ <head>
7
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
8
+ <link rel="stylesheet" href="ranguba.css" type="text/css" />
9
+ <link rel="shortcut icon" href="/favicon.ico" />
10
+ <link rel="icon" href="/favicon.png" />
11
+ <title>Rubyでgroonga使って全文検索 - ラングバ</title>
12
+ </head>
13
+ <body>
14
+ <div class="header">
15
+ <div class="title">
16
+ <a href="./">
17
+ <span class="title">Rubyでgroonga使って全文検索</span>
18
+ <span class="title-separator">-</span>
19
+ <span class="title-project">ラングバ</span>
20
+ </a>
21
+ </div>
22
+ <ul class="menu">
23
+ <li id="menu-reference"><a href="rroonga/">リファレンスマニュアル</a></li>
24
+ <li id="menu-tutorial"><a href="rroonga/text/TUTORIAL_ja_rdoc.html">チュートリアル</a></li>
25
+ <li id="menu-install"><a href="#install-rroonga">インストール</a></li>
26
+ <li id="menu-developer"><a href="developer.html">開発者向け情報</a></li>
27
+ </ul>
28
+ </div>
29
+
30
+ <div class="content">
31
+ <div class="main">
32
+ <h1>ラングバプロジェクト</h1>
33
+ <p>
34
+ ラングバプロジェクトは<a href="http://groonga.org/">カラムストア機能も備える高速・高機能な全文検索エンジンgroonga</a>の機能をRubyから利用するためのライブラリを提供するプロジェクトです。
35
+ groongaの機能をRubyらしい読み書きしやすい構文で利用できることが利点です。
36
+ </p>
37
+
38
+ <h2 id="about-rroonga">rroonga</h2>
39
+ <p>
40
+ rroonga(るるんが)はgroonga(ぐるんが)のいわゆるDB-APIの層の機能をRubyレベルに提供します。DB-APIの層の上位であるQL-APIの層に相当する機能は<a href="#about-active-groonga">ActiveGroonga</a>で提供します。
41
+ </p>
42
+
43
+ <h3>rroongaの最新リリース</h3>
44
+ <p>
45
+ 2010-04-20にリリースされた0.9.2が最新です。
46
+ </p>
47
+
48
+ <h3 id="install-rroonga">rroongaのインストール</h3>
49
+ <p>
50
+ RubyGemsでインストールできます。groongaがインストールされていない場合は自動でダウンロード・ビルドし利用します。
51
+ </p>
52
+ <pre class="command">% sudo gem install rroonga</pre>
53
+
54
+ <h3>rroongaのドキュメント</h3>
55
+ <p>
56
+ リファレンスマニュアルとチュートリアルがあります。
57
+ どちらもまだ未完成で、半分位できています。
58
+ </p>
59
+ <ul>
60
+ <li><a href="rroonga/">rroongaのリファレンスマニュアル</a></li>
61
+ <li><a href="rroonga/text/TUTORIAL_ja_rdoc.html">rroongaのチュートリアル</a></li>
62
+ </ul>
63
+
64
+ <h2 id="about-active-groonga">ActiveGroonga</h2>
65
+ <p>
66
+ ActiveGroongaはrroongaの機能を使ってより利用しやすい全文検索機能・データストア機能を提供するライブラリです。
67
+ ActiveRecordのようなAPIでgroongaで管理しているデータを通常のオブジェクトのように扱えます。
68
+ </p>
69
+ <p>
70
+ ActiveGroongaはRuby on Railsに対応しています。データストアにRDBではなくgroongaを利用し、全文検索機能を強化したRailsアプリケーションを開発できます。
71
+ ActiveGroongaは以下のようにActiveRecordのような機能を持っているため、こまでのRailsアプリケーションの知識を利用することができます。
72
+ <ul>
73
+ <li>マイグレーション</li>
74
+ <li>フィクスチャ</li>
75
+ <li>バリデーション</li>
76
+ <li>リレーション</li>
77
+ </ul>
78
+ </p>
79
+
80
+ <h3>ActiveGroongaの最新リリース</h3>
81
+ <p>
82
+ 2009-10-02にリリースされた0.0.7が最新です。
83
+ </p>
84
+
85
+ <h3 id="install-active-groonga">ActiveGroongaのインストール</h3>
86
+ <p>
87
+ ActiveGroonagaもRubyGemsでインストールできます。
88
+ </p>
89
+ <pre class="command">% sudo gem install activegroonga</pre>
90
+
91
+ <h3>ActiveGroongaのドキュメント</h3>
92
+ <p>
93
+ ActiveGroonagaのドキュメントはそれほどありません。
94
+ これから徐々に追加されていく予定です。
95
+ </p>
96
+ <ul>
97
+ <li><a href="active_groonga/">ActiveGroongaのリファレンスマニュアル</a></li>
98
+ </ul>
99
+
100
+ <h2>ライセンス</h2>
101
+ <p>
102
+ rroongaおよびActiveGroongaはフリーソフトウェアです。あなたは、 Free Software Foundationが公表した<a href="http://www.gnu.org/licenses/lgpl-2.1.txt">GNU Lesser General Public License 2.1</a>に定める条項に従って本プログラムを再頒布または変更することができます。
103
+ </p>
104
+
105
+ <p>
106
+ rroongaおよびActiveGroongaは有用とは思いますが、頒布にあたっては、市場性及び特定目的適合性についての暗黙の保証を含めて、いかなる保証も行ないません。詳細については<a href="http://www.gnu.org/licenses/lgpl-2.1.txt">GNU Lesser General Public License 2.1</a>をお読みください。
107
+ </div>
108
+
109
+ <div class="sidebar">
110
+ <ul>
111
+ <li><a href="http://rubyforge.org/projects/groonga/">プロジェクトページ</a></li>
112
+ <li>
113
+ <a href="http://lists.sourceforge.jp/mailman/listinfo/groonga-dev">メーリングリスト</a>
114
+ (groongaのメーリングリストにお願いします)
115
+ </li>
116
+ </ul>
117
+ </div>
118
+ </div>
119
+
120
+ <div class="sponsors">
121
+ <p id="sponsor-rubyforge">
122
+ <a href="http://rubyforge.org/projects/groonga/">
123
+ <img src="rubyforge.png" width="120" height="24" border="0" alt="ラングバプロジェクトはRubyForge.orgにホスティングしてもらっています。" />
124
+ </a>
125
+ </p>
126
+ <p id="sponsor-tango">
127
+ <a href="http://tango.freedesktop.org/">
128
+ <img width="120" height="53" border="0" alt="Tango Desktop Projectのアイコンを利用しています。" src="tango-logo.png" />
129
+ </a>
130
+ </p>
131
+
132
+ <!-- Piwik -->
133
+ <a href="http://piwik.org" title="Web analytics" onclick="window.open(this.href);return(false);">
134
+ <script type="text/javascript">
135
+ var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.clear-code.com/piwik/" : "http://www.clear-code.com/piwik/");
136
+ document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
137
+ </script><script type="text/javascript">
138
+ piwik_action_name = '';
139
+ piwik_idsite = 2;
140
+ piwik_url = pkBaseURL + "piwik.php";
141
+ piwik_log(piwik_action_name, piwik_idsite, piwik_url);
142
+ </script>
143
+ <object><noscript><p>Web analytics <img src="http://www.clear-code.com/piwik/piwik.php?idsite=2" style="border:0" alt=""/></p></noscript></object></a>
144
+ <!-- End Piwik Tag -->
145
+ </div>
146
+ </body>
147
+ </html>