debian/0000755000000000000000000000000012162413733007170 5ustar debian/rules0000755000000000000000000000130611722645625010260 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby # * moving out of the way test/run-test, the role of which is # played by debian/ruby-tests.rb # * not shipping bin/testrb override_dh_auto_install: mv test/run-test.rb test/run-test.rb.disable dh_auto_install mv test/run-test.rb.disable test/run-test.rb debian/watch0000644000000000000000000000014711636467050010231 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/test-unit .*/test-unit-(.*).tar.gz debian/source/0000755000000000000000000000000011636467050010476 5ustar debian/source/format0000644000000000000000000000001411636467050011704 0ustar 3.0 (quilt) debian/ruby-test-unit.docs0000644000000000000000000000001711636467050012761 0ustar README.textile debian/README.Debian0000644000000000000000000000123711637433121011233 0ustar ruby-test-unit for Debian ------------------------- This package overrides the bundled version of Test::Unit installed with the ruby interpreter. All programs requiring 'test/unit' will thus use this version instead of the default one. This is in particular true for /usr/bin/testrb1.8 and /usr/bin/testrb1.9.1. If the new behavior of testrb1.8 is almost the same as the old one (run testrb1.8 --help to get the full list of options), testrb1.9.1 will not work anymore. To run tests using Test::Unit with ruby1.9.1, you are invited to run testrb1.8 with the ruby1.9.1 interpreter. -- Cédric Boutillier , Sat, 24 Sep 2011 21:37:10 +0200 debian/copyright0000644000000000000000000001567312162413311011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: test-unit Source: http://test-unit.rubyforge.org/ Files: * Copyright: 2008-2013 Kouhei Sutou Ryan Davis 2000-2003 Nathaniel Talbott License: BSD-2-clause or Ruby Files: lib/test/unit/diff.rb Copyright: Copyright 2001-2008 Python Software Foundation Copyright 2008-2013 Kouhei Sutou License: BSD-2-clause or Ruby, and PSF Files: lib/test-unit.rb Copyright: 2012 Kouhei Sutou License: BSD-2-clause or Ruby or LGPL-2.1 Files: debian/* Copyright: 2011-2013 Cédric Boutillier License: BSD-2-clause or Ruby License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: LGPL-2.1 On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: PSF 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. . 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. . 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. . 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. . 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. . 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. . 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. . 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. License: Ruby You can redistribute it and/or modify it under either the terms of the 2-clause BSDL (see the file BSDL), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or binary form, provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under these terms. . For the list of those files and their copying conditions, see the file LEGAL. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. debian/control0000644000000000000000000000210212142270667010573 0ustar Source: ruby-test-unit Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-test-unit.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-test-unit.git;a=summary Homepage: http://test-unit.rubyforge.org/ XS-Ruby-Versions: all Package: ruby-test-unit Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Improved version of Test::Unit library initially bundled in Ruby 1.8 Test::Unit is a testing framework originally bundled with Ruby 1.8. . This package provides an updated version of this framework, with many fixes and improvements, and support for Ruby 1.9, which bundles minitest, but not Test::Unit. . Note that this version of Test::Unit will override the one possibly shipped with the Ruby interpreter. debian/compat0000644000000000000000000000000211636467050010374 0ustar 7 debian/changelog0000644000000000000000000000514112162413733011043 0ustar ruby-test-unit (2.5.5-1) unstable; urgency=low * New upstream version * Update copyright information -- Cédric Boutillier Wed, 26 Jun 2013 00:21:11 +0200 ruby-test-unit (2.5.4-2) unstable; urgency=low * Upload to unstable -- Cédric Boutillier Tue, 07 May 2013 14:49:35 +0200 ruby-test-unit (2.5.4-1) experimental; urgency=low * New upstream version * debian/control - bump Standards-Version: to 3.9.4 - remove obsolete DM-Upload-Allowed: field - change my email address - use anonscm.debian.org in Vcs-*: fields -- Cédric Boutillier Wed, 17 Apr 2013 10:45:03 +0200 ruby-test-unit (2.5.0-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Wed, 27 Jun 2012 09:21:44 +0200 ruby-test-unit (2.5.0-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Tue, 12 Jun 2012 09:12:38 +0200 ruby-test-unit (2.4.9-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Mon, 04 Jun 2012 16:41:54 +0200 ruby-test-unit (2.4.8-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Thu, 08 Mar 2012 00:26:10 +0100 ruby-test-unit (2.4.7-1) unstable; urgency=low * New upstream version * usr/bin/testrb dropped by upstream: no need to delete it anymore * Bumps Standards-Version to 3.9.3 (no change needed) * Update Format URL in the DEP5 debian/copyright file -- Cédric Boutillier Mon, 27 Feb 2012 09:54:47 +0100 ruby-test-unit (2.4.4-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Tue, 03 Jan 2012 23:49:25 +0100 ruby-test-unit (2.4.3-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Wed, 21 Dec 2011 10:34:35 +0100 ruby-test-unit (2.4.1-1) unstable; urgency=low * New upstream version * Drop 0010-fix_test_assert_equal_with_different_encoding.patch applied upstream -- Cédric Boutillier Wed, 09 Nov 2011 23:47:37 +0100 ruby-test-unit (2.4.0-1) unstable; urgency=low * Initial release (Closes: #626792) * add 0010-fix_test_assert_equal_with_different_encoding.patch to fix encoding issue in test/test-assertions.rb * document in README.Debian the fact that this package overrides test/unit bundled with the interpreter -- Cédric Boutillier Thu, 22 Sep 2011 10:31:08 +0200 debian/ruby-tests.rb0000644000000000000000000000053711636467050011651 0ustar # content inspired by test/run-test.rb $VERBOSE = true $KCODE = "utf8" unless "".respond_to?(:encoding) base_dir = File.expand_path(File.join(File.dirname(__FILE__), "..")) lib_dir = File.join(base_dir, "lib") test_dir = File.join(base_dir, "test") $LOAD_PATH.unshift(lib_dir) require 'test/unit' exit Test::Unit::AutoRunner.run(true, test_dir) debian/ruby-test-unit.examples0000644000000000000000000000001111636467050013641 0ustar sample/*