rroonga 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.ja.rdoc +18 -0
- data/NEWS.rdoc +18 -0
- data/bin/grndump +71 -0
- data/ext/groonga/rb-grn-accessor.c +64 -1
- data/ext/groonga/rb-grn-context.c +40 -1
- data/ext/groonga/rb-grn-database.c +47 -5
- data/ext/groonga/rb-grn-index-column.c +77 -7
- data/ext/groonga/rb-grn-object.c +8 -4
- data/ext/groonga/rb-grn-table-cursor.c +56 -1
- data/ext/groonga/rb-grn-table-key-support.c +2 -2
- data/ext/groonga/rb-grn-table.c +10 -38
- data/ext/groonga/rb-grn.h +11 -1
- data/html/index.html +6 -6
- data/html/ranguba.css +8 -1
- data/lib/groonga.rb +1 -0
- data/lib/groonga/dumper.rb +481 -0
- data/lib/groonga/schema.rb +54 -181
- data/rroonga-build.rb +1 -1
- data/test-unit-notify/Rakefile +47 -0
- data/test-unit-notify/lib/test/unit/notify.rb +104 -0
- data/test-unit/COPYING +56 -0
- data/test-unit/GPL +340 -0
- data/test-unit/PSFL +271 -0
- data/test-unit/Rakefile +18 -5
- data/test-unit/html/bar.svg +153 -0
- data/test-unit/html/developer.svg +469 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.svg +82 -0
- data/test-unit/html/heading-mark.svg +393 -0
- data/test-unit/html/index.html +235 -13
- data/test-unit/html/index.html.ja +258 -15
- data/test-unit/html/install.svg +636 -0
- data/test-unit/html/logo.svg +483 -0
- data/test-unit/html/test-unit.css +339 -0
- data/test-unit/html/tutorial.svg +559 -0
- data/test-unit/lib/test/unit.rb +6 -1
- data/test-unit/lib/test/unit/assertions.rb +115 -11
- data/test-unit/lib/test/unit/autorunner.rb +5 -2
- data/test-unit/lib/test/unit/collector/load.rb +1 -1
- data/test-unit/lib/test/unit/color-scheme.rb +6 -2
- data/test-unit/lib/test/unit/diff.rb +17 -1
- data/test-unit/lib/test/unit/testcase.rb +7 -0
- data/test-unit/lib/test/unit/testresult.rb +34 -2
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +9 -45
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +2 -12
- data/test-unit/lib/test/unit/ui/testrunner.rb +25 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +1 -0
- data/test-unit/lib/test/unit/util/output.rb +31 -0
- data/test-unit/lib/test/unit/version.rb +1 -1
- data/test-unit/test/test-color-scheme.rb +4 -2
- data/test-unit/test/test_assertions.rb +51 -5
- data/test-unit/test/ui/test_tap.rb +33 -0
- data/test-unit/test/util/test-output.rb +11 -0
- data/test/groonga-test-utils.rb +1 -0
- data/test/test-accessor.rb +32 -0
- data/test/test-context.rb +7 -1
- data/test/test-database-dumper.rb +156 -0
- data/test/test-index-column.rb +67 -1
- data/test/test-schema-dumper.rb +181 -0
- data/test/test-schema.rb +53 -97
- data/test/test-table-dumper.rb +83 -0
- metadata +48 -11
- data/ext/groonga/mkmf.log +0 -99
- data/test-unit/html/classic.html +0 -15
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rroonga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
8
|
+
- 2
|
9
9
|
- 0
|
10
|
-
version: 1.
|
10
|
+
version: 1.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kouhei Sutou
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2011-
|
22
|
+
date: 2011-03-31 00:00:00 +09:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -38,6 +38,22 @@ dependencies:
|
|
38
38
|
version: 1.0.7
|
39
39
|
type: :runtime
|
40
40
|
version_requirements: *id001
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubyforge
|
43
|
+
prerelease: false
|
44
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
hash: 7
|
50
|
+
segments:
|
51
|
+
- 2
|
52
|
+
- 0
|
53
|
+
- 4
|
54
|
+
version: 2.0.4
|
55
|
+
type: :development
|
56
|
+
version_requirements: *id002
|
41
57
|
description: |-
|
42
58
|
rroonga is a extension library to use groonga's DB-API
|
43
59
|
layer. rroonga provides Rubyish readable and writable
|
@@ -51,12 +67,12 @@ executables: []
|
|
51
67
|
extensions:
|
52
68
|
- extconf.rb
|
53
69
|
extra_rdoc_files:
|
54
|
-
- README.ja.rdoc
|
55
|
-
- NEWS.ja.rdoc
|
56
70
|
- text/tutorial.ja.rdoc
|
57
71
|
- text/expression.rdoc
|
58
|
-
- README.rdoc
|
59
72
|
- NEWS.rdoc
|
73
|
+
- README.rdoc
|
74
|
+
- README.ja.rdoc
|
75
|
+
- NEWS.ja.rdoc
|
60
76
|
files:
|
61
77
|
- AUTHORS
|
62
78
|
- NEWS.ja.rdoc
|
@@ -70,6 +86,7 @@ files:
|
|
70
86
|
- benchmark/repeat-load.rb
|
71
87
|
- benchmark/select.rb
|
72
88
|
- benchmark/write-many-small-items.rb
|
89
|
+
- bin/grndump
|
73
90
|
- example/bookmark.rb
|
74
91
|
- example/index-html.rb
|
75
92
|
- example/search/config.ru
|
@@ -77,7 +94,6 @@ files:
|
|
77
94
|
- ext/.gitignore
|
78
95
|
- ext/groonga/extconf.rb
|
79
96
|
- ext/groonga/groonga.def
|
80
|
-
- ext/groonga/mkmf.log
|
81
97
|
- ext/groonga/rb-grn-accessor.c
|
82
98
|
- ext/groonga/rb-grn-array-cursor.c
|
83
99
|
- ext/groonga/rb-grn-array.c
|
@@ -136,6 +152,7 @@ files:
|
|
136
152
|
- html/tutorial.svg
|
137
153
|
- lib/groonga.rb
|
138
154
|
- lib/groonga/context.rb
|
155
|
+
- lib/groonga/dumper.rb
|
139
156
|
- lib/groonga/expression-builder.rb
|
140
157
|
- lib/groonga/pagination.rb
|
141
158
|
- lib/groonga/patricia-trie.rb
|
@@ -145,12 +162,25 @@ files:
|
|
145
162
|
- license/LGPL
|
146
163
|
- misc/grnop2ruby.rb
|
147
164
|
- rroonga-build.rb
|
165
|
+
- test-unit-notify/Rakefile
|
166
|
+
- test-unit-notify/lib/test/unit/notify.rb
|
167
|
+
- test-unit/COPYING
|
168
|
+
- test-unit/GPL
|
169
|
+
- test-unit/PSFL
|
148
170
|
- test-unit/Rakefile
|
149
171
|
- test-unit/TODO
|
150
172
|
- test-unit/bin/testrb
|
151
|
-
- test-unit/html/
|
173
|
+
- test-unit/html/bar.svg
|
174
|
+
- test-unit/html/developer.svg
|
175
|
+
- test-unit/html/favicon.ico
|
176
|
+
- test-unit/html/favicon.svg
|
177
|
+
- test-unit/html/heading-mark.svg
|
152
178
|
- test-unit/html/index.html
|
153
179
|
- test-unit/html/index.html.ja
|
180
|
+
- test-unit/html/install.svg
|
181
|
+
- test-unit/html/logo.svg
|
182
|
+
- test-unit/html/test-unit.css
|
183
|
+
- test-unit/html/tutorial.svg
|
154
184
|
- test-unit/lib/test/unit.rb
|
155
185
|
- test-unit/lib/test/unit/assertionfailederror.rb
|
156
186
|
- test-unit/lib/test/unit/assertions.rb
|
@@ -188,6 +218,7 @@ files:
|
|
188
218
|
- test-unit/lib/test/unit/util/backtracefilter.rb
|
189
219
|
- test-unit/lib/test/unit/util/method-owner-finder.rb
|
190
220
|
- test-unit/lib/test/unit/util/observable.rb
|
221
|
+
- test-unit/lib/test/unit/util/output.rb
|
191
222
|
- test-unit/lib/test/unit/util/procwrapper.rb
|
192
223
|
- test-unit/lib/test/unit/version.rb
|
193
224
|
- test-unit/sample/adder.rb
|
@@ -217,18 +248,22 @@ files:
|
|
217
248
|
- test-unit/test/test_testresult.rb
|
218
249
|
- test-unit/test/test_testsuite.rb
|
219
250
|
- test-unit/test/testunit-test-util.rb
|
251
|
+
- test-unit/test/ui/test_tap.rb
|
220
252
|
- test-unit/test/ui/test_testrunmediator.rb
|
221
253
|
- test-unit/test/util/test-method-owner-finder.rb
|
254
|
+
- test-unit/test/util/test-output.rb
|
222
255
|
- test-unit/test/util/test_backtracefilter.rb
|
223
256
|
- test-unit/test/util/test_observable.rb
|
224
257
|
- test-unit/test/util/test_procwrapper.rb
|
225
258
|
- test/.gitignore
|
226
259
|
- test/groonga-test-utils.rb
|
227
260
|
- test/run-test.rb
|
261
|
+
- test/test-accessor.rb
|
228
262
|
- test/test-array.rb
|
229
263
|
- test/test-column.rb
|
230
264
|
- test/test-context-select.rb
|
231
265
|
- test/test-context.rb
|
266
|
+
- test/test-database-dumper.rb
|
232
267
|
- test/test-database.rb
|
233
268
|
- test/test-encoding.rb
|
234
269
|
- test/test-exception.rb
|
@@ -247,11 +282,13 @@ files:
|
|
247
282
|
- test/test-record.rb
|
248
283
|
- test/test-remote.rb
|
249
284
|
- test/test-schema-create-table.rb
|
285
|
+
- test/test-schema-dumper.rb
|
250
286
|
- test/test-schema-type.rb
|
251
287
|
- test/test-schema-view.rb
|
252
288
|
- test/test-schema.rb
|
253
289
|
- test/test-snippet.rb
|
254
290
|
- test/test-table-cursor.rb
|
291
|
+
- test/test-table-dumper.rb
|
255
292
|
- test/test-table-offset-and-limit.rb
|
256
293
|
- test/test-table-select-mecab.rb
|
257
294
|
- test/test-table-select-normalize.rb
|
@@ -298,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
298
335
|
requirements: []
|
299
336
|
|
300
337
|
rubyforge_project: groonga
|
301
|
-
rubygems_version: 1.
|
338
|
+
rubygems_version: 1.6.2
|
302
339
|
signing_key:
|
303
340
|
specification_version: 3
|
304
341
|
summary: Ruby bindings for groonga that provides full text search and column store features.
|
data/ext/groonga/mkmf.log
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
checking for GCC... -------------------- yes
|
2
|
-
|
3
|
-
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -c conftest.c"
|
4
|
-
checked program was:
|
5
|
-
/* begin */
|
6
|
-
1: /*top*/
|
7
|
-
2: #ifndef __GNUC__
|
8
|
-
3: # error
|
9
|
-
4: >>>>>> __GNUC__ undefined <<<<<<
|
10
|
-
5: #endif
|
11
|
-
/* end */
|
12
|
-
|
13
|
-
--------------------
|
14
|
-
|
15
|
-
checking for Win32 OS... -------------------- no
|
16
|
-
|
17
|
-
--------------------
|
18
|
-
|
19
|
-
have_macro: checking for HAVE_RUBY_ST_H in ruby.h... -------------------- no
|
20
|
-
|
21
|
-
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/tmp/local/include/groonga -c conftest.c"
|
22
|
-
conftest.c:4:3: error: #error
|
23
|
-
conftest.c:5: error: expected identifier or ‘(’ before ‘>>’ token
|
24
|
-
checked program was:
|
25
|
-
/* begin */
|
26
|
-
1: #include <ruby.h>
|
27
|
-
2: /*top*/
|
28
|
-
3: #ifndef HAVE_RUBY_ST_H
|
29
|
-
4: # error
|
30
|
-
5: >>>>>> HAVE_RUBY_ST_H undefined <<<<<<
|
31
|
-
6: #endif
|
32
|
-
/* end */
|
33
|
-
|
34
|
-
--------------------
|
35
|
-
|
36
|
-
have_header: checking for ruby/st.h... -------------------- no
|
37
|
-
|
38
|
-
"gcc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/tmp/local/include/groonga conftest.c -o conftest.i"
|
39
|
-
conftest.c:1:21: error: ruby/st.h: そのようなファイルやディレクトリはありません
|
40
|
-
checked program was:
|
41
|
-
/* begin */
|
42
|
-
1: #include <ruby/st.h>
|
43
|
-
/* end */
|
44
|
-
|
45
|
-
--------------------
|
46
|
-
|
47
|
-
have_func: checking for rb_errinfo() in ruby.h... -------------------- no
|
48
|
-
|
49
|
-
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/tmp/local/include/groonga conftest.c -L. -L/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/tmp/local/lib -lgroonga -lruby1.8-static -lgroonga -lpthread -lrt -ldl -lcrypt -lm -lc"
|
50
|
-
conftest.c: In function ‘t’:
|
51
|
-
conftest.c:5: error: ‘rb_errinfo’ undeclared (first use in this function)
|
52
|
-
conftest.c:5: error: (Each undeclared identifier is reported only once
|
53
|
-
conftest.c:5: error: for each function it appears in.)
|
54
|
-
checked program was:
|
55
|
-
/* begin */
|
56
|
-
1: #include <ruby.h>
|
57
|
-
2:
|
58
|
-
3: /*top*/
|
59
|
-
4: int main() { return 0; }
|
60
|
-
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_errinfo; return 0; }
|
61
|
-
/* end */
|
62
|
-
|
63
|
-
"gcc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/tmp/local/include/groonga conftest.c -L. -L/usr/lib -L. -rdynamic -Wl,-export-dynamic -L/tmp/local/lib -lgroonga -lruby1.8-static -lgroonga -lpthread -lrt -ldl -lcrypt -lm -lc"
|
64
|
-
conftest.c: In function ‘t’:
|
65
|
-
conftest.c:5: warning: implicit declaration of function ‘rb_errinfo’
|
66
|
-
/tmp/cclVRR3N.o: In function `t':
|
67
|
-
/home/kou/work/ruby/rroonga.18/ext/groonga/conftest.c:5: undefined reference to `rb_errinfo'
|
68
|
-
collect2: ld returned 1 exit status
|
69
|
-
checked program was:
|
70
|
-
/* begin */
|
71
|
-
1: #include <ruby.h>
|
72
|
-
2:
|
73
|
-
3: /*top*/
|
74
|
-
4: int main() { return 0; }
|
75
|
-
5: int t() { rb_errinfo(); return 0; }
|
76
|
-
/* end */
|
77
|
-
|
78
|
-
--------------------
|
79
|
-
|
80
|
-
have_type: checking for enum ruby_value_type in ruby.h... -------------------- no
|
81
|
-
|
82
|
-
"gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.18/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/tmp/local/include/groonga -c conftest.c"
|
83
|
-
conftest.c:5: error: invalid application of ‘sizeof’ to incomplete type ‘conftest_type’
|
84
|
-
conftest.c:5: error: size of array ‘conftestval’ is negative
|
85
|
-
checked program was:
|
86
|
-
/* begin */
|
87
|
-
1: #include <ruby.h>
|
88
|
-
2:
|
89
|
-
3: /*top*/
|
90
|
-
4: typedef enum ruby_value_type conftest_type;
|
91
|
-
5: int conftestval[sizeof(conftest_type)?1:-1];
|
92
|
-
/* end */
|
93
|
-
|
94
|
-
--------------------
|
95
|
-
|
96
|
-
checking for debug flag... -------------------- no
|
97
|
-
|
98
|
-
--------------------
|
99
|
-
|
data/test-unit/html/classic.html
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Test::Unit (Classic)</title>
|
5
|
-
</head>
|
6
|
-
<body bgcolor="red">
|
7
|
-
<p style="text-align: center">
|
8
|
-
<img height="161" width="308" src="test-unit-classic.png">
|
9
|
-
<br>
|
10
|
-
<br>
|
11
|
-
<br>
|
12
|
-
Read the <a href="classic/test-unit/">rdoc</a>
|
13
|
-
</p>
|
14
|
-
</body>
|
15
|
-
</html>
|