r63334 - in /branches/upstream/libfile-changenotify-perl/current: ./ lib/File/ lib/File/ChangeNotify/ lib/File/ChangeNotify/Watcher/ t/

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Mon Oct 4 23:58:09 UTC 2010


Author: jawnsy-guest
Date: Mon Oct  4 23:58:03 2010
New Revision: 63334

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

Added:
    branches/upstream/libfile-changenotify-perl/current/t/release-try-load.t
Modified:
    branches/upstream/libfile-changenotify-perl/current/Build.PL
    branches/upstream/libfile-changenotify-perl/current/Changes
    branches/upstream/libfile-changenotify-perl/current/INSTALL
    branches/upstream/libfile-changenotify-perl/current/MANIFEST
    branches/upstream/libfile-changenotify-perl/current/META.json
    branches/upstream/libfile-changenotify-perl/current/META.yml
    branches/upstream/libfile-changenotify-perl/current/Makefile.PL
    branches/upstream/libfile-changenotify-perl/current/README
    branches/upstream/libfile-changenotify-perl/current/SIGNATURE
    branches/upstream/libfile-changenotify-perl/current/dist.ini
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Event.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Default.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Inotify.pm
    branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/KQueue.pm
    branches/upstream/libfile-changenotify-perl/current/t/release-eol.t

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=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Build.PL (original)
+++ branches/upstream/libfile-changenotify-perl/current/Build.PL Mon Oct  4 23:58:03 2010
@@ -35,7 +35,7 @@
     'Dave Rolsky <autarch at urth.org>'
   ],
   'dist_name' => 'File-ChangeNotify',
-  'dist_version' => '0.16',
+  'dist_version' => '0.17',
   'license' => 'artistic_2',
   'module_name' => 'File::ChangeNotify',
   'recommends' => {},

Modified: branches/upstream/libfile-changenotify-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/Changes?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Changes (original)
+++ branches/upstream/libfile-changenotify-perl/current/Changes Mon Oct  4 23:58:03 2010
@@ -1,3 +1,9 @@
+0.17   2010-10-04
+
+- Loading File::ChangeNotify always loads the Default watcher class. This will
+  give a useful error message if this module's prereqs are not loaded.
+
+
 0.16   2010-07-12
 
 - Changes to avoid a warning about a useless coercion from future versions of

Modified: branches/upstream/libfile-changenotify-perl/current/INSTALL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/INSTALL?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/INSTALL (original)
+++ branches/upstream/libfile-changenotify-perl/current/INSTALL Mon Oct  4 23:58:03 2010
@@ -38,7 +38,7 @@
 
 ## Documentation
 
-File-ChangeNotify documentation is available as in POD.
+File-ChangeNotify documentation is available as POD.
 You can run perldoc from a shell to read the documentation:
 
     % perldoc File::ChangeNotify

Modified: branches/upstream/libfile-changenotify-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/MANIFEST?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/MANIFEST (original)
+++ branches/upstream/libfile-changenotify-perl/current/MANIFEST Mon Oct  4 23:58:03 2010
@@ -25,3 +25,4 @@
 t/release-pod-coverage.t
 t/release-pod-spell.t
 t/release-pod.t
+t/release-try-load.t

Modified: branches/upstream/libfile-changenotify-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/META.json?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/META.json (original)
+++ branches/upstream/libfile-changenotify-perl/current/META.json Mon Oct  4 23:58:03 2010
@@ -4,7 +4,7 @@
       "Dave Rolsky <autarch at urth.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 4.101812, CPAN::Meta::Converter version 2.101670",
+   "generated_by" : "Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101670",
    "license" : [
       "artistic_2"
    ],
@@ -59,6 +59,6 @@
          "web" : "http://hg.urth.org/hg/File-ChangeNotify"
       }
    },
-   "version" : "0.16"
+   "version" : "0.17"
 }
 

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=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/META.yml (original)
+++ branches/upstream/libfile-changenotify-perl/current/META.yml Mon Oct  4 23:58:03 2010
@@ -11,7 +11,7 @@
   ExtUtils::MakeMaker: 6.31
   Module::Build: 0.3601
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.101812, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.102341, CPAN::Meta::Converter version 2.101670'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,4 +31,4 @@
 resources:
   bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=File-ChangeNotify
   repository: http://hg.urth.org/hg/File-ChangeNotify
-version: 0.16
+version: 0.17

Modified: 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=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/Makefile.PL (original)
+++ branches/upstream/libfile-changenotify-perl/current/Makefile.PL Mon Oct  4 23:58:03 2010
@@ -37,7 +37,7 @@
     'Time::HiRes' => '0',
     'namespace::autoclean' => '0'
   },
-  'VERSION' => '0.16',
+  'VERSION' => '0.17',
   'test' => {
     'TESTS' => 't/*.t'
   }

Modified: branches/upstream/libfile-changenotify-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/README?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/README (original)
+++ branches/upstream/libfile-changenotify-perl/current/README Mon Oct  4 23:58:03 2010
@@ -1,7 +1,7 @@
 
 
 This archive contains the distribution File-ChangeNotify,
