make plugins be M::I features so dependencies are optional
oliver [Wed, 21 Jan 2009 19:09:13 +0000 (19:09 +0000)]
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

Changes
lib/Devel/REPL/Plugin/CompletionDriver/INC.pm
t/load_core.t

diff --git a/Changes b/Changes
index 0afbd9f..412e3b3 100644 (file)
--- 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
index 2409a70..0daf803 100644 (file)
@@ -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 = $_;
index 6f31386..21d8e0e 100644 (file)
@@ -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');