r76500 - in /branches/upstream/libexception-class-dbi-perl/current: Build.PL Changes MANIFEST META.json META.yml Makefile.PL README README.md lib/Exception/Class/DBI.pm t/dbh.t t/dbi.t t/drh.t t/sth.t t/z_pod.t

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri Jun 24 19:42:28 UTC 2011


Author: periapt-guest
Date: Fri Jun 24 19:42:25 2011
New Revision: 76500

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76500
Log:
[svn-upgrade] new version libexception-class-dbi-perl (1.01)

Added:
    branches/upstream/libexception-class-dbi-perl/current/META.json
    branches/upstream/libexception-class-dbi-perl/current/README.md
Removed:
    branches/upstream/libexception-class-dbi-perl/current/README
Modified:
    branches/upstream/libexception-class-dbi-perl/current/Build.PL
    branches/upstream/libexception-class-dbi-perl/current/Changes
    branches/upstream/libexception-class-dbi-perl/current/MANIFEST
    branches/upstream/libexception-class-dbi-perl/current/META.yml
    branches/upstream/libexception-class-dbi-perl/current/Makefile.PL
    branches/upstream/libexception-class-dbi-perl/current/lib/Exception/Class/DBI.pm
    branches/upstream/libexception-class-dbi-perl/current/t/dbh.t
    branches/upstream/libexception-class-dbi-perl/current/t/dbi.t
    branches/upstream/libexception-class-dbi-perl/current/t/drh.t
    branches/upstream/libexception-class-dbi-perl/current/t/sth.t
    branches/upstream/libexception-class-dbi-perl/current/t/z_pod.t

Modified: branches/upstream/libexception-class-dbi-perl/current/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/Build.PL?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/Build.PL (original)
+++ branches/upstream/libexception-class-dbi-perl/current/Build.PL Fri Jun 24 19:42:25 2011
@@ -3,9 +3,9 @@
 my $build = Module::Build->new(
     module_name        => 'Exception::Class::DBI',
     license            => 'perl',
-    create_makefile_pl => 'passthrough',
+    create_makefile_pl => 'traditional',
     configure_requires => { 'Module::Build' => '0.2701' },
-    recommends         => { 'Test::Pod'     => '1.20'   },
+    recommends         => { 'Test::Pod'     => '1.41'   },
     build_requires     => {
         'Module::Build' => '0.2701',
         'Test::More'    => '0.17',
@@ -15,5 +15,12 @@
         'DBI'              => '1.28',
         'Exception::Class' => '1.02',
     },
+    meta_merge => {
+        resources => {
+            homepage   => 'http://search.cpan.org/dist/Exception-Class-DBI/',
+            bugtracker => 'http://github.com/theory/exception-class-dbi/issues/',
+            repository => 'http://github.com/theory/exception-class-dbi/',
+        }
+    },
 );
 $build->create_build_script;

Modified: branches/upstream/libexception-class-dbi-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/Changes?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/Changes (original)
+++ branches/upstream/libexception-class-dbi-perl/current/Changes Fri Jun 24 19:42:25 2011
@@ -1,4 +1,10 @@
 Revision history for Perl extension Exception::Class::DBI.
