r38541 - in /branches/upstream/libfile-changenotify-perl/current: Build.PL Changes MANIFEST META.yml Makefile.PL README SIGNATURE lib/File/ChangeNotify.pm lib/File/ChangeNotify/Watcher.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jun 23 18:04:50 UTC 2009


Author: jawnsy-guest
Date: Tue Jun 23 18:04:31 2009
New Revision: 38541

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38541
Log:
[svn-upgrade] Integrating new upstream version, libfile-changenotify-perl (0.06)

Added:
    branches/upstream/libfile-changenotify-perl/current/Makefile.PL
Modified:
    branches/upstream/libfile-changenotify-perl/current/Build.PL
    branches/upstream/libfile-changenotify-perl/current/Changes
    branches/upstream/libfile-changenotify-perl/current/MANIFEST
    branches/upstream/libfile-changenotify-perl/current/META.yml
    branches/upstream/libfile-changenotify-perl/current/README
    branches/upstream/libfile-changenotify-perl/current/SIGNATURE
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm

Modified: branches/upstream/libfile-changenotify-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/Build.PL?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Build.PL (original)
+++ branches/upstream/libfile-changenotify-perl/current/Build.PL Tue Jun 23 18:04:31 2009
@@ -23,6 +23,7 @@
                             },
           create_readme => 1,
           sign          => 1,
+          create_makefile_pl => 'traditional',
         );
 
 $builder->create_build_script();

Modified: branches/upstream/libfile-changenotify-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/Changes?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Changes (original)
+++ branches/upstream/libfile-changenotify-perl/current/Changes Tue Jun 23 18:04:31 2009
@@ -1,3 +1,8 @@
+0.06   2009-06-03
+
+- Created a Makefile.PL from the Build.PL.
+
+
 0.05   2009-05-17
 
 - Update the Moose::Params::Validate prereq so it requires the version

Modified: branches/upstream/libfile-changenotify-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/MANIFEST?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/MANIFEST (original)
+++ branches/upstream/libfile-changenotify-perl/current/MANIFEST Tue Jun 23 18:04:31 2009
@@ -13,4 +13,5 @@
 t/pod.t
 README
 META.yml
+Makefile.PL
 SIGNATURE    Added here by Module::Build

Modified: branches/upstream/libfile-changenotify-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/META.yml?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/META.yml (original)
+++ branches/upstream/libfile-changenotify-perl/current/META.yml Tue Jun 23 18:04:31 2009
@@ -1,6 +1,6 @@
 ---
 name: File-ChangeNotify
-version: 0.05
+version: 0.06
 author:
   - 'Dave Rolsky, E<gt>autarch at urth.orgE<lt>'
 abstract: 'Watch for changes to files, cross-platform style'
@@ -24,7 +24,7 @@
 provides:
   File::ChangeNotify:
     file: lib/File/ChangeNotify.pm
-    version: 0.05
+    version: 0.06
   File::ChangeNotify::Event:
     file: lib/File/ChangeNotify/Event.pm
   File::ChangeNotify::Watcher:

Added: branches/upstream/libfile-changenotify-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/Makefile.PL?rev=38541&op=file
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Makefile.PL (added)
+++ branches/upstream/libfile-changenotify-perl/current/Makefile.PL Tue Jun 23 18:04:31 2009
@@ -1,0 +1,24 @@
+# Note: this file was auto-generated by Module::Build::Compat version 0.32
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+          'NAME' => 'File::ChangeNotify',
+          'VERSION_FROM' => 'lib/File/ChangeNotify.pm',
+          'PREREQ_PM' => {
+                           'Carp' => '0',
+                           'Class::MOP' => '0',
+                           'File::Find' => '0',
+                           'File::Path' => '0',
+                           'File::Spec' => '0',
+                           'File::Temp' => '0',
+                           'Module::Pluggable::Object' => '0',
+                           'Moose' => '0',
+                           'MooseX::Params::Validate' => '0.08',
+                           'MooseX::SemiAffordanceAccessor' => '0',
+                           'Test::More' => '0',
+                           'Time::HiRes' => '0'
+                         },
+          'INSTALLDIRS' => 'site',
+          'EXE_FILES' => []
+        )
+;

Modified: branches/upstream/libfile-changenotify-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/README?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/README (original)
+++ branches/upstream/libfile-changenotify-perl/current/README Tue Jun 23 18:04:31 2009
@@ -7,12 +7,13 @@
         my $watcher =
             File::ChangeNotify->instantiate_watcher
                 ( directories => [ '/my/path', '/my/other' ],
-                  regex       => qr/\.(?:pm|conf|yml)$/,
+                  filter      => qr/\.(?:pm|conf|yml)$/,
                 );
 
         if ( my @events = $watcher->new_events() ) { ... }
 
