rev 1800 - in trunk/Email-Store: . lib/Email

[prev] [thread] [next] [lurker] [Date index for 2005/02/03]

From: richardc
Subject: rev 1800 - in trunk/Email-Store: . lib/Email
Date: 15:01 on 03 Feb 2005
Author: richardc
Date: 2005-02-03 15:01:27 +0000 (Thu, 03 Feb 2005)
New Revision: 1800

Removed:
   trunk/Email-Store/META.yml
Modified:
   trunk/Email-Store/Changes
   trunk/Email-Store/lib/Email/Store.pm
Log:
sync with CPAN 0.21

Modified: trunk/Email-Store/Changes
===================================================================
--- trunk/Email-Store/Changes	2005-01-27 15:37:23 UTC (rev 1799)
+++ trunk/Email-Store/Changes	2005-02-03 15:01:27 UTC (rev 1800)
@@ -1,5 +1,12 @@
 Revision history for Perl extension Email::Store.
 
+0.21 Thu Jan 27 16:33:32 GMT 2005
+    - fixed a permission problem on PAUSE
+
+0.20 Thu Jan 27 15:16:48 GMT 2005
+    - The indexer seems unhappy with 0.16, attempt to froce a rebuild
+    - made setup() to be quieter unless you tell it not to be
+
 0.16 Sun Dec 26 12:14:57 GMT 2004
     - Some changes to Date
     - Require certain versions of Email::Simple and Email::MIME

Deleted: trunk/Email-Store/META.yml
===================================================================
--- trunk/Email-Store/META.yml	2005-01-27 15:37:23 UTC (rev 1799)
+++ trunk/Email-Store/META.yml	2005-02-03 15:01:27 UTC (rev 1800)
@@ -1,23 +0,0 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Email-Store
-version:      0.15
-version_from: lib/Email/Store.pm
-installdirs:  site
-requires:
-    Class::DBI:                    0.9
-    Class::DBI::DATA::Schema:      0
-    DBD::SQLite:                   0
-    Email::Address:                0
-    Email::MIME:                   0
-    Email::MIME::Attachment::Stripper: 1.1
-    Email::Simple:                 1
-    File::Slurp:                   0
-    Mail::ListDetector:            0.3
-    Module::Pluggable:             1.4
-    Module::Pluggable::Ordered:    1
-    SQL::Translator:               0
-    Time::Piece:                   0
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.21

Modified: trunk/Email-Store/lib/Email/Store.pm
===================================================================
--- trunk/Email-Store/lib/Email/Store.pm	2005-01-27 15:37:23 UTC (rev 1799)
+++ trunk/Email-Store/lib/Email/Store.pm	2005-02-03 15:01:27 UTC (rev 1800)
@@ -4,8 +4,10 @@
 use warnings;
 require Email::Store::DBI;
 use UNIVERSAL::require;
-use vars qw(%only);
+use vars qw(%only $VERSION);
 
+$VERSION = '0.21';
+
 sub import { 
     shift; 
 
@@ -32,19 +34,20 @@
 }
 
 sub setup {
-    for my $class (shift->plugins()) {
+    my $self    = shift;
+    my $verbose = shift || 0;
+    for my $class ($self->plugins()) {
         next unless $only{$class};
         $class->require or next;
 
         if ($class->can("run_data_sql")) {
-            warn "Setting up database in $class\n";
+            warn "Setting up database in $class\n" if $verbose;
             local $SIG{__WARN__} = sub {}; # No really, shut up
             $class->run_data_sql ;
         }
     }
 }
 
-our $VERSION = '0.16';
 # Preloaded methods go here.
 
 1;
@@ -200,6 +203,9 @@
 existing mail with the new functions provided by the modules you've just
 installed! - a C<reindex> method is planned, but is not there yet.
 
+It should be noted that passing in an optional true value to setup will
+cause it to be verbose about what it's doing.
+
 This is all the functionality that C<Email::Store> itself provides. See
 the documentation to the various plugins for their public interface,
 chiefly L<Email::Store::Mail>.

Generated at 22:00 on 05 Feb 2005 by mariachi 0.52