+
+1.01  2011-06-20T04:27:43
+        - Fixed a warning in `t/sth.t`.
+        - Moved repostitory to
+          [GitHub](https://github.com/theory/exception-class-dbi/).
+        - Switched to a "traditional" `Makefile.PL`.
 
 1.00  2008-05-22T03:28:50
         - Fixed a test failure on Perl 5.5. Reported by Slaven Rezic.

Modified: branches/upstream/libexception-class-dbi-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/MANIFEST?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/MANIFEST (original)
+++ branches/upstream/libexception-class-dbi-perl/current/MANIFEST Fri Jun 24 19:42:25 2011
@@ -3,8 +3,9 @@
 lib/Exception/Class/DBI.pm
 Makefile.PL
 MANIFEST			This list of files
+META.json
 META.yml
-README
+README.md
 t/dbh.t
 t/dbi.t
 t/drh.t

Added: branches/upstream/libexception-class-dbi-perl/current/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/META.json?rev=76500&op=file
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/META.json (added)
+++ branches/upstream/libexception-class-dbi-perl/current/META.json Fri Jun 24 19:42:25 2011
@@ -1,0 +1,71 @@
+{
+   "abstract" : "DBI Exception objects",
+   "author" : [
+      "David E. Wheeler <david at justatheory.com>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Exception-Class-DBI",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Module::Build" : "0.2701",
+            "Test::Harness" : "2.03",
+            "Test::More" : "0.17"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "Module::Build" : "0.2701"
+         }
+      },
+      "runtime" : {
+         "recommends" : {
+            "Test::Pod" : "1.41"
+         },
+         "requires" : {
+            "DBI" : "1.28",
+            "Exception::Class" : "1.02"
+         }
+      }
+   },
+   "provides" : {
+      "Exception::Class::DBI" : {
+         "file" : "lib/Exception/Class/DBI.pm",
+         "version" : "1.01"
+      },
+      "Exception::Class::DBI::DBH" : {
+         "file" : "lib/Exception/Class/DBI.pm",
+         "version" : 0
+      },
+      "Exception::Class::DBI::H" : {
+         "file" : "lib/Exception/Class/DBI.pm",
+         "version" : 0
+      },
+      "Exception::Class::DBI::STH" : {
+         "file" : "lib/Exception/Class/DBI.pm",
+         "version" : 0
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "bugtracker" : {
+         "web" : "http://github.com/theory/exception-class-dbi/issues/"
+      },
+      "homepage" : "http://search.cpan.org/dist/Exception-Class-DBI/",
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ],
+      "repository" : {
+         "url" : "http://github.com/theory/exception-class-dbi/"
+      }
+   },
+   "version" : "1.01"
+}

Modified: branches/upstream/libexception-class-dbi-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/META.yml?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/META.yml (original)
+++ branches/upstream/libexception-class-dbi-perl/current/META.yml Fri Jun 24 19:42:25 2011
@@ -1,34 +1,41 @@
 ---
-name: Exception-Class-DBI
-version: 1.00
+abstract: 'DBI Exception objects'
 author:
-  - 'David Wheeler <david at kineticode.com>'
-abstract: DBI Exception objects
-license: perl
-resources:
-  license: http://dev.perl.org/licenses/
-configure_requires:
-  Module::Build: 0.2701
-requires:
-  DBI: 1.28
-  Exception::Class: 1.02
+  - 'David E. Wheeler <david at justatheory.com>'
 build_requires:
   Module::Build: 0.2701
   Test::Harness: 2.03
   Test::More: 0.17
-recommends:
-  Test::Pod: 1.20
+configure_requires:
+  Module::Build: 0.2701
+dynamic_config: 1
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Exception-Class-DBI
 provides:
   Exception::Class::DBI:
     file: lib/Exception/Class/DBI.pm
-    version: 1.00
+    version: 1.01
   Exception::Class::DBI::DBH:
     file: lib/Exception/Class/DBI.pm
+    version: 0
   Exception::Class::DBI::H:
     file: lib/Exception/Class/DBI.pm
+    version: 0
   Exception::Class::DBI::STH:
     file: lib/Exception/Class/DBI.pm
-generated_by: Module::Build version 0.280801
-meta-spec:
-  url: http://module-build.sourceforge.net/META-spec-v1.2.html
-  version: 1.2
+    version: 0
+recommends:
+  Test::Pod: 1.41
+requires:
+  DBI: 1.28
+  Exception::Class: 1.02
+resources:
+  bugtracker: http://github.com/theory/exception-class-dbi/issues/
+  homepage: http://search.cpan.org/dist/Exception-Class-DBI/
+  license: http://dev.perl.org/licenses/
+  repository: http://github.com/theory/exception-class-dbi/
+version: 1.01

