diff --git a/Changes b/Changes index a17c1c7..d038349 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Revision history for Net-API-RPX -1.000000 2015-03-25T16:49:27Z 318e7c8 +1.000000 2015-03-25T17:27:21Z 4b74171 [Dependencies::Stats] - Dependencies changed since 0.04, see misc/*.deps* for details - build: -1 @@ -21,6 +21,10 @@ Revision history for Net-API-RPX - Now uses x.yyyyyy - https://questhub.io/realm/perl/quest/5388d3a9bbd0be2224000129 + [Metadata] + - Repo moved to KENTNL org. + - Issues moved to github + 0.04 2012-05-24T00:27:53Z - Re-released to avoid a lot of cruft that snuck in somehow ( WTF?!!? ) diff --git a/t/00-compile.t b/t/00-compile.t deleted file mode 100644 index 9dce92c..0000000 --- a/t/00-compile.t +++ /dev/null @@ -1,55 +0,0 @@ -use 5.006; -use strict; -use warnings; - -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051 - -use Test::More; - -plan tests => 5 + ($ENV{AUTHOR_TESTING} ? 1 : 0); - -my @module_files = ( - 'Net/API/RPX.pm', - 'Net/API/RPX/Exception.pm', - 'Net/API/RPX/Exception/Network.pm', - 'Net/API/RPX/Exception/Service.pm', - 'Net/API/RPX/Exception/Usage.pm' -); - - - -# no fake home requested - -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; - -use File::Spec; -use IPC::Open3; -use IO::Handle; - -open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; - -my @warnings; -for my $lib (@module_files) -{ - # see L - my $stderr = IO::Handle->new; - - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); - binmode $stderr, ':crlf' if $^O eq 'MSWin32'; - my @_warnings = <$stderr>; - waitpid($pid, 0); - is($?, 0, "$lib loaded ok"); - - if (@_warnings) - { - warn @_warnings; - push @warnings, @_warnings; - } -} - - - -is(scalar(@warnings), 0, 'no warnings found') - or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING}; - - diff --git a/t/000-report-versions-tiny.t b/t/000-report-versions-tiny.t deleted file mode 100644 index 48de2dd..0000000 --- a/t/000-report-versions-tiny.t +++ /dev/null @@ -1,87 +0,0 @@ -use strict; -use warnings; -use Test::More 0.88; -# This is a relatively nice way to avoid Test::NoWarnings breaking our -# expectations by adding extra tests, without using no_plan. It also helps -# avoid any other test module that feels introducing random tests, or even -# test plans, is a nice idea. -our $success = 0; -END { $success && done_testing; } - -# List our own version used to generate this -my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n"; - -eval { # no excuses! - # report our Perl details - my $want = '5.006'; - $v .= "perl: $] (wanted $want) on $^O from $^X\n\n"; -}; -defined($@) and diag("$@"); - -# Now, our module version dependencies: -sub pmver { - my ($module, $wanted) = @_; - $wanted = " (want $wanted)"; - my $pmver; - eval "require $module;"; - if ($@) { - if ($@ =~ m/Can't locate .* in \@INC/) { - $pmver = 'module not found.'; - } else { - diag("${module}: $@"); - $pmver = 'died during require.'; - } - } else { - my $version; - eval { $version = $module->VERSION; }; - if ($@) { - diag("${module}: $@"); - $pmver = 'died during VERSION check.'; - } elsif (defined $version) { - $pmver = "$version"; - } else { - $pmver = ''; - } - } - - # So, we should be good, right? - return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n"); -} - -eval { $v .= pmver('Data::Dump','any version') }; -eval { $v .= pmver('File::Spec','any version') }; -eval { $v .= pmver('IO::Handle','any version') }; -eval { $v .= pmver('IPC::Open3','any version') }; -eval { $v .= pmver('JSON::Any','any version') }; -eval { $v .= pmver('LWP::UserAgent','any version') }; -eval { $v .= pmver('Module::Build','0.28') }; -eval { $v .= pmver('Moose','any version') }; -eval { $v .= pmver('Test::Exception','any version') }; -eval { $v .= pmver('Test::More','0.88') }; -eval { $v .= pmver('Throwable::Error','any version') }; -eval { $v .= pmver('Throwable::X','any version') }; -eval { $v .= pmver('URI','any version') }; -eval { $v .= pmver('mocked','any version') }; -eval { $v .= pmver('namespace::autoclean','any version') }; -eval { $v .= pmver('strict','any version') }; -eval { $v .= pmver('unmocked','any version') }; -eval { $v .= pmver('warnings','any version') }; - - -# All done. -$v .= <<'EOT'; - -Thanks for using my code. I hope it works for you. -If not, please try and include this output in the bug report. -That will help me reproduce the issue and solve your problem. - -EOT - -diag($v); -ok(1, "we really didn't test anything, just reporting data"); -$success = 1; - -# Work around another nasty module on CPAN. :/ -no warnings 'once'; -$Template::Test::NO_FLUSH = 1; -exit 0; diff --git a/xt/release/eol.t b/xt/release/eol.t deleted file mode 100644 index d5fb43a..0000000 --- a/xt/release/eol.t +++ /dev/null @@ -1,26 +0,0 @@ -use strict; -use warnings; - -# this test was generated with Dist::Zilla::Plugin::EOLTests 0.17 - -use Test::More 0.88; -use Test::EOL; - -my @files = ( - 'lib/Net/API/RPX.pm', - 'lib/Net/API/RPX/Exception.pm', - 'lib/Net/API/RPX/Exception/Network.pm', - 'lib/Net/API/RPX/Exception/Service.pm', - 'lib/Net/API/RPX/Exception/Usage.pm', - 't/00-compile.t', - 't/00-load.t', - 't/000-report-versions-tiny.t', - 't/01-basic.t', - 't/02-exceptions.t', - 't/mock/LWP/UserAgent.pm', - 't/pod-coverage.t', - 't/pod.t' -); - -eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files; -done_testing;