debian/0000755000000000000000000000000012203447653007174 5ustar debian/rules0000755000000000000000000000003612203447653010253 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000307212203447653010601 0ustar Source: libtest-inline-perl Section: perl Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: libalgorithm-dependency-perl, libclass-autouse-perl, libconfig-tiny-perl, libfile-chmod-perl, libfile-find-rule-perl, libfile-flat-perl, libfile-slurp-perl, libparams-util-perl, libpod-tests-perl, libtest-script-perl, perl Maintainer: Debian Perl Group Uploaders: Jonas Genannt Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/Test-Inline/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libtest-inline-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtest-inline-perl.git;a=summary Package: libtest-inline-perl Architecture: all Depends: libalgorithm-dependency-perl, libclass-autouse-perl, libconfig-tiny-perl, libfile-chmod-perl, libfile-find-rule-perl, libfile-flat-perl, libfile-slurp-perl, libparams-util-perl, libpod-tests-perl, ${misc:Depends}, ${perl:Depends} Description: Perl extension for embed tests and code examples in POD Test::Inline is a way to embed tests in the same file as your source code rather than in a separate file. The idea is, the closer your tests are to your code and docs, the more likely you'll keep them up to date. debian/source/0000755000000000000000000000000012203447653010474 5ustar debian/source/format0000644000000000000000000000001412203447653011702 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000410712203447653011050 0ustar libtest-inline-perl (2.213-1) unstable; urgency=low * New Upstream Version * Changed Maintainer to Perl Group * reworked debian/ with dh-make-perl -- Jonas Genannt Fri, 16 Aug 2013 16:00:10 +0200 libtest-inline-perl (2.212-1) unstable; urgency=low * new upstream version * bumped standards version - dh_clean -k to dh_prep * bumped dehelper compat version * added ${misc:Depends} to package depends * changed PREFIX to DESTDIR -- Jonas Genannt Thu, 30 Jun 2011 21:32:25 +0200 libtest-inline-perl (2.208-1) unstable; urgency=low * New Upstream Release * new standards version * fixed build depends (lintian error) * new build depends: libtest-script-perl, libfile-chmod-perl -- Jonas Genannt Sun, 7 Dec 2008 00:17:22 +0200 libtest-inline-perl (2.201-1.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with Perl 5.10. Closes: #468010 -- Mark Hymers Sat, 05 Apr 2008 17:04:03 +0100 libtest-inline-perl (2.201-1) unstable; urgency=low * New Upstream Release * bumped to Standards-Version 3.7.2 (no changes needed) -- Jonas Genannt Sat, 10 Feb 2007 16:51:23 +0100 libtest-inline-perl (2.103-1) unstable; urgency=low * New upstream version (Closes: #335470) * debian/control cleanup (Closes: #181078) * debian/control new standards version * debian/control new depends: + libparams-util-perl + libpod-tests-perl + libalgorithm-dependency-perl + libfile-flat-perl * New Maintainer (Closes: #329990) * debian/rules cleanup -- Jonas Genannt Sun, 8 Jan 2006 12:23:23 +0200 libtest-inline-perl (0.16-1) unstable; urgency=low * New upstream version * Change Section: from interpreters to perl * debhelper compat v4 -- Ivan Kohler Sat, 7 Aug 2004 21:11:49 -0700 libtest-inline-perl (0.15-1) unstable; urgency=low * Initial Release (closes: Bug#179017). -- Ivan Kohler Wed, 29 Jan 2003 20:09:13 -0800 debian/compat0000644000000000000000000000000212203447653010372 0ustar 9 debian/patches/0000755000000000000000000000000012203447653010623 5ustar debian/patches/fix-spelling.patch0000644000000000000000000000631712203447653014254 0ustar Description: Fix some spelling errors Author: Jonas Genannt Forwarded: yes Bug: https://rt.cpan.org/Public/Bug/Display.html?id=87898 diff --git a/lib/Test/Inline.pm b/lib/Test/Inline.pm index f101f00..99ea86f 100644 --- a/lib/Test/Inline.pm +++ b/lib/Test/Inline.pm @@ -36,7 +36,7 @@ following. You can add as many, or as few, of these chunks of tests as you wish. The key condition when writing them is that they should be logically -independant of each other. Each chunk of testing code should not die +independent of each other. Each chunk of testing code should not die or crash if it is run before or after another chunk. Using L or another test compiler, you can then transform @@ -63,7 +63,7 @@ based on the test failures, you can correct your assumption. It's also extremely useful for systematically testing self-contained code. -That is, any code which can be independantly tested without the need for +That is, any code which can be independent tested without the need for external systems such as databases, and that has no side-effects on external systems. @@ -176,7 +176,7 @@ debugging information to STDOUT as it runs. B - The C option, if provided, will cause a manifest file to be created and written to disk. The manifest file contains a list -of all the test files generated, but listed in the prefered order they +of all the test files generated, but listed in the preferred order they should be processed to best satisfy the class-level dependency of the tests. @@ -771,7 +771,7 @@ sub _source { return $self->InputHandler->read(shift); } elsif ( $self->InputHandler->exists_dir($_[0]) ) { # Directory path - return shift; # Handled seperately + return shift; # Handled separately } return undef; } diff --git a/lib/Test/Inline/Section.pm b/lib/Test/Inline/Section.pm index 784dd34..603c244 100644 --- a/lib/Test/Inline/Section.pm +++ b/lib/Test/Inline/Section.pm @@ -54,7 +54,7 @@ are considered low priority, and we be run, in order of appearance, AFTER all named tests have been run. Any and all arguments used after "testing" must be in the form of simple -space seperated words. The first word is considered the "name" of the test. +space separated words. The first word is considered the "name" of the test. The intended use for these is generally to create one named test section for each function or method, but you can name them as you please. Test names B be unique, and B case sensitive. @@ -142,7 +142,7 @@ sub new { # Split into lines my @lines = split /(?:\015{1,2}\012|\015|\012)/, $pod; - # Handle =for example seperately + # Handle =for example separately if ( $pod =~ /^$RE_example\b/ ) { return $class->_example( \@lines, $context ); } @@ -349,7 +349,7 @@ sub _trim_empty_lines { Since version 1.50 L has been extracting package statements so that as the sections are extracted, we can determine which sections -belong to which packages, and seperate them accordingly. +belong to which packages, and separate them accordingly. The C method takes B of the elements from a file, and returns all of the Sections. By doing it here, we can track the package context debian/patches/series0000644000000000000000000000002312203447653012033 0ustar fix-spelling.patch debian/copyright0000644000000000000000000000316612203447653011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Test-Inline Source: https://metacpan.org/release/Test-Inline/ Upstream-Contact: Adam Kennedy Files: * Copyright: 2004-2013 Adam Kennedy License: GPL-1 or Artistic Files: inc/Module/* Copyright: 2002-2012 Adam Kennedy 2002-2012 Audrey Tang 2002-2012 Brian Ingerson License: GPL-1 or Artistic Files: inc/Module/Install/Can.pm Copyright: 2006-2012 Adam Kennedy 2006-2012 Audrey Tang License: GPL-1 or Artistic Files: inc/Module/Install/Base.pm Copyright: 2003-2004 Audrey Tang License: GPL-1 or Artistic Files: debian/* Copyright: 2003-2004 Ivan Kohler 2008 Mark Hymers 2006-2013 Jonas Genannt License: Artistic or GPL-1 License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000017012203447653010223 0ustar version=3 https://metacpan.org/release/Test-Inline/ \ .*/Test-Inline-(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)