Modified: branches/upstream/libexception-class-dbi-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/Makefile.PL?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/Makefile.PL (original)
+++ branches/upstream/libexception-class-dbi-perl/current/Makefile.PL Fri Jun 24 19:42:25 2011
@@ -1,31 +1,18 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.2808_01
-    
-    unless (eval "use Module::Build::Compat 0.02; 1" ) {
-      print "This module requires Module::Build to install itself.\n";
-      
-      require ExtUtils::MakeMaker;
-      my $yn = ExtUtils::MakeMaker::prompt
-	('  Install Module::Build now from CPAN?', 'y');
-      
-      unless ($yn =~ /^y/i) {
-	die " *** Cannot install without Module::Build.  Exiting ...\n";
-      }
-      
-      require Cwd;
-      require File::Spec;
-      require CPAN;
-      
-      # Save this 'cause CPAN will chdir all over the place.
-      my $cwd = Cwd::cwd();
-      
-      CPAN::Shell->install('Module::Build::Compat');
-      CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
-	or die "Couldn't install Module::Build, giving up.\n";
-      
-      chdir $cwd or die "Cannot chdir() back to $cwd: $!";
-    }
-    eval "use Module::Build::Compat 0.02; 1" or die $@;
-    
-    Module::Build::Compat->run_build_pl(args => \@ARGV);
-    require Module::Build;
-    Module::Build::Compat->write_makefile(build_class => 'Module::Build');
+# Note: this file was auto-generated by Module::Build::Compat version 0.3800
+use ExtUtils::MakeMaker;
+WriteMakefile
+(
+  'NAME' => 'Exception::Class::DBI',
+  'VERSION_FROM' => 'lib/Exception/Class/DBI.pm',
+  'PREREQ_PM' => {
+                   'DBI' => '1.28',
+                   'Exception::Class' => '1.02',
+                   'Module::Build' => '0.2701',
+                   'Test::Harness' => '2.03',
+                   'Test::More' => '0.17'
+                 },
+  'INSTALLDIRS' => 'site',
+  'EXE_FILES' => [],
+  'PL_FILES' => {}
+)
+;

