activegroonga 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. data/README.textile +55 -0
  2. data/Rakefile +45 -165
  3. data/{license/LGPL → doc/text/lgpl.txt} +0 -0
  4. data/doc/text/news.textile +60 -0
  5. data/doc/text/tutorial.textile +3 -0
  6. data/lib/active_groonga/base.rb +50 -2
  7. data/lib/active_groonga/railtie.rb +6 -5
  8. data/lib/active_groonga/railties/groonga.rake +8 -4
  9. data/lib/active_groonga/result_set.rb +133 -8
  10. data/lib/active_groonga/version.rb +1 -1
  11. data/test/active-groonga-test-utils.rb +6 -0
  12. data/test/run-test.rb +11 -24
  13. data/test/test-base.rb +10 -4
  14. data/test/test-result-set.rb +121 -9
  15. metadata +90 -138
  16. data/AUTHORS +0 -1
  17. data/NEWS.ja.rdoc +0 -46
  18. data/NEWS.rdoc +0 -46
  19. data/README.ja.rdoc +0 -52
  20. data/README.rdoc +0 -52
  21. data/test-unit-notify/Rakefile +0 -47
  22. data/test-unit-notify/lib/test/unit/notify.rb +0 -104
  23. data/test-unit/COPYING +0 -56
  24. data/test-unit/GPL +0 -340
  25. data/test-unit/PSFL +0 -271
  26. data/test-unit/Rakefile +0 -53
  27. data/test-unit/TODO +0 -5
  28. data/test-unit/bin/testrb +0 -5
  29. data/test-unit/html/bar.svg +0 -153
  30. data/test-unit/html/developer.svg +0 -469
  31. data/test-unit/html/favicon.ico +0 -0
  32. data/test-unit/html/favicon.svg +0 -82
  33. data/test-unit/html/heading-mark.svg +0 -393
  34. data/test-unit/html/index.html +0 -247
  35. data/test-unit/html/index.html.ja +0 -270
  36. data/test-unit/html/install.svg +0 -636
  37. data/test-unit/html/logo.svg +0 -483
  38. data/test-unit/html/test-unit.css +0 -339
  39. data/test-unit/html/tutorial.svg +0 -559
  40. data/test-unit/lib/test/unit.rb +0 -328
  41. data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
  42. data/test-unit/lib/test/unit/assertions.rb +0 -1334
  43. data/test-unit/lib/test/unit/attribute.rb +0 -125
  44. data/test-unit/lib/test/unit/autorunner.rb +0 -363
  45. data/test-unit/lib/test/unit/collector.rb +0 -36
  46. data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
  47. data/test-unit/lib/test/unit/collector/dir.rb +0 -108
  48. data/test-unit/lib/test/unit/collector/load.rb +0 -144
  49. data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
  50. data/test-unit/lib/test/unit/color-scheme.rb +0 -106
  51. data/test-unit/lib/test/unit/color.rb +0 -96
  52. data/test-unit/lib/test/unit/diff.rb +0 -740
  53. data/test-unit/lib/test/unit/error.rb +0 -130
  54. data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
  55. data/test-unit/lib/test/unit/failure.rb +0 -136
  56. data/test-unit/lib/test/unit/fixture.rb +0 -176
  57. data/test-unit/lib/test/unit/notification.rb +0 -129
  58. data/test-unit/lib/test/unit/omission.rb +0 -191
  59. data/test-unit/lib/test/unit/pending.rb +0 -150
  60. data/test-unit/lib/test/unit/priority.rb +0 -180
  61. data/test-unit/lib/test/unit/runner/console.rb +0 -52
  62. data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
  63. data/test-unit/lib/test/unit/runner/tap.rb +0 -8
  64. data/test-unit/lib/test/unit/testcase.rb +0 -483
  65. data/test-unit/lib/test/unit/testresult.rb +0 -121
  66. data/test-unit/lib/test/unit/testsuite.rb +0 -110
  67. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
  68. data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -430
  69. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
  70. data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
  71. data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
  72. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
  73. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
  74. data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
  75. data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
  76. data/test-unit/lib/test/unit/util/observable.rb +0 -90
  77. data/test-unit/lib/test/unit/util/output.rb +0 -31
  78. data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
  79. data/test-unit/lib/test/unit/version.rb +0 -7
  80. data/test-unit/sample/adder.rb +0 -13
  81. data/test-unit/sample/subtracter.rb +0 -12
  82. data/test-unit/sample/test_adder.rb +0 -20
  83. data/test-unit/sample/test_subtracter.rb +0 -20
  84. data/test-unit/sample/test_user.rb +0 -23
  85. data/test-unit/test/collector/test-descendant.rb +0 -133
  86. data/test-unit/test/collector/test-load.rb +0 -442
  87. data/test-unit/test/collector/test_dir.rb +0 -406
  88. data/test-unit/test/collector/test_objectspace.rb +0 -100
  89. data/test-unit/test/run-test.rb +0 -15
  90. data/test-unit/test/test-attribute.rb +0 -86
  91. data/test-unit/test/test-color-scheme.rb +0 -69
  92. data/test-unit/test/test-color.rb +0 -47
  93. data/test-unit/test/test-diff.rb +0 -518
  94. data/test-unit/test/test-emacs-runner.rb +0 -60
  95. data/test-unit/test/test-fixture.rb +0 -287
  96. data/test-unit/test/test-notification.rb +0 -33
  97. data/test-unit/test/test-omission.rb +0 -81
  98. data/test-unit/test/test-pending.rb +0 -70
  99. data/test-unit/test/test-priority.rb +0 -119
  100. data/test-unit/test/test-testcase.rb +0 -544
  101. data/test-unit/test/test_assertions.rb +0 -1197
  102. data/test-unit/test/test_error.rb +0 -26
  103. data/test-unit/test/test_failure.rb +0 -33
  104. data/test-unit/test/test_testresult.rb +0 -113
  105. data/test-unit/test/test_testsuite.rb +0 -129
  106. data/test-unit/test/testunit-test-util.rb +0 -14
  107. data/test-unit/test/ui/test_tap.rb +0 -33
  108. data/test-unit/test/ui/test_testrunmediator.rb +0 -20
  109. data/test-unit/test/util/test-method-owner-finder.rb +0 -38
  110. data/test-unit/test/util/test-output.rb +0 -11
  111. data/test-unit/test/util/test_backtracefilter.rb +0 -41
  112. data/test-unit/test/util/test_observable.rb +0 -102
  113. data/test-unit/test/util/test_procwrapper.rb +0 -36