-version 0.16:
+version 0.17:
 
   Watch for changes to files, cross-platform style
 

Modified: branches/upstream/libfile-changenotify-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/SIGNATURE?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/SIGNATURE (original)
+++ branches/upstream/libfile-changenotify-perl/current/SIGNATURE Mon Oct  4 23:58:03 2010
@@ -14,36 +14,37 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 5765412dffd0cb2c0832e12d5ec310c93f85fe54 Build.PL
-SHA1 313adde2db3974cf8ab5f1d6bcec6594357e2819 Changes
-SHA1 9ba9a0e8afcd1cc307807eccf2edfc187db72271 INSTALL
+SHA1 efef993adabb5db6b86fa321cc95e1c1ff22aa13 Build.PL
+SHA1 de18f0820650cdec53cadd7641ee526408d39de2 Changes
+SHA1 4c0c7e93d78142144a9b1fcabd161adb2a3abf9b INSTALL
 SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
-SHA1 a18030522165b706979dacdf0d42225c48e66eae MANIFEST
-SHA1 ff8685cc9a43837631de63cd09ecd3efafc27511 META.json
-SHA1 eec653995be1c348697f37aa5ef251f9823cec0f META.yml
-SHA1 eefeb3d3720b1bb0267bb915a96e5add86ab3885 Makefile.PL
-SHA1 331c1e8e73b6eab4f1246144512e69fe89a158b1 README
-SHA1 cf52ac572e1a91c88c4db6f65e6aad21c523a53e dist.ini
+SHA1 3d31a276934879feb37eafed650bc719bb17ad12 MANIFEST
+SHA1 9dca28fbe1cfe96432b966cf6c6bd0cc105e6a32 META.json
+SHA1 23b2f1f9e0dcf3a3d540461090ec457aaf61e959 META.yml
+SHA1 0e89acd1b34e7763b542485c2501e2868738d7d6 Makefile.PL
+SHA1 e6afea7b0be2e070cdaa56efd57a76aaa3447154 README
+SHA1 12d86d93511b2ae3f05266b7512ce13bf838048b dist.ini
 SHA1 7ade7a38764306110be102cb6b78aad66645246c inc/MyModuleBuild.pm
-SHA1 876ccb4b953445734e4545db52457fd22de5ebcc lib/File/ChangeNotify.pm
-SHA1 76663b62bfbc2bb482d12674f2008374ffb8fab2 lib/File/ChangeNotify/Event.pm
-SHA1 91e26995306514efedace5eddc9340edd8a13905 lib/File/ChangeNotify/Watcher.pm
-SHA1 277ddc9920405a586de6c8909b3caa5637649403 lib/File/ChangeNotify/Watcher/Default.pm
-SHA1 59344eae6538c87adabfb7c4bd49a25ecdcc0d05 lib/File/ChangeNotify/Watcher/Inotify.pm
-SHA1 e1ca9d5ecaaaad24cd52cc0ef0fa9f175ef1dcd1 lib/File/ChangeNotify/Watcher/KQueue.pm
+SHA1 4305f0855ac54e547826b243eeb37f905f15d9cd lib/File/ChangeNotify.pm
+SHA1 e102454e9c280ff08275916841ee1f6215bc5ef4 lib/File/ChangeNotify/Event.pm
+SHA1 02c57e124e1a78942dffeda1254e6b76f18cbb34 lib/File/ChangeNotify/Watcher.pm
+SHA1 3cc69beac51e3db80f418ef20544b28d25922adb lib/File/ChangeNotify/Watcher/Default.pm
+SHA1 924381c981ba3c3df92526e3ee3b29c3de6a1e09 lib/File/ChangeNotify/Watcher/Inotify.pm
+SHA1 c663fc2dc1145c2f675d5bbacdc2c64770590ae8 lib/File/ChangeNotify/Watcher/KQueue.pm
 SHA1 a20ef45409fdaaa48eb6c23e61c549f5578f8538 t/all.t
 SHA1 c4850e640da725089b03ac33ae1f87ba7a2cb7a8 t/excluded-dirs.t
 SHA1 e8a3259aff1b6f2433f03091c06e9e2c552ab1e2 t/instantiate-twice.t
 SHA1 a8f05c86efc7efc5060e21131edac6799606131c t/lib/File/ChangeNotify/TestHelper.pm
-SHA1 24b525e3c18f37f8022a01ec30de757cefb679ff t/release-eol.t
+SHA1 a032c41ef6887fab1b900669c2d304fab46680e2 t/release-eol.t
 SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
 SHA1 d5beccc41e0e1f3908eb3f42bca81e3b2a662780 t/release-pod-coverage.t
 SHA1 0ce5a8c358e2cfd7f9e675c4691a0b5d99880a4a t/release-pod-spell.t
 SHA1 0bf5c7d045bcd17b72749ea8d57bfc2435913095 t/release-pod.t