Added: branches/upstream/libexception-class-dbi-perl/current/README.md
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/README.md?rev=76500&op=file
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/README.md (added)
+++ branches/upstream/libexception-class-dbi-perl/current/README.md Fri Jun 24 19:42:25 2011
@@ -1,0 +1,53 @@
+Exception/Class/DBI version 1.01
+================================
+
+This module offers a set of DBI-specific exception classes. They inherit from
+Exception::Class::Base, the base class for all exception objects created by
+the [Exception::Class](http://search.cpan.org/perldoc?Exception::Class) module
+from the CPAN. Exception::Class::DBI itself offers a single class method,
+`handler()`, that returns a code reference appropriate for passing the
+[DBI](http://search.cpan.org/perldoc?DBI) `HandleError` attribute.
+
+The exception classes created by Exception::Class::DBI are designed to be
+thrown in certain DBI contexts; the code reference returned by `handler()` and
+passed to the DBI `HandleError attribute determines the context, assembles the
+necessary metadata, and throws the apopropriate exception.
+
+Each of the Exception::Class::DBI classes offers a set of object accessor
+methods in addition to those provided by Exception::Class::Base. These can be
+used to output detailed output in the event of an exception.
+
+Installation
+------------
+
+To install this module, type the following:
+
+    perl Build.PL
+    ./Build
+    ./Build test
+    ./Build install
+
+Or, if you don't have Module::Build installed, type the following:
+
+    perl Makefile.PL
+    make
+    make test
+    make install
+
+Dependencies
+------------
+
+This module requires these other modules and libraries:
+
+* DBI 1.28 or later (1.30 or later strongly recommended).
+* Exception::Class 1.02 or later (1.05 or later strongly recommended).
+* Test::Simple 0.40 (for testing).
+
+Copyright and Licence
+---------------------
+
+Copyright (c) 2002-2011, David E. Wheeler. Some Rights Reserved.
+
+This module is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself.
+

Modified: branches/upstream/libexception-class-dbi-perl/current/lib/Exception/Class/DBI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/lib/Exception/Class/DBI.pm?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/lib/Exception/Class/DBI.pm (original)
+++ branches/upstream/libexception-class-dbi-perl/current/lib/Exception/Class/DBI.pm Fri Jun 24 19:42:25 2011
@@ -1,12 +1,10 @@
 package Exception::Class::DBI;
-
-# $Id: DBI.pm 3906 2008-05-15 03:28:13Z david $
 
 use 5.00500;
 use strict;
 use Exception::Class;
 use vars qw($VERSION);
-$VERSION = '1.00';
+$VERSION = '1.01';
 
 use Exception::Class (
     'Exception::Class::DBI' => {
@@ -126,17 +124,6 @@
 1;
 __END__
 
-=begin comment
-
-Fake-out Module::Build. Delete if it ever changes to support =head1 headers
-other than all uppercase.
-
-=head1 NAME
-
-Exception::Class::DBI - DBI Exception objects
-
-=end comment
-
 =head1 Name
 
 Exception::Class::DBI - DBI Exception objects
@@ -176,7 +163,7 @@
 The exception classes created by Exception::Class::DBI are designed to be
 thrown in certain DBI contexts; the code reference returned by C<handler()>
 and passed to the DBI C<HandleError> attribute determines the context and
-throws the apopropriate exception.
+throws the appropriate exception.
 
 Each of the Exception::Class::DBI classes offers a set of object accessor
 methods in addition to those provided by Exception::Class. These can be used
@@ -617,25 +604,18 @@
 
 =head1 Support
 
-This module is stored in an open repository at the following address:
-
-L<https://svn.kineticode.com/Exception-Class-DBI/trunk/>
-
-Patches against Exception::Class::DBI are welcome. Please send bug reports to
-<bug-exception-class-dbi at rt.cpan.org>.
+This module is stored in an open L<GitHub
+repository|http://github.com/theory/exception-class-dbi/>. Feel free to fork
+and contribute!
+
+Please file bug reports via L<GitHub
+Issues|http://github.com/theory/exception-class-dbi/issues/> or by sending
+mail to
+L<bug-Exception-Class-DBI.cpan.org|mailto:bug-Exception-Class-DBI.cpan.org>.
 
 =head1 Author
 
-=begin comment
-
-Fake-out Module::Build. Delete if it ever changes to support =head1 headers
-other than all uppercase.
-
-=head1 AUTHOR
-
-=end comment
-
-David Wheeler <david at kineticode.com>
+David E. Wheeler <david at justatheory.com>
 
 =head1 See Also
 
@@ -648,7 +628,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (c) 2002-2008, David Wheeler. Some Rights Reserved.
+Copyright (c) 2002-2011, David E. Wheeler. Some Rights Reserved.
 
 This module is free software; you can redistribute it and/or modify it under
 the same terms as Perl itself.

Modified: branches/upstream/libexception-class-dbi-perl/current/t/dbh.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/t/dbh.t?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/t/dbh.t (original)
+++ branches/upstream/libexception-class-dbi-perl/current/t/dbh.t Fri Jun 24 19:42:25 2011
@@ -1,6 +1,4 @@
 #!/usr/bin/perl -w
-
-# $Id: dbh.t 3917 2008-05-15 17:06:33Z david $
 
 use strict;
 use Test::More tests => 27;

Modified: branches/upstream/libexception-class-dbi-perl/current/t/dbi.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/t/dbi.t?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/t/dbi.t (original)
+++ branches/upstream/libexception-class-dbi-perl/current/t/dbi.t Fri Jun 24 19:42:25 2011
@@ -1,6 +1,4 @@
 #!/usr/bin/perl -w
-
-# $Id: dbi.t 3831 2008-05-06 17:49:25Z david $
 
 use strict;
 use Test::More tests => 14;

Modified: branches/upstream/libexception-class-dbi-perl/current/t/drh.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/t/drh.t?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/t/drh.t (original)
+++ branches/upstream/libexception-class-dbi-perl/current/t/drh.t Fri Jun 24 19:42:25 2011
@@ -1,6 +1,4 @@
 #!/usr/bin/perl -w
-
-# $Id: drh.t 3831 2008-05-06 17:49:25Z david $
 
 use strict;
 use Test::More tests => 21;

Modified: branches/upstream/libexception-class-dbi-perl/current/t/sth.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/t/sth.t?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/t/sth.t (original)
+++ branches/upstream/libexception-class-dbi-perl/current/t/sth.t Fri Jun 24 19:42:25 2011
@@ -1,6 +1,4 @@
 #!/usr/bin/perl -w
-
-# $Id: sth.t 3831 2008-05-06 17:49:25Z david $
 
 use strict;
 use Test::More tests => 35;
@@ -53,7 +51,7 @@
 {
     # PurePerl->{TraceLevel} should return an integer, but it doesn't. It
     # returns undef instead.
-    local $^W;
+    local $SIG{__WARN__} = sub {};
     cmp_ok( $err->trace_level, '==', 0, 'Check trace_level' );
 }
 

Modified: branches/upstream/libexception-class-dbi-perl/current/t/z_pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libexception-class-dbi-perl/current/t/z_pod.t?rev=76500&op=diff
==============================================================================
--- branches/upstream/libexception-class-dbi-perl/current/t/z_pod.t (original)
+++ branches/upstream/libexception-class-dbi-perl/current/t/z_pod.t Fri Jun 24 19:42:25 2011
@@ -1,9 +1,7 @@
-#!perl -w
-
-# $Id: z_pod.t 3713 2008-05-02 20:25:02Z david $
+#!/usr/bin/perl -w
 
 use strict;
 use Test::More;
-eval "use Test::Pod 1.20";
-plan skip_all => "Test::Pod 1.20 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
 all_pod_files_ok();




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