@@ -1,271 +0,0 @@
1
- This is the official license for the Python 2.5 release:
2
-
3
- A. HISTORY OF THE SOFTWARE
4
- ==========================
5
-
6
- Python was created in the early 1990s by Guido van Rossum at Stichting
7
- Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
8
- as a successor of a language called ABC. Guido remains Python's
9
- principal author, although it includes many contributions from others.
10
-
11
- In 1995, Guido continued his work on Python at the Corporation for
12
- National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
13
- in Reston, Virginia where he released several versions of the
14
- software.
15
-
16
- In May 2000, Guido and the Python core development team moved to
17
- BeOpen.com to form the BeOpen PythonLabs team. In October of the same
18
- year, the PythonLabs team moved to Digital Creations (now Zope
19
- Corporation, see http://www.zope.com). In 2001, the Python Software
20
- Foundation (PSF, see http://www.python.org/psf/) was formed, a
21
- non-profit organization created specifically to own Python-related
22
- Intellectual Property. Zope Corporation is a sponsoring member of
23
- the PSF.
24
-
25
- All Python releases are Open Source (see http://www.opensource.org for
26
- the Open Source Definition). Historically, most, but not all, Python
27
- releases have also been GPL-compatible; the table below summarizes
28
- the various releases.
29
-
30
- Release Derived Year Owner GPL-
31
- from compatible? (1)
32
-
33
- 0.9.0 thru 1.2 1991-1995 CWI yes
34
- 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
35
- 1.6 1.5.2 2000 CNRI no
36
- 2.0 1.6 2000 BeOpen.com no
37
- 1.6.1 1.6 2001 CNRI yes (2)
38
- 2.1 2.0+1.6.1 2001 PSF no
39
- 2.0.1 2.0+1.6.1 2001 PSF yes
40
- 2.1.1 2.1+2.0.1 2001 PSF yes
41
- 2.2 2.1.1 2001 PSF yes
42
- 2.1.2 2.1.1 2002 PSF yes
43
- 2.1.3 2.1.2 2002 PSF yes
44
- 2.2.1 2.2 2002 PSF yes
45
- 2.2.2 2.2.1 2002 PSF yes
46
- 2.2.3 2.2.2 2003 PSF yes
47
- 2.3 2.2.2 2002-2003 PSF yes
48
- 2.3.1 2.3 2002-2003 PSF yes
49
- 2.3.2 2.3.1 2002-2003 PSF yes
50
- 2.3.3 2.3.2 2002-2003 PSF yes
51
- 2.3.4 2.3.3 2004 PSF yes
52
- 2.3.5 2.3.4 2005 PSF yes
53
- 2.4 2.3 2004 PSF yes
54
- 2.4.1 2.4 2005 PSF yes
55
- 2.4.2 2.4.1 2005 PSF yes
56
- 2.4.3 2.4.2 2006 PSF yes
57
- 2.5 2.4 2006 PSF yes
58
-
59
- Footnotes:
60
-
61
- (1) GPL-compatible doesn't mean that we're distributing Python under
62
- the GPL. All Python licenses, unlike the GPL, let you distribute
63
- a modified version without making your changes open source. The
64
- GPL-compatible licenses make it possible to combine Python with
65
- other software that is released under the GPL; the others don't.
66
-
67
- (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
68
- because its license has a choice of law clause. According to
69
- CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
70
- is "not incompatible" with the GPL.
71
-
72
- Thanks to the many outside volunteers who have worked under Guido's
73
- direction to make these releases possible.
74
-
75
-
76
- B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
77
- ===============================================================
78
-
79
- PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
80
- --------------------------------------------
81
-
82
- 1. This LICENSE AGREEMENT is between the Python Software Foundation
83
- ("PSF"), and the Individual or Organization ("Licensee") accessing and
84
- otherwise using this software ("Python") in source or binary form and
85
- its associated documentation.
86
-
87
- 2. Subject to the terms and conditions of this License Agreement, PSF
88
- hereby grants Licensee a nonexclusive, royalty-free, world-wide
89
- license to reproduce, analyze, test, perform and/or display publicly,
90
- prepare derivative works, distribute, and otherwise use Python
91
- alone or in any derivative version, provided, however, that PSF's
92
- License Agreement and PSF's notice of copyright, i.e., "Copyright (c)
93
- 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights
94
- Reserved" are retained in Python alone or in any derivative version
95
- prepared by Licensee.
96
-
97
- 3. In the event Licensee prepares a derivative work that is based on
98
- or incorporates Python or any part thereof, and wants to make
99
- the derivative work available to others as provided herein, then
100
- Licensee hereby agrees to include in any such work a brief summary of
101
- the changes made to Python.
102
-
103
- 4. PSF is making Python available to Licensee on an "AS IS"
104
- basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
105
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
106
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
107
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
108
- INFRINGE ANY THIRD PARTY RIGHTS.
109
-
110
- 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
111
- FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
112
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
113
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
114
-
115
- 6. This License Agreement will automatically terminate upon a material
116
- breach of its terms and conditions.
117
-
118
- 7. Nothing in this License Agreement shall be deemed to create any
119
- relationship of agency, partnership, or joint venture between PSF and
120
- Licensee. This License Agreement does not grant permission to use PSF
121
- trademarks or trade name in a trademark sense to endorse or promote
122
- products or services of Licensee, or any third party.
123
-
124
- 8. By copying, installing or otherwise using Python, Licensee
125
- agrees to be bound by the terms and conditions of this License
126
- Agreement.
127
-
128
-
129
- BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
130
- -------------------------------------------
131
-
132
- BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
133
-
134
- 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
135
- office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
136
- Individual or Organization ("Licensee") accessing and otherwise using
137
- this software in source or binary form and its associated
138
- documentation ("the Software").
139
-
140
- 2. Subject to the terms and conditions of this BeOpen Python License
141
- Agreement, BeOpen hereby grants Licensee a non-exclusive,
142
- royalty-free, world-wide license to reproduce, analyze, test, perform
143
- and/or display publicly, prepare derivative works, distribute, and
144
- otherwise use the Software alone or in any derivative version,
145
- provided, however, that the BeOpen Python License is retained in the
146
- Software, alone or in any derivative version prepared by Licensee.
147
-
148
- 3. BeOpen is making the Software available to Licensee on an "AS IS"
149
- basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
150
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
151
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
152
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
153
- INFRINGE ANY THIRD PARTY RIGHTS.
154
-
155
- 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
156
- SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
157
- AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
158
- DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
159
-
160
- 5. This License Agreement will automatically terminate upon a material
161
- breach of its terms and conditions.
162
-
163
- 6. This License Agreement shall be governed by and interpreted in all
164
- respects by the law of the State of California, excluding conflict of
165
- law provisions. Nothing in this License Agreement shall be deemed to
166
- create any relationship of agency, partnership, or joint venture
167
- between BeOpen and Licensee. This License Agreement does not grant
168
- permission to use BeOpen trademarks or trade names in a trademark
169
- sense to endorse or promote products or services of Licensee, or any
170
- third party. As an exception, the "BeOpen Python" logos available at
171
- http://www.pythonlabs.com/logos.html may be used according to the
172
- permissions granted on that web page.
173
-
174
- 7. By copying, installing or otherwise using the software, Licensee
175
- agrees to be bound by the terms and conditions of this License
176
- Agreement.
177
-
178
-
179
- CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
180
- ---------------------------------------
181
-
182
- 1. This LICENSE AGREEMENT is between the Corporation for National
183
- Research Initiatives, having an office at 1895 Preston White Drive,
184
- Reston, VA 20191 ("CNRI"), and the Individual or Organization
185
- ("Licensee") accessing and otherwise using Python 1.6.1 software in
186
- source or binary form and its associated documentation.
187
-
188
- 2. Subject to the terms and conditions of this License Agreement, CNRI
189
- hereby grants Licensee a nonexclusive, royalty-free, world-wide
190
- license to reproduce, analyze, test, perform and/or display publicly,
191
- prepare derivative works, distribute, and otherwise use Python 1.6.1
192
- alone or in any derivative version, provided, however, that CNRI's
193
- License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
194
- 1995-2001 Corporation for National Research Initiatives; All Rights
195
- Reserved" are retained in Python 1.6.1 alone or in any derivative
196
- version prepared by Licensee. Alternately, in lieu of CNRI's License
197
- Agreement, Licensee may substitute the following text (omitting the
198
- quotes): "Python 1.6.1 is made available subject to the terms and
199
- conditions in CNRI's License Agreement. This Agreement together with
200
- Python 1.6.1 may be located on the Internet using the following
201
- unique, persistent identifier (known as a handle): 1895.22/1013. This
202
- Agreement may also be obtained from a proxy server on the Internet
203
- using the following URL: http://hdl.handle.net/1895.22/1013".
204
-
205
- 3. In the event Licensee prepares a derivative work that is based on
206
- or incorporates Python 1.6.1 or any part thereof, and wants to make
207
- the derivative work available to others as provided herein, then
208
- Licensee hereby agrees to include in any such work a brief summary of
209
- the changes made to Python 1.6.1.
210
-
211
- 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
212
- basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
213
- IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
214
- DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
215
- FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
216
- INFRINGE ANY THIRD PARTY RIGHTS.
217
-
218
- 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
219
- 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
220
- A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
221
- OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
222
-
223
- 6. This License Agreement will automatically terminate upon a material
224
- breach of its terms and conditions.
225
-
226
- 7. This License Agreement shall be governed by the federal
227
- intellectual property law of the United States, including without
228
- limitation the federal copyright law, and, to the extent such
229
- U.S. federal law does not apply, by the law of the Commonwealth of
230
- Virginia, excluding Virginia's conflict of law provisions.
231
- Notwithstanding the foregoing, with regard to derivative works based
232
- on Python 1.6.1 that incorporate non-separable material that was
233
- previously distributed under the GNU General Public License (GPL), the
234
- law of the Commonwealth of Virginia shall govern this License
235
- Agreement only as to issues arising under or with respect to
236
- Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
237
- License Agreement shall be deemed to create any relationship of
238
- agency, partnership, or joint venture between CNRI and Licensee. This
239
- License Agreement does not grant permission to use CNRI trademarks or
240
- trade name in a trademark sense to endorse or promote products or
241
- services of Licensee, or any third party.
242
-
243
- 8. By clicking on the "ACCEPT" button where indicated, or by copying,
244
- installing or otherwise using Python 1.6.1, Licensee agrees to be
245
- bound by the terms and conditions of this License Agreement.
246
-
247
- ACCEPT
248
-
249
-
250
- CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
251
- --------------------------------------------------
252
-
253
- Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
254
- The Netherlands. All rights reserved.
255
-
256
- Permission to use, copy, modify, and distribute this software and its
257
- documentation for any purpose and without fee is hereby granted,
258
- provided that the above copyright notice appear in all copies and that
259
- both that copyright notice and this permission notice appear in
260
- supporting documentation, and that the name of Stichting Mathematisch
261
- Centrum or CWI not be used in advertising or publicity pertaining to
262
- distribution of the software without specific, written prior
263
- permission.
264
-
265
- STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
266
- THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
267
- FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
268
- FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
269
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
270
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
271
- OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,53 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- Encoding.default_internal = "UTF-8" if defined?(Encoding.default_internal)
4
-
5
- require 'rubygems'
6
- gem 'rdoc'
7
- require 'hoe'
8
- require './lib/test/unit/version.rb'
9
-
10
- ENV["NODOT"] = "yes"
11
-
12
- version = Test::Unit::VERSION
13
- ENV["VERSION"] = version
14
- project = Hoe.spec('test-unit') do
15
- Hoe::Test::SUPPORTED_TEST_FRAMEWORKS[:testunit2] = "test/run-test.rb"
16
- self.version = version
17
- developer('Kouhei Sutou', 'kou@cozmixng.org')
18
- developer('Ryan Davis', 'ryand-ruby@zenspider.com')
19
-
20
- # Ex-Parrot:
21
- # developer('Nathaniel Talbott', 'nathaniel@talbott.ws')
22
- end
23
-
24
- task :check_manifest => :clean_test_result
25
- task :check_manifest => :clean_coverage
26
-
27
- task :clean_test_result do
28
- test_results = Dir.glob("**/.test-result")
29
- sh("rm", "-rf", *test_results) unless test_results.empty?
30
- end
31
-
32
- task :clean_coverage do
33
- sh("rm", "-rf", "coverage")
34
- end
35
-
36
- desc "Publish HTML to Web site."
37
- task :publish_html do
38
- config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
39
- host = "#{config["username"]}@rubyforge.org"
40
-
41
- rsync_args = "-av --exclude '*.erb' --exclude '*.svg' --exclude .svn"
42
- remote_dir = "/var/www/gforge-projects/#{project.rubyforge_name}/"
43
- sh "rsync #{rsync_args} html/ #{host}:#{remote_dir}"
44
- end
45
-
46
- desc "Tag the current revision."
47
- task :tag do
48
- message = "Released Test::Unit #{version}!"
49
- base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/test-unit/"
50
- sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
51
- end
52
-
53
- # vim: syntax=Ruby
@@ -1,5 +0,0 @@
1
- * mock.
2
- * data-driven test.
3
- * port ruby trunk's assert_equal's intelligent inspection
4
- when inspected expected and actual are same content
5
- string.
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'test/unit'
3
- (r = Test::Unit::AutoRunner.new(true)).process_args(ARGV) or
4
- abort r.options.banner + " tests..."
5
- exit r.run
@@ -1,153 +0,0 @@
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
- width="22.25"
13
- height="48"
14
- id="svg10194"
15
- sodipodi:version="0.32"
16
- inkscape:version="0.46"
17
- version="1.0"
18
- sodipodi:docname="bar.svg"
19
- inkscape:output_extension="org.inkscape.output.svg.inkscape"
20
- inkscape:export-filename="/home/kou/work/c/milter-manager/html/bar.png"
21
- inkscape:export-xdpi="72"
22
- inkscape:export-ydpi="72">
23
- <defs
24
- id="defs10196">
25
- <filter
26
- inkscape:collect="always"
27
- id="filter10190"
28
- x="-0.0042679603"
29
- width="1.0085359"
30
- y="-0.26376387"
31
- height="1.5275277">
32
- <feGaussianBlur
33
- inkscape:collect="always"
34
- stdDeviation="1.331093"
35
- id="feGaussianBlur10192" />
36
- </filter>
37
- <linearGradient
38
- id="linearGradient10136"
39
- inkscape:collect="always">
40
- <stop
41
- id="stop10138"
42
- offset="0"
43
- style="stop-color:#f57900;stop-opacity:1;" />
44
- <stop
45
- id="stop10140"
46
- offset="1"
47
- style="stop-color:#fcaf3e;stop-opacity:1" />
48
- </linearGradient>
49
- <linearGradient
50
- inkscape:collect="always"
51
- xlink:href="#linearGradient10136"
52
- id="linearGradient10134"
53
- x1="316.17773"
54
- y1="89.416435"
55
- x2="316.17773"
56
- y2="82.569916"
57
- gradientUnits="userSpaceOnUse"
58
- gradientTransform="matrix(3e-2,0,0,3,358.91588,-160.60243)" />
59
- <linearGradient
60
- id="linearGradient10152"
61
- inkscape:collect="always">
62
- <stop
63
- id="stop10154"
64
- offset="0"
65
- style="stop-color:#ffffff;stop-opacity:1;" />
66
- <stop
67
- id="stop10156"
68
- offset="1"
69
- style="stop-color:#ffffff;stop-opacity:0;" />
70
- </linearGradient>
71
- <inkscape:perspective
72
- sodipodi:type="inkscape:persp3d"
73
- inkscape:vp_x="0 : 526.18109 : 1"
74
- inkscape:vp_y="0 : 1000 : 0"
75
- inkscape:vp_z="744.09448 : 526.18109 : 1"
76
- inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
77
- id="perspective10202" />
78
- <linearGradient
79
- inkscape:collect="always"
80
- xlink:href="#linearGradient10152"
81
- id="linearGradient10230"
82
- gradientUnits="userSpaceOnUse"
83
- gradientTransform="matrix(3.0006411e-2,0,0,2.7421563,358.91357,-137.86823)"
84
- x1="306.39508"
85
- y1="83.499619"
86
- x2="306.39508"
87
- y2="97.729294" />
88
- </defs>
89
- <sodipodi:namedview
90
- id="base"
91
- pagecolor="#ffffff"
92
- bordercolor="#666666"
93
- borderopacity="1.0"
94
- gridtolerance="10000"
95
- guidetolerance="10"
96
- objecttolerance="10"
97
- inkscape:pageopacity="0.0"
98
- inkscape:pageshadow="2"
99
- inkscape:zoom="3.959798"
100
- inkscape:cx="56.513145"
101
- inkscape:cy="10.662903"
102
- inkscape:document-units="px"
103
- inkscape:current-layer="layer1"
104
- showgrid="false"
105
- inkscape:window-width="843"
106
- inkscape:window-height="650"
107
- inkscape:window-x="137"
108
- inkscape:window-y="138" />
109
- <metadata
110
- id="metadata10199">
111
- <rdf:RDF>
112
- <cc:Work
113
- rdf:about="">
114
- <dc:format>image/svg+xml</dc:format>
115
- <dc:type
116
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
117
- </cc:Work>
118
- </rdf:RDF>
119
- </metadata>
120
- <g
121
- inkscape:label="Layer 1"
122
- inkscape:groupmode="layer"
123
- id="layer1"
124
- transform="translate(-358.96534,-80.494781)">
125
- <rect
126
- y="87.256226"
127
- x="-2.3278677"
128
- height="11.111678"
129
- width="747.51288"
130
- id="rect10160"
131
- style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#filter10190);enable-background:accumulate"
132
- transform="matrix(3e-2,0,0,3,358.98571,-173.62413)" />
133
- <rect
134
- style="opacity:1;fill:url(#linearGradient10134);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
135
- id="rect9356"
136
- width="22.425388"
137
- height="33.335033"
138
- x="358.91583"
139
- y="87.244781"
140
- inkscape:export-xdpi="72"
141
- inkscape:export-ydpi="72" />
142
- <path
143
- style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ce5c00;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
144
- d="M 358.91586,87.244781 L 381.34125,87.244781 M 381.34125,120.57982 L 358.91586,120.57982"
145
- id="rect10220"
146
- sodipodi:nodetypes="cccc" />
147
- <path
148
- style="opacity:0.33734945;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:url(#linearGradient10230);stroke-width:1.49652982;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
149
- d="M 381.34378,119.14706 L 358.9136,119.14706 M 358.9136,88.677084 L 381.34378,88.677084"
150
- id="rect10224"
151
- sodipodi:nodetypes="cccc" />
152
- </g>
153
- </svg>