From: oliver Date: Wed, 21 Jan 2009 19:09:13 +0000 (+0000) Subject: make plugins be M::I features so dependencies are optional X-Git-Tag: v1.003015~72 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ce00c3c0a40bb8b788d36d85bdbba43d05523b9a;p=p5sagit%2FDevel-REPL.git make plugins be M::I features so dependencies are optional resolve rt.cpan#42506 readdir might fail test use of all plugins supported by Perl core Add irc nick for oliver git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@5336 bd8105ee-0ff8-0310-8827-fb3f25b6796d --- diff --git a/Changes b/Changes index 0afbd9f..412e3b3 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ 1.3.2 - make plugins be M::I features so dependencies are optional + - resolve rt.cpan#42506 readdir might fail + - test use of all plugins supported by Perl core - Add irc nick for oliver 1.3.1 - Fix brokenness in the distribution manifest diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm index 2409a70..0daf803 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm @@ -76,7 +76,7 @@ around complete => sub { my $add_recursively; $add_recursively = sub { my ($path, $iteration, @more) = @_; - opendir((my $dirhandle), $path); + opendir((my $dirhandle), $path) || return; for (grep { !$ignored{$_} } readdir $dirhandle) { my $match = $_; diff --git a/t/load_core.t b/t/load_core.t index 6f31386..21d8e0e 100644 --- a/t/load_core.t +++ b/t/load_core.t @@ -4,7 +4,18 @@ use Test::More 'no_plan'; use_ok('Devel::REPL'); use_ok('Devel::REPL::Script'); -use_ok('Devel::REPL::Plugin::History'); -use_ok('Devel::REPL::Plugin::LexEnv'); -use_ok('Devel::REPL::Plugin::DDS'); +use_ok('Devel::REPL::Plugin::Colors'); use_ok('Devel::REPL::Plugin::Commands'); +use_ok('Devel::REPL::Plugin::DumpHistory'); +use_ok('Devel::REPL::Plugin::FancyPrompt'); +use_ok('Devel::REPL::Plugin::FindVariable'); +use_ok('Devel::REPL::Plugin::History'); +use_ok('Devel::REPL::Plugin::Interrupt'); +use_ok('Devel::REPL::Plugin::NewlineHack'); +use_ok('Devel::REPL::Plugin::OutputCache'); +use_ok('Devel::REPL::Plugin::Packages'); +use_ok('Devel::REPL::Plugin::Peek'); +use_ok('Devel::REPL::Plugin::ReadLineHistory'); +use_ok('Devel::REPL::Plugin::ShowClass'); +use_ok('Devel::REPL::Plugin::Timing'); +use_ok('Devel::REPL::Plugin::Turtles');