rroonga 0.9.3-x86-mingw32 → 0.9.4-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.ja.rdoc +13 -0
- data/NEWS.rdoc +13 -0
- data/Rakefile +1 -1
- data/ext/groonga/extconf.rb +4 -3
- data/ext/groonga/rb-grn.h +698 -0
- data/html/developer.html +10 -7
- data/html/index.html +1 -1
- data/lib/1.8/groonga.so +0 -0
- data/lib/1.9/groonga.so +0 -0
- data/pkg-config.rb +1 -1
- data/test/run-test.rb +9 -3
- data/vendor/local/bin/libgroonga-0.dll +0 -0
- data/vendor/local/include/groonga.h +2285 -0
- data/vendor/local/lib/libgroonga.la +41 -0
- metadata +37 -85
- data/ext/groonga/mkmf.log +0 -99
- data/test-unit/Rakefile +0 -40
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/classic.html +0 -15
- data/test-unit/html/index.html +0 -25
- data/test-unit/html/index.html.ja +0 -27
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1230
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -360
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -144
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector.rb +0 -36
- data/test-unit/lib/test/unit/color-scheme.rb +0 -102
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -724
- data/test-unit/lib/test/unit/error.rb +0 -130
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -176
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/testcase.rb +0 -476
- data/test-unit/lib/test/unit/testresult.rb +0 -89
- data/test-unit/lib/test/unit/testsuite.rb +0 -110
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -466
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -92
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -28
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/lib/test/unit.rb +0 -323
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -15
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -67
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -287
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -544
- data/test-unit/test/test_assertions.rb +0 -1151
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -129
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
@@ -0,0 +1,41 @@
|
|
1
|
+
# libgroonga.la - a libtool library file
|
2
|
+
# Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2
|
3
|
+
#
|
4
|
+
# Please DO NOT delete this file!
|
5
|
+
# It is necessary for linking the library.
|
6
|
+
|
7
|
+
# The name that we can dlopen(3).
|
8
|
+
dlname='../bin/libgroonga-0.dll'
|
9
|
+
|
10
|
+
# Names of this library.
|
11
|
+
library_names='libgroonga.dll.a'
|
12
|
+
|
13
|
+
# The name of the static archive.
|
14
|
+
old_library='libgroonga.a'
|
15
|
+
|
16
|
+
# Linker flags that can not go in dependency_libs.
|
17
|
+
inherited_linker_flags=''
|
18
|
+
|
19
|
+
# Libraries that this one depends upon.
|
20
|
+
dependency_libs=' -ladvapi32 -lws2_32'
|
21
|
+
|
22
|
+
# Names of additional weak libraries provided by this library
|
23
|
+
weak_library_names=''
|
24
|
+
|
25
|
+
# Version information for libgroonga.
|
26
|
+
current=0
|
27
|
+
age=0
|
28
|
+
revision=0
|
29
|
+
|
30
|
+
# Is this an already installed library?
|
31
|
+
installed=yes
|
32
|
+
|
33
|
+
# Should we warn about portability when linking against -modules?
|
34
|
+
shouldnotlink=no
|
35
|
+
|
36
|
+
# Files to dlopen/dlpreopen
|
37
|
+
dlopen=''
|
38
|
+
dlpreopen=''
|
39
|
+
|
40
|
+
# Directory that this library needs to be installed in:
|
41
|
+
libdir='/tmp/local/lib'
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 4
|
9
|
+
version: 0.9.4
|
10
10
|
platform: x86-mingw32
|
11
11
|
authors:
|
12
12
|
- Kouhei Sutou
|
@@ -18,10 +18,37 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-04-
|
21
|
+
date: 2010-04-22 00:00:00 +09:00
|
22
22
|
default_executable:
|
23
|
-
dependencies:
|
24
|
-
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: rubyforge
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
requirements:
|
29
|
+
- - ">="
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 0
|
34
|
+
- 4
|
35
|
+
version: 2.0.4
|
36
|
+
type: :development
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: gemcutter
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 5
|
48
|
+
- 0
|
49
|
+
version: 0.5.0
|
50
|
+
type: :development
|
51
|
+
version_requirements: *id002
|
25
52
|
description: |-
|
26
53
|
rroonga is a extension library to use groonga's DB-API
|
27
54
|
layer. rroonga provides Rubyish readable and writable
|
@@ -35,11 +62,11 @@ executables: []
|
|
35
62
|
extensions: []
|
36
63
|
|
37
64
|
extra_rdoc_files:
|
38
|
-
- README.
|
65
|
+
- README.rdoc
|
39
66
|
- NEWS.ja.rdoc
|
40
67
|
- text/TUTORIAL.ja.rdoc
|
41
68
|
- text/expression.rdoc
|
42
|
-
- README.rdoc
|
69
|
+
- README.ja.rdoc
|
43
70
|
- NEWS.rdoc
|
44
71
|
files:
|
45
72
|
- AUTHORS
|
@@ -57,7 +84,6 @@ files:
|
|
57
84
|
- example/search/public/css/groonga.css
|
58
85
|
- ext/.gitignore
|
59
86
|
- ext/groonga/extconf.rb
|
60
|
-
- ext/groonga/mkmf.log
|
61
87
|
- ext/groonga/rb-grn-accessor.c
|
62
88
|
- ext/groonga/rb-grn-array-cursor.c
|
63
89
|
- ext/groonga/rb-grn-array.c
|
@@ -94,6 +120,7 @@ files:
|
|
94
120
|
- ext/groonga/rb-grn-view-cursor.c
|
95
121
|
- ext/groonga/rb-grn-view-record.c
|
96
122
|
- ext/groonga/rb-grn-view.c
|
123
|
+
- ext/groonga/rb-grn.h
|
97
124
|
- ext/groonga/rb-groonga.c
|
98
125
|
- extconf.rb
|
99
126
|
- html/bar.svg
|
@@ -123,83 +150,6 @@ files:
|
|
123
150
|
- misc/grnop2ruby.rb
|
124
151
|
- pkg-config.rb
|
125
152
|
- rroonga-build.rb
|
126
|
-
- test-unit/Rakefile
|
127
|
-
- test-unit/TODO
|
128
|
-
- test-unit/bin/testrb
|
129
|
-
- test-unit/html/classic.html
|
130
|
-
- test-unit/html/index.html
|
131
|
-
- test-unit/html/index.html.ja
|
132
|
-
- test-unit/lib/test/unit.rb
|
133
|
-
- test-unit/lib/test/unit/assertionfailederror.rb
|
134
|
-
- test-unit/lib/test/unit/assertions.rb
|
135
|
-
- test-unit/lib/test/unit/attribute.rb
|
136
|
-
- test-unit/lib/test/unit/autorunner.rb
|
137
|
-
- test-unit/lib/test/unit/collector.rb
|
138
|
-
- test-unit/lib/test/unit/collector/descendant.rb
|
139
|
-
- test-unit/lib/test/unit/collector/dir.rb
|
140
|
-
- test-unit/lib/test/unit/collector/load.rb
|
141
|
-
- test-unit/lib/test/unit/collector/objectspace.rb
|
142
|
-
- test-unit/lib/test/unit/color-scheme.rb
|
143
|
-
- test-unit/lib/test/unit/color.rb
|
144
|
-
- test-unit/lib/test/unit/diff.rb
|
145
|
-
- test-unit/lib/test/unit/error.rb
|
146
|
-
- test-unit/lib/test/unit/exceptionhandler.rb
|
147
|
-
- test-unit/lib/test/unit/failure.rb
|
148
|
-
- test-unit/lib/test/unit/fixture.rb
|
149
|
-
- test-unit/lib/test/unit/notification.rb
|
150
|
-
- test-unit/lib/test/unit/omission.rb
|
151
|
-
- test-unit/lib/test/unit/pending.rb
|
152
|
-
- test-unit/lib/test/unit/priority.rb
|
153
|
-
- test-unit/lib/test/unit/runner/console.rb
|
154
|
-
- test-unit/lib/test/unit/runner/emacs.rb
|
155
|
-
- test-unit/lib/test/unit/runner/tap.rb
|
156
|
-
- test-unit/lib/test/unit/testcase.rb
|
157
|
-
- test-unit/lib/test/unit/testresult.rb
|
158
|
-
- test-unit/lib/test/unit/testsuite.rb
|
159
|
-
- test-unit/lib/test/unit/ui/console/outputlevel.rb
|
160
|
-
- test-unit/lib/test/unit/ui/console/testrunner.rb
|
161
|
-
- test-unit/lib/test/unit/ui/emacs/testrunner.rb
|
162
|
-
- test-unit/lib/test/unit/ui/tap/testrunner.rb
|
163
|
-
- test-unit/lib/test/unit/ui/testrunner.rb
|
164
|
-
- test-unit/lib/test/unit/ui/testrunnermediator.rb
|
165
|
-
- test-unit/lib/test/unit/ui/testrunnerutilities.rb
|
166
|
-
- test-unit/lib/test/unit/util/backtracefilter.rb
|
167
|
-
- test-unit/lib/test/unit/util/method-owner-finder.rb
|
168
|
-
- test-unit/lib/test/unit/util/observable.rb
|
169
|
-
- test-unit/lib/test/unit/util/procwrapper.rb
|
170
|
-
- test-unit/lib/test/unit/version.rb
|
171
|
-
- test-unit/sample/adder.rb
|
172
|
-
- test-unit/sample/subtracter.rb
|
173
|
-
- test-unit/sample/test_adder.rb
|
174
|
-
- test-unit/sample/test_subtracter.rb
|
175
|
-
- test-unit/sample/test_user.rb
|
176
|
-
- test-unit/test/collector/test-descendant.rb
|
177
|
-
- test-unit/test/collector/test-load.rb
|
178
|
-
- test-unit/test/collector/test_dir.rb
|
179
|
-
- test-unit/test/collector/test_objectspace.rb
|
180
|
-
- test-unit/test/run-test.rb
|
181
|
-
- test-unit/test/test-attribute.rb
|
182
|
-
- test-unit/test/test-color-scheme.rb
|
183
|
-
- test-unit/test/test-color.rb
|
184
|
-
- test-unit/test/test-diff.rb
|
185
|
-
- test-unit/test/test-emacs-runner.rb
|
186
|
-
- test-unit/test/test-fixture.rb
|
187
|
-
- test-unit/test/test-notification.rb
|
188
|
-
- test-unit/test/test-omission.rb
|
189
|
-
- test-unit/test/test-pending.rb
|
190
|
-
- test-unit/test/test-priority.rb
|
191
|
-
- test-unit/test/test-testcase.rb
|
192
|
-
- test-unit/test/test_assertions.rb
|
193
|
-
- test-unit/test/test_error.rb
|
194
|
-
- test-unit/test/test_failure.rb
|
195
|
-
- test-unit/test/test_testresult.rb
|
196
|
-
- test-unit/test/test_testsuite.rb
|
197
|
-
- test-unit/test/testunit-test-util.rb
|
198
|
-
- test-unit/test/ui/test_testrunmediator.rb
|
199
|
-
- test-unit/test/util/test-method-owner-finder.rb
|
200
|
-
- test-unit/test/util/test_backtracefilter.rb
|
201
|
-
- test-unit/test/util/test_observable.rb
|
202
|
-
- test-unit/test/util/test_procwrapper.rb
|
203
153
|
- test/.gitignore
|
204
154
|
- test/groonga-test-utils.rb
|
205
155
|
- test/run-test.rb
|
@@ -239,6 +189,8 @@ files:
|
|
239
189
|
- text/TUTORIAL.ja.rdoc
|
240
190
|
- text/expression.rdoc
|
241
191
|
- vendor/local/bin/libgroonga-0.dll
|
192
|
+
- vendor/local/include/groonga.h
|
193
|
+
- vendor/local/lib/libgroonga.la
|
242
194
|
- lib/1.8/groonga.so
|
243
195
|
- lib/1.9/groonga.so
|
244
196
|
has_rdoc: true
|
data/ext/groonga/mkmf.log
DELETED
@@ -1,99 +0,0 @@
|
|
1
|
-
checking for GCC... -------------------- yes
|
2
|
-
|
3
|
-
"cc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -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
|
-
"cc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -Wall -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
|
-
"cc -E -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -Wall 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
|
-
"cc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -Wall 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
|
-
"cc -o conftest -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -Wall 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/ccSSkcs5.o: In function `t':
|
67
|
-
/home/kou/work/ruby/rroonga.win32/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
|
-
"cc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/home/kou/work/ruby/rroonga.win32/ext/groonga -fno-strict-aliasing -g -g -O2 -fPIC -I/tmp/local/include/groonga -Wall -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/Rakefile
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
gem 'rdoc'
|
5
|
-
require 'hoe'
|
6
|
-
require './lib/test/unit/version.rb'
|
7
|
-
|
8
|
-
ENV["NODOT"] = "yes"
|
9
|
-
|
10
|
-
version = Test::Unit::VERSION
|
11
|
-
ENV["VERSION"] = version
|
12
|
-
Hoe.spec('test-unit') do |p|
|
13
|
-
Hoe::Test::SUPPORTED_TEST_FRAMEWORKS[:testunit2] = "test/run-test.rb"
|
14
|
-
p.version = version
|
15
|
-
p.developer('Kouhei Sutou', 'kou@cozmixng.org')
|
16
|
-
p.developer('Ryan Davis', 'ryand-ruby@zenspider.com')
|
17
|
-
|
18
|
-
# Ex-Parrot:
|
19
|
-
# p.developer('Nathaniel Talbott', 'nathaniel@talbott.ws')
|
20
|
-
end
|
21
|
-
|
22
|
-
task :check_manifest => :clean_test_result
|
23
|
-
task :check_manifest => :clean_coverage
|
24
|
-
|
25
|
-
task :clean_test_result do
|
26
|
-
test_results = Dir.glob("**/.test-result")
|
27
|
-
sh("rm", "-rf", *test_results) unless test_results.empty?
|
28
|
-
end
|
29
|
-
|
30
|
-
task :clean_coverage do
|
31
|
-
sh("rm", "-rf", "coverage")
|
32
|
-
end
|
33
|
-
|
34
|
-
task :tag do
|
35
|
-
message = "Released Test::Unit #{version}!"
|
36
|
-
base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/test-unit/"
|
37
|
-
sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
|
38
|
-
end
|
39
|
-
|
40
|
-
# vim: syntax=Ruby
|
data/test-unit/TODO
DELETED
data/test-unit/bin/testrb
DELETED
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>
|
data/test-unit/html/index.html
DELETED
@@ -1,25 +0,0 @@
|
|
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="en" xml:lang="en">
|
6
|
-
<head>
|
7
|
-
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
8
|
-
<title>Test::Unit - a Unit Testing Framework for Ruby</title>
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
<h1>Test::Unit - a Unit Testing Framework for Ruby</h1>
|
12
|
-
<p>[<a href="index.html.ja">Japanese</a>]</p>
|
13
|
-
<ul>
|
14
|
-
<li><a href="http://rubyforge.org/projects/test-unit/">Project Page</a></li>
|
15
|
-
<li>
|
16
|
-
<a href="test-unit/">RDoc</a>
|
17
|
-
<!--(<a href="ja/test-unit/">ja</a>)-->
|
18
|
-
</li>
|
19
|
-
<li>
|
20
|
-
<a href="classic.html">Classic</a>
|
21
|
-
<!--(<a href="ja/classic.html">ja</a>)-->
|
22
|
-
</li>
|
23
|
-
</ul>
|
24
|
-
</body>
|
25
|
-
</html>
|
@@ -1,27 +0,0 @@
|
|
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
|
-
<title>Test::Unit - Ruby用単体テストフレームワーク</title>
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
<h1>Test::Unit - Ruby用単体テストフレームワーク</h1>
|
12
|
-
<p>[<a href="./">English</a>]</p>
|
13
|
-
<ul>
|
14
|
-
<li>
|
15
|
-
<a href="http://rubyforge.org/projects/test-unit/">プロジェクトページ</a>
|
16
|
-
</li>
|
17
|
-
<li>
|
18
|
-
<!--<a href="ja/test-unit/">RDoc</a>-->
|
19
|
-
RDoc(<a href="test-unit/">en</a>)
|
20
|
-
</li>
|
21
|
-
<li>
|
22
|
-
<!--<a href="classic.html.html">Classic</a>-->
|
23
|
-
Classic(<a href="classic.html">en</a>)
|
24
|
-
</li>
|
25
|
-
</ul>
|
26
|
-
</body>
|
27
|
-
</html>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
#--
|
2
|
-
#
|
3
|
-
# Author:: Nathaniel Talbott.
|
4
|
-
# Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved.
|
5
|
-
# License:: Ruby license.
|
6
|
-
|
7
|
-
module Test
|
8
|
-
module Unit
|
9
|
-
|
10
|
-
# Thrown by Test::Unit::Assertions when an assertion fails.
|
11
|
-
class AssertionFailedError < StandardError
|
12
|
-
attr_accessor :expected, :actual, :user_message
|
13
|
-
attr_accessor :inspected_expected, :inspected_actual
|
14
|
-
def initialize(message=nil, options=nil)
|
15
|
-
options ||= {}
|
16
|
-
@expected = options[:expected]
|
17
|
-
@actual = options[:actual]
|
18
|
-
@inspected_expected = options[:inspected_expected]
|
19
|
-
@inspected_actual = options[:inspected_actual]
|
20
|
-
@user_message = options[:user_message]
|
21
|
-
super(message)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|