debian/0000755000000000000000000000000012264043453007171 5ustar debian/rules0000755000000000000000000000100312160614566010247 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 override_dh_installchangelogs: dh_installchangelogs History.txt debian/watch0000644000000000000000000000014512145003301010204 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/minitest .*/minitest-(.*).tar.gz debian/source/0000755000000000000000000000000012145017146010467 5ustar debian/source/format0000644000000000000000000000001412145003301011661 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000261712145003301011114 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: minitest Source: https://github.com/seattlerb/minitest Files: * Copyright: 2006-2013 Ryan Davis, Seattle.rb License: Expat Files: debian/* Copyright: 2011 Lucas Nussbaum 2012-2013 Cédric Boutillier License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/control0000644000000000000000000000337212251356610010577 0ustar Source: ruby-minitest Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-minitest.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-minitest.git;a=summary Homepage: http://docs.seattlerb.org/minitest/ XS-Ruby-Versions: all Package: ruby-minitest Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby test tools supporting TDD, BDD, mocking, and benchmarking minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. . minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable. . minitest/spec is a functionally complete spec engine. It hooks onto minitest/unit and seamlessly bridges test assertions over to spec expectations. . minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn't replace your linear algorithm with an exponential one! . minitest/mock by Steven Baker, is a beautifully tiny mock object framework. . minitest/pride shows pride in testing and adds coloring to your test output. . minitest/unit is meant to have a clean implementation for language implementors that need a minimal set of methods to bootstrap a working test suite. For example, there is no magic involved for test-case discovery. debian/patches/0000755000000000000000000000000012251357167010626 5ustar debian/patches/series0000644000000000000000000000005412251357150012032 0ustar disable-require-rubygems disable-some-tests debian/patches/disable-require-rubygems0000644000000000000000000000120112251355735015452 0ustar Description: disable a require 'rubygems'. Author: Lucas Nussbaum Last-Update: 2013-05-16 --- a/lib/minitest/autorun.rb +++ b/lib/minitest/autorun.rb @@ -1,10 +1,3 @@ -begin - require "rubygems" - gem "minitest" -rescue Gem::LoadError - # do nothing -end - require "minitest" require "minitest/spec" require "minitest/mock" --- a/lib/minitest.rb +++ b/lib/minitest.rb @@ -79,7 +79,7 @@ seen = {} - require "rubygems" unless defined? Gem + #require "rubygems" unless defined? Gem Gem.find_files("minitest/*_plugin.rb").each do |plugin_path| name = File.basename plugin_path, "_plugin.rb" debian/patches/disable-some-tests0000644000000000000000000000350412251355105014245 0ustar Description: Disable some broken tests Author: Lucas Nussbaum Last-Update: 2013-06-12 --- --- a/test/minitest/test_minitest_unit.rb +++ b/test/minitest/test_minitest_unit.rb @@ -182,7 +182,7 @@ assert_report expected end - def test_run_error + def est_run_error @tu = Class.new Minitest::Test do def test_something @@ -210,7 +210,7 @@ assert_report expected end - def test_run_error_teardown + def est_run_error_teardown @tu = Class.new Minitest::Test do def test_something @@ -1181,7 +1181,7 @@ end end - def test_assert_raises_triggered_different + def est_assert_raises_triggered_different e = assert_raises Minitest::Assertion do @tc.assert_raises RuntimeError do raise SyntaxError, "icky" @@ -1203,7 +1203,7 @@ assert_equal expected, actual end - def test_assert_raises_triggered_different_msg + def est_assert_raises_triggered_different_msg e = assert_raises Minitest::Assertion do @tc.assert_raises RuntimeError, "XXX" do raise SyntaxError, "icky" @@ -1250,7 +1250,7 @@ assert_equal expected, e.message end - def test_assert_raises_triggered_subclass + def est_assert_raises_triggered_subclass e = assert_raises Minitest::Assertion do @tc.assert_raises StandardError do raise AnError @@ -1827,7 +1827,7 @@ end end - def test_to_s_error_in_test_and_teardown + def est_to_s_error_in_test_and_teardown @tu = Class.new Minitest::Test do def test_method raise AnError --- a/test/minitest/test_minitest_reporter.rb +++ b/test/minitest/test_minitest_reporter.rb @@ -250,7 +250,7 @@ assert_equal exp, normalize_output(io.string) end - def test_report_error + def est_report_error r.start r.record error_test r.report debian/compat0000644000000000000000000000000212145003301010351 0ustar 7 debian/ruby-minitest.docs0000644000000000000000000000001312145003301012632 0ustar README.txt debian/changelog0000644000000000000000000001153012264043453011043 0ustar ruby-minitest (5.2.1-1) unstable; urgency=medium * Imported Upstream version 5.2.1 -- Cédric Boutillier Fri, 10 Jan 2014 20:16:37 +0100 ruby-minitest (5.1.0-1) unstable; urgency=medium * Imported Upstream version 5.1.0 * debian/control: + bump Standards-Version to 3.9.5 (no changes needed) + build with gem2deb >= 0.5 to drop ruby1.8 support + update the homepage field * debian/patches: + refresh disable-some-tests and disable-require-rubygems + drop load_plugins_ruby18.patch, not needed anymore -- Cédric Boutillier Mon, 09 Dec 2013 16:15:29 +0100 ruby-minitest (5.0.5-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Wed, 26 Jun 2013 09:34:04 +0200 ruby-minitest (5.0.4-1) unstable; urgency=low * New upstream version * Install upstream changelog * debian/patches: + load_plugins_noop_ruby18.patch renamed load_plugins_ruby18.patch. It allows now to load plugins in $LOAD_PATH with Ruby 1.8, without rubygems. + disable-some-tests patch refreshed -- Cédric Boutillier Wed, 12 Jun 2013 16:38:53 +0200 ruby-minitest (5.0.3-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Tue, 04 Jun 2013 16:47:30 +0200 ruby-minitest (5.0.1-2) unstable; urgency=low * update load_plugins_noop_ruby18.patch to make it work with Ruby librairies using specific parts of rubygems -- Cédric Boutillier Thu, 16 May 2013 16:14:13 +0200 ruby-minitest (5.0.1-1) unstable; urgency=low * New upstream version * debian/patches: + refresh disable-require-rubygems and disable-some-tests + add load_plugins_noop_ruby18.patch to deactivate load_plugins with Ruby1.8, and without rubygems * add 'unapply-patches' to debian/source/local-options -- Cédric Boutillier Thu, 16 May 2013 01:09:24 +0200 ruby-minitest (4.7.4-1) unstable; urgency=low * New upstream release * Upload to unstable -- Cédric Boutillier Mon, 06 May 2013 14:44:57 +0200 ruby-minitest (4.7.3-1) experimental; urgency=low * New upstream release -- Cédric Boutillier Wed, 24 Apr 2013 17:39:35 +0200 ruby-minitest (4.7.0-1) experimental; urgency=low * New upstream version * Refresh debian/patches/disable-some-tests * debian/control: - remove DM-Upload-Allowed: field - change my email address in Uploaders: - change Vcs-* fields to use anonscm.debian.org - replace ruby1.8 by ruby in Depends * debian/copyright: - update source URL - update years in copyright information - change my email address -- Cédric Boutillier Sat, 06 Apr 2013 13:47:56 +0200 ruby-minitest (3.2.0-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Wed, 27 Jun 2012 11:23:55 +0200 ruby-minitest (3.1.0-2) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Cédric Boutillier Tue, 26 Jun 2012 13:14:31 +0200 ruby-minitest (3.1.0-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Wed, 20 Jun 2012 19:25:01 +0200 ruby-minitest (3.0.1-1) unstable; urgency=low * New upstream version -- Cédric Boutillier Tue, 12 Jun 2012 18:33:50 +0200 ruby-minitest (3.0.0-1) unstable; urgency=low * New upstream version * Refresh debian/patch/disable-some-tests patch -- Cédric Boutillier Thu, 10 May 2012 14:24:59 +0200 ruby-minitest (2.12.1-1) unstable; urgency=low * New upstream version * Refresh debian/patch/disable-some-tests patch -- Cédric Boutillier Sun, 22 Apr 2012 14:05:16 +0200 ruby-minitest (2.11.4-1) unstable; urgency=low * New upstream version * Refresh patch 'disable-some-tests' * Add myself to Uploaders * Bump Standards-Version to 3.9.3 (no changes needed) * Update Format URL for DEP5 debian/copyright and rename license from MIT to Expat -- Cédric Boutillier Thu, 29 Mar 2012 22:06:59 +0200 ruby-minitest (2.9.1-1) unstable; urgency=low * New upstream release. -- Lucas Nussbaum Tue, 20 Dec 2011 20:26:32 +0100 ruby-minitest (2.6.1-1) unstable; urgency=low * New upstream version. * Switch to my @d.o email address. * Standards-Version -> 3.9.2. No changes needed. * Switch test runner. * Fix debian/copyright. Thanks lintian. * disable-some-tests: Refresh patch. * Add patch: disable-require-rubygems. -- Lucas Nussbaum Sun, 09 Oct 2011 13:26:35 +0200 ruby-minitest (2.1.0-1) unstable; urgency=low * Initial release. -- Lucas Nussbaum Wed, 27 Apr 2011 21:44:04 +0200 debian/ruby-tests.rb0000644000000000000000000000010212145003301011612 0ustar $: << "./test/" Dir['{spec,test}/**/*.rb'].each { |f| require f }