Skip to content

Commit

Permalink
32-bit math fixes in the test suite
Browse files Browse the repository at this point in the history
    * More pod cleanup
        - Fix bad internal link in N::B::Version
    * fix t/[...]/Protocol.t failures due to the limits of 32-bit math
    * tatoeba/*.pl shorten =head1 NAME content so it doesn't wrap on search.cpan.org
  • Loading branch information
sanko committed Jan 27, 2009
1 parent 56a7b7c commit fac4ae0
Show file tree
Hide file tree
Showing 10 changed files with 118 additions and 104 deletions.
10 changes: 5 additions & 5 deletions Changes
@@ -1,4 +1,4 @@
Version 0.0XX | Distant future | 6929734
Version 0.0XX | Distant future | 56a7b7c

API Changes/Compatibility Information:
* None
Expand Down Expand Up @@ -376,7 +376,7 @@ _ -.-. .... .- -. --. . ... _________________________________________
For more information, see the commit log:
http://github.com/sanko/net-bittorrent/commits/master

$Ver: 0.049_003 $ from git
$Date: 2009-01-05 22:38:02Z (Mon, 05 Jan 2009) $
$Rev: 6929734ce43c61d44670d1deee94c388408240ba $
$Url: http://github.com/sanko/net-bittorrent/raw/6929734ce43c61d44670d1deee94c388408240ba/Changes $
$Ver: 0.049_004 $ from git
$Date: 2009-01-27 02:13:14Z (Tue, 27 Jan 2009) $
$Rev: 56a7b7cf26a0abfcb71202e2eea9c006aa8b8426 $
$Url: http://github.com/sanko/net-bittorrent/raw/56a7b7cf26a0abfcb71202e2eea9c006aa8b8426/Changes $
4 changes: 2 additions & 2 deletions Notes.pod
Expand Up @@ -120,7 +120,7 @@ To view a fully functioning example, see C</tatoeba/004-resume.pl>.

For more on what exactly you're saving and the structure of the data, see
L<Resume API|/"Resume API"> in the
<Net::BitTorrent Internals/|"Net::BitTorrent Internals"> section.
<Net::BitTorrent Internals|/"Net::BitTorrent Internals"> section.

=head2 Save and Restore Client-wide State and DHT Data

Expand Down Expand Up @@ -637,6 +637,6 @@ clarification, see http://creativecommons.org/licenses/by-sa/3.0/us/.
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.

=for svn $Id: Notes.pod 6929734 2009-01-05 22:38:02Z sanko@cpan.org $
=for svn $Id: Notes.pod 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $

=cut
2 changes: 1 addition & 1 deletion README
Expand Up @@ -62,4 +62,4 @@ License and Legal

Neither this module nor the Author is affiliated with BitTorrent, Inc.

$Id: README b894db1 2008-12-05 04:54:43Z sanko@cpan.org $
$Id: README 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
4 changes: 2 additions & 2 deletions lib/Net/BitTorrent/Version.pm
Expand Up @@ -4,7 +4,7 @@ package Net::BitTorrent::Version;
use strict;
use warnings;
use version qw[qv];
our $VERSION_BASE = 49; our $UNSTABLE_RELEASE = 3; our $VERSION = sprintf(($UNSTABLE_RELEASE ? q[%.3f_%03d] : q[%.3f]), (version->new(($VERSION_BASE))->numify / 1000), $UNSTABLE_RELEASE);
our $VERSION_BASE = 49; our $UNSTABLE_RELEASE = 4; our $VERSION = sprintf(($UNSTABLE_RELEASE ? q[%.3f_%03d] : q[%.3f]), (version->new(($VERSION_BASE))->numify / 1000), $UNSTABLE_RELEASE);
our $PRODUCT_TOKEN = qq[Net::BitTorrent $VERSION];

sub gen_peerid {
Expand Down Expand Up @@ -170,6 +170,6 @@ clarification, see http://creativecommons.org/licenses/by-sa/3.0/us/.
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: Version.pm 6929734 2009-01-05 22:38:02Z sanko@cpan.org $
=for svn $Id: Version.pm 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut
184 changes: 99 additions & 85 deletions t/700_classes/Net/BitTorrent/Protocol.t

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tatoeba/000-basic.pl
Expand Up @@ -69,6 +69,6 @@ =head1 License and Legal
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: 000-basic.pl d230426 2008-12-30 23:25:17Z sanko@cpan.org $
=for svn $Id: 000-basic.pl 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut
4 changes: 2 additions & 2 deletions tatoeba/001-torrent-info.pl
Expand Up @@ -13,7 +13,7 @@
=head1 NAME
/tatoeba/001-torrent-info.pl - Use Net::BitTorrent to gather information
001-torrent-info.pl - Demonstration of using a standalone Net::BitTorrent::Torrent object to gather information
=head1 Description
Expand Down Expand Up @@ -89,6 +89,6 @@ =head1 License and Legal
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: 001-torrent-info.pl d230426 2008-12-30 23:25:17Z sanko@cpan.org $
=for svn $Id: 001-torrent-info.pl 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut
4 changes: 2 additions & 2 deletions tatoeba/002-debug.pl
Expand Up @@ -162,7 +162,7 @@ sub packet_type {
=head1 NAME
/tatoeba/002-debug.pl - Logs EVERYTHING to a file for debugging
002-debug.pl - Demonstration script that logs EVERYTHING
=head1 Description
Expand Down Expand Up @@ -198,6 +198,6 @@ =head1 License and Legal
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: 002-debug.pl 6929734 2009-01-05 22:38:02Z sanko@cpan.org $
=for svn $Id: 002-debug.pl 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut
4 changes: 2 additions & 2 deletions tatoeba/003-threads.pl
Expand Up @@ -23,7 +23,7 @@
=head1 NAME
/tatoeba/003-threads.pl - Trivial, Multi-threaded Example
003-threads.pl - Trivial Demonstration of a Multi-threaded Client
=head1 Description
Expand Down Expand Up @@ -120,6 +120,6 @@ =head1 License and Legal
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: 003-threads.pl 5a297aa 2009-01-02 17:39:49Z sanko@cpan.org $
=for svn $Id: 003-threads.pl 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut
4 changes: 2 additions & 2 deletions tatoeba/004-resume.pl
Expand Up @@ -50,7 +50,7 @@ sub _percent_complete {
=head1 NAME
/tatoeba/004-resume.pl - Demonstration of Net::BitTorrent::Torrent's Resume System
004-resume.pl - Demonstration of Net::BitTorrent::Torrent's Resume System
=head1 Description
Expand Down Expand Up @@ -143,6 +143,6 @@ =head1 License and Legal
Neither this module nor the L<Author|/Author> is affiliated with
BitTorrent, Inc.
=for svn $Id: 004-resume.pl 6929734 2009-01-05 22:38:02Z sanko@cpan.org $
=for svn $Id: 004-resume.pl 56a7b7c 2009-01-27 02:13:14Z sanko@cpan.org $
=cut

0 comments on commit fac4ae0

Please sign in to comment.