+SHA1 458e8212d9093ce7f82a1a42d84d13cdb4a57672 t/release-try-load.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEYEARECAAYFAkw7PacACgkQIgMCsV8qvRIGjQCfRunHp8hTk1LSQkKHANwQpUJ0
-KhoAoIXZfajcn96ysnpBCq+Z4QGOlGVs
-=SRbv
+iEYEARECAAYFAkyqLFwACgkQIgMCsV8qvRIzjwCeJXiMed26WcBp3GPAWmIbJQIf
+rYcAnjAjAmzIauPtvQ2sJFTyOfcl+faF
+=18XB
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libfile-changenotify-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/dist.ini?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/dist.ini (original)
+++ branches/upstream/libfile-changenotify-perl/current/dist.ini Mon Oct  4 23:58:03 2010
@@ -2,7 +2,7 @@
 author  = Dave Rolsky <autarch at urth.org>
 copyright_year = 2010
 
-version = 0.16
+version = 0.17
 
 [@Filter]
 bundle = @Basic

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=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify.pm Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify;
 BEGIN {
-  $File::ChangeNotify::VERSION = '0.16';
+  $File::ChangeNotify::VERSION = '0.17';
 }
 
 use strict;
@@ -8,6 +8,8 @@
 
 use Carp qw( confess );
 use Class::MOP;
+# We load this up front to make sure that the prereq modules are installed.
+use File::ChangeNotify::Watcher::Default;
 use Module::Pluggable::Object;
 
 sub instantiate_watcher {
@@ -72,7 +74,7 @@
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -147,7 +149,7 @@
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Event.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Event.pm?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Event.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Event.pm Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Event;
 BEGIN {
-  $File::ChangeNotify::Event::VERSION = '0.16';
+  $File::ChangeNotify::Event::VERSION = '0.17';
 }
 
 use strict;
@@ -38,7 +38,7 @@
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -81,7 +81,7 @@
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 

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=63334&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 Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher;
 BEGIN {
-  $File::ChangeNotify::Watcher::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::VERSION = '0.17';
 }
 
 use strict;
@@ -125,7 +125,7 @@
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 SYNOPSIS
 
@@ -241,7 +241,7 @@
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Default.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Default.pm?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Default.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Default.pm Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::Default;
 BEGIN {
-  $File::ChangeNotify::Watcher::Default::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::Default::VERSION = '0.17';
 }
 
 use strict;
@@ -171,7 +171,7 @@
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 DESCRIPTION
 
@@ -183,7 +183,7 @@
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Inotify.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Inotify.pm?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Inotify.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/Inotify.pm Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::Inotify;
 BEGIN {
-  $File::ChangeNotify::Watcher::Inotify::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::Inotify::VERSION = '0.17';
 }
 
 use strict;
@@ -211,7 +211,7 @@
 
 =head1 VERSION
 
-version 0.16
+version 0.17
 
 =head1 DESCRIPTION
 
@@ -223,7 +223,7 @@
 
 =head1 AUTHOR
 
-  Dave Rolsky <autarch at urth.org>
+Dave Rolsky <autarch at urth.org>
 
 =head1 COPYRIGHT AND LICENSE
 

Modified: branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/KQueue.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/KQueue.pm?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/KQueue.pm (original)
+++ branches/upstream/libfile-changenotify-perl/current/lib/File/ChangeNotify/Watcher/KQueue.pm Mon Oct  4 23:58:03 2010
@@ -1,6 +1,6 @@
 package File::ChangeNotify::Watcher::KQueue;
 BEGIN {
-  $File::ChangeNotify::Watcher::KQueue::VERSION = '0.16';
+  $File::ChangeNotify::Watcher::KQueue::VERSION = '0.17';
 }
 
 use strict;

Modified: branches/upstream/libfile-changenotify-perl/current/t/release-eol.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/t/release-eol.t?rev=63334&op=diff
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/t/release-eol.t (original)
+++ branches/upstream/libfile-changenotify-perl/current/t/release-eol.t Mon Oct  4 23:58:03 2010
@@ -13,4 +13,4 @@
 eval 'use Test::EOL';
 plan skip_all => 'Test::EOL required' if $@;
 
-all_perl_files_ok();
+all_perl_files_ok({ trailing_whitespace => 1 });

Added: branches/upstream/libfile-changenotify-perl/current/t/release-try-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libfile-changenotify-perl/current/t/release-try-load.t?rev=63334&op=file
==============================================================================
--- branches/upstream/libfile-changenotify-perl/current/t/release-try-load.t (added)
+++ branches/upstream/libfile-changenotify-perl/current/t/release-try-load.t Mon Oct  4 23:58:03 2010
@@ -1,0 +1,31 @@
+
+BEGIN {
+  unless ($ENV{RELEASE_TESTING}) {
+    require Test::More;
+    Test::More::plan(skip_all => 'these tests are for release candidate testing');
+  }
+}
+
+use strict;
+use warnings;
+
+use Test::More;
+
+use File::ChangeNotify;
+
+ok(
+    File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Default'),
+    'can load Default watcher'
+);
+
+ok(
+    File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::Inotify'),
+    'can load Inotify watcher'
+);
+
+ok(
+    !File::ChangeNotify::_try_load('File::ChangeNotify::Watcher::KQueue'),
+    'cannot load KQueue watcher'
+);
+
+done_testing();




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