-        $watcher->watch($handler);
+        # blocking
+        while ( my @events = $watcher->wait_for_events() ) { ... }
 
 DESCRIPTION
     This module provides an API for creating a File::ChangeNotify::Watcher
@@ -25,7 +26,6 @@
     This class provides the following methods:
 
   File::ChangeNotify->instantiate_watcher(...)
-
     This method looks at each available subclass of
     File::ChangeNotify::Watcher and instantiates the first one it can load,
     using the arguments you provided.
@@ -35,7 +35,6 @@
     better option.
 
   File::ChangeNotify->usable_classes()
-
     Returns a list of all the loadable File::ChangeNotify::Watcher
     subclasses.
 

Modified: branches/upstream/libfile-changenotify-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/SIGNATURE?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/SIGNATURE (original)
+++ branches/upstream/libfile-changenotify-perl/current/SIGNATURE Tue Jun 23 18:04:31 2009
@@ -14,14 +14,15 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 b9b7879be4332db248efcde6b908c8c0a1749705 Build.PL
-SHA1 4c5265ac273b662d63c31718274226df3ed24eaa Changes
-SHA1 e8d9c06b6b24b8dcd2710cfb4850122a0aaf6c06 MANIFEST
-SHA1 e9741d30f21e504880818a525ed886d99cbc12e7 META.yml
-SHA1 5d793d32a95d9ba4c2cd9743c972797a3c00d7cd README
-SHA1 26aa998fa1ded1246eef231b5a49e9e5fb98d395 lib/File/ChangeNotify.pm
+SHA1 320e201e3ad750cc11b4a5154513bbb69d252baf Build.PL
+SHA1 ac3deb0525fdda6ccfdc78c952be118597b8a7c8 Changes
+SHA1 4f9182586187ff87011f608fdd530047938dad7b MANIFEST
+SHA1 df82ad95b2eceb36db162cb65f68e3a39917ec21 META.yml
+SHA1 88867388dd19b387ca8e530b80067b8c20e31ddf Makefile.PL
+SHA1 d96f0fa32094aa30512dd637423804d33344c631 README
+SHA1 dd2ebdd0fad702e952cde698243f1cc0834f4917 lib/File/ChangeNotify.pm
 SHA1 9ddc0ec930eb4a28ddde32df02d6a8505d9098ab lib/File/ChangeNotify/Event.pm
-SHA1 249446503bd094531fd1c125be60724120eeeae0 lib/File/ChangeNotify/Watcher.pm
+SHA1 95a52b89c4d9ecb028508b386d5dec4c03bb4201 lib/File/ChangeNotify/Watcher.pm
 SHA1 f050fb1a27ec77d5dc803a8abbaf5993326034f1 lib/File/ChangeNotify/Watcher/Default.pm
 SHA1 ed186a6547af1786b17fe8eab13da3e819140b11 lib/File/ChangeNotify/Watcher/Inotify.pm
 SHA1 a20ef45409fdaaa48eb6c23e61c549f5578f8538 t/all.t
@@ -32,7 +33,7 @@
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (GNU/Linux)
 
-iEYEARECAAYFAkoQ1zIACgkQ3Or3ZzQuifPqvwCg4DuD4QSmt7fKWVcvu+U+8o8P
-VmoAoISDTh2FvrIkfxVLZSnDPLXWq55l
-=2uut
+iEYEARECAAYFAkomvrAACgkQ3Or3ZzQuifN+9ACggjJnxsboUpm+sGfWlD2dxxyD
+ntsAmwYEjMx0GNM50cbV2ci4m/uyqovu
+=wmhs
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm Tue Jun 23 18:04:31 2009
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.05';
+our $VERSION = '0.06';
 
 use Carp qw( confess );
 use Class::MOP;
@@ -77,12 +77,13 @@
     my $watcher =
         File::ChangeNotify->instantiate_watcher
             ( directories => [ '/my/path', '/my/other' ],
-              regex       => qr/\.(?:pm|conf|yml)$/,
+              filter      => qr/\.(?:pm|conf|yml)$/,
             );
 
     if ( my @events = $watcher->new_events() ) { ... }
 
-    $watcher->watch($handler);
+    # blocking
+    while ( my @events = $watcher->wait_for_events() ) { ... }
 
 =head1 DESCRIPTION
 

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm?rev=38541&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm Tue Jun 23 18:04:31 2009
@@ -105,12 +105,13 @@
     my $watcher =
         File::ChangeNotify->instantiate_watcher
             ( directories => [ '/my/path', '/my/other' ],
-              regex       => qr/\.(?:pm|conf|yml)$/,
+              filter      => qr/\.(?:pm|conf|yml)$/,
             );
 
     if ( my @events = $watcher->new_events() ) { ... }
 
-    $watcher->watch($handler);
+    # blocking
+    while ( my @events = $watcher->wait_for_events() ) { ... }
 
 =head1 DESCRIPTION
 




More information about the Pkg-perl-cvs-commits mailing list