Codebase list libexception-class-dbi-perl / 8305abe9-b56f-4301-b5ab-8d08d9a1fdb9/main
[ Debian Janitor ] New upstream release. Debian Janitor 4 years ago
16 changed file(s) with 174 addition(s) and 135 deletion(s). Raw diff Collapse all Expand all
+0
-26
Build.PL less more
0 use Module::Build;
1
2 my $build = Module::Build->new(
3 module_name => 'Exception::Class::DBI',
4 license => 'perl',
5 create_makefile_pl => 'traditional',
6 configure_requires => { 'Module::Build' => '0.2701' },
7 recommends => { 'Test::Pod' => '1.41' },
8 build_requires => {
9 'Module::Build' => '0.2701',
10 'Test::More' => '0.17',
11 'Test::Harness' => '2.03',
12 },
13 requires => {
14 'DBI' => '1.28',
15 'Exception::Class' => '1.02',
16 },
17 meta_merge => {
18 resources => {
19 homepage => 'http://search.cpan.org/dist/Exception-Class-DBI/',
20 bugtracker => 'http://github.com/theory/exception-class-dbi/issues/',
21 repository => 'http://github.com/theory/exception-class-dbi/',
22 }
23 },
24 );
25 $build->create_build_script;
00 Revision history for Perl extension Exception::Class::DBI.
1
2 1.04 2019-05-27 14:41:02 -0400
3 - Production release identical to 1.03_01
4
5 1.03_01 2019-05-10 20:53:22 -0600
6 - Require Perl 5.6 (for warnings)
7 - Migrate to ExtUtils::MakeMaker for installer
8 - Fix warnings in tests
9 - New maintainer, GitHub repository and issue tracker
10 (old GitHub URLs should forward to the new ones)
11
12 1.02 2011-06-19
13 - Fixed broken rt.cpan.org email address.
114
215 1.01 2011-06-20T04:27:43
316 - Fixed a warning in `t/sth.t`.
0 Build.PL
10 Changes
21 lib/Exception/Class/DBI.pm
2 maint/releaseprep
33 Makefile.PL
44 MANIFEST This list of files
5 META.json
6 META.yml
75 README.md
86 t/dbh.t
97 t/dbi.t
119 t/sth.t
1210 t/subclass.t
1311 t/z_pod.t
12 META.yml Module YAML meta-data (added by MakeMaker)
13 META.json Module JSON meta-data (added by MakeMaker)
00 {
11 "abstract" : "DBI Exception objects",
22 "author" : [
3 "David E. Wheeler <david@justatheory.com>"
3 "unknown"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
6 "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
77 "license" : [
88 "perl_5"
99 ],
1010 "meta-spec" : {
1111 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : "2"
12 "version" : 2
1313 },
1414 "name" : "Exception-Class-DBI",
15 "no_index" : {
16 "directory" : [
17 "t",
18 "inc"
19 ]
20 },
1521 "prereqs" : {
1622 "build" : {
1723 "requires" : {
18 "Module::Build" : "0.2701",
19 "Test::Harness" : "2.03",
20 "Test::More" : "0.17"
24 "ExtUtils::MakeMaker" : "6.64"
2125 }
2226 },
2327 "configure" : {
2428 "requires" : {
25 "Module::Build" : "0.2701"
29 "ExtUtils::MakeMaker" : "6.64"
2630 }
2731 },
2832 "runtime" : {
29 "recommends" : {
30 "Test::Pod" : "1.41"
31 },
3233 "requires" : {
3334 "DBI" : "1.28",
34 "Exception::Class" : "1.02"
35 "Exception::Class" : "1.02",
36 "perl" : "5.006000"
3537 }
36 }
37 },
38 "provides" : {
39 "Exception::Class::DBI" : {
40 "file" : "lib/Exception/Class/DBI.pm",
41 "version" : "1.01"
4238 },
43 "Exception::Class::DBI::DBH" : {
44 "file" : "lib/Exception/Class/DBI.pm",
45 "version" : 0
46 },
47 "Exception::Class::DBI::H" : {
48 "file" : "lib/Exception/Class/DBI.pm",
49 "version" : 0
50 },
51 "Exception::Class::DBI::STH" : {
52 "file" : "lib/Exception/Class/DBI.pm",
53 "version" : 0
39 "test" : {
40 "requires" : {
41 "Test::Harness" : "2.03",
42 "Test::More" : "0.17"
43 }
5444 }
5545 },
5646 "release_status" : "stable",
5747 "resources" : {
5848 "bugtracker" : {
59 "web" : "http://github.com/theory/exception-class-dbi/issues/"
49 "web" : "https://github.com/plicease/Exception-Class-DBI/issues"
6050 },
61 "homepage" : "http://search.cpan.org/dist/Exception-Class-DBI/",
62 "license" : [
63 "http://dev.perl.org/licenses/"
64 ],
51 "homepage" : "https://metacpan.org/pod/Exception-Class-DBI",
6552 "repository" : {
66 "url" : "http://github.com/theory/exception-class-dbi/"
53 "type" : "git",
54 "url" : "https://github.com/plicease/Exception-Class-DBI.git",
55 "web" : "https://github.com/plicease/Exception-Class-DBI"
6756 }
6857 },
69 "version" : "1.01"
58 "version" : "1.04",
59 "x_serialization_backend" : "JSON::PP version 4.02"
7060 }
00 ---
11 abstract: 'DBI Exception objects'
22 author:
3 - 'David E. Wheeler <david@justatheory.com>'
3 - unknown
44 build_requires:
5 Module::Build: 0.2701
6 Test::Harness: 2.03
7 Test::More: 0.17
5 ExtUtils::MakeMaker: '6.64'
6 Test::Harness: '2.03'
7 Test::More: '0.17'
88 configure_requires:
9 Module::Build: 0.2701
9 ExtUtils::MakeMaker: '6.64'
1010 dynamic_config: 1
11 generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
11 generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
1212 license: perl
1313 meta-spec:
1414 url: http://module-build.sourceforge.net/META-spec-v1.4.html
15 version: 1.4
15 version: '1.4'
1616 name: Exception-Class-DBI
17 provides:
18 Exception::Class::DBI:
19 file: lib/Exception/Class/DBI.pm
20 version: 1.01
21 Exception::Class::DBI::DBH:
22 file: lib/Exception/Class/DBI.pm
23 version: 0
24 Exception::Class::DBI::H:
25 file: lib/Exception/Class/DBI.pm
26 version: 0
27 Exception::Class::DBI::STH:
28 file: lib/Exception/Class/DBI.pm
29 version: 0
30 recommends:
31 Test::Pod: 1.41
17 no_index:
18 directory:
19 - t
20 - inc
3221 requires:
33 DBI: 1.28
34 Exception::Class: 1.02
22 DBI: '1.28'
23 Exception::Class: '1.02'
24 perl: '5.006000'
3525 resources:
36 bugtracker: http://github.com/theory/exception-class-dbi/issues/
37 homepage: http://search.cpan.org/dist/Exception-Class-DBI/
38 license: http://dev.perl.org/licenses/
39 repository: http://github.com/theory/exception-class-dbi/
40 version: 1.01
26 bugtracker: https://github.com/plicease/Exception-Class-DBI/issues
27 homepage: https://metacpan.org/pod/Exception-Class-DBI
28 repository: https://github.com/plicease/Exception-Class-DBI.git
29 version: '1.04'
30 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
0 # Note: this file was auto-generated by Module::Build::Compat version 0.3800
1 use ExtUtils::MakeMaker;
2 WriteMakefile
3 (
4 'NAME' => 'Exception::Class::DBI',
5 'VERSION_FROM' => 'lib/Exception/Class/DBI.pm',
6 'PREREQ_PM' => {
7 'DBI' => '1.28',
8 'Exception::Class' => '1.02',
9 'Module::Build' => '0.2701',
10 'Test::Harness' => '2.03',
11 'Test::More' => '0.17'
12 },
13 'INSTALLDIRS' => 'site',
14 'EXE_FILES' => [],
15 'PL_FILES' => {}
16 )
17 ;
0 use strict;
1 use warnings;
2 use 5.006;
3 use ExtUtils::MakeMaker 6.64;
4
5 WriteMakefile(
6 NAME => 'Exception::Class::DBI',
7 LICENSE => 'perl',
8 VERSION_FROM => 'lib/Exception/Class/DBI.pm',
9 ABSTRACT_FROM => 'lib/Exception/Class/DBI.pm',
10 MIN_PERL_VERSION => '5.006000',
11
12 CONFIGURE_REQUIRES => {
13 'ExtUtils::MakeMaker' => '6.64',
14 },
15
16 BUILD_REQUIRES => {
17 'ExtUtils::MakeMaker' => '6.64',
18 },
19
20 TEST_REQUIRES => {
21 'Test::More' => '0.17',
22 'Test::Harness' => '2.03',
23 },
24
25 PREREQ_PM => {
26 'DBI' => '1.28',
27 'Exception::Class' => '1.02',
28 },
29
30 META_MERGE => {
31 'meta-spec' => { version => 2 },
32 resources => {
33 bugtracker => {
34 web => 'https://github.com/plicease/Exception-Class-DBI/issues',
35 },
36 homepage => 'https://metacpan.org/pod/Exception-Class-DBI',
37 repository => {
38 type => 'git',
39 url => 'https://github.com/plicease/Exception-Class-DBI.git',
40 web => 'https://github.com/plicease/Exception-Class-DBI',
41 },
42 }
43 },
44 );
0 Exception/Class/DBI version 1.01
0 Exception/Class/DBI version 1.02
11 ================================
22
33 This module offers a set of DBI-specific exception classes. They inherit from
3838
3939 This module requires these other modules and libraries:
4040
41 * Perl 5.6 or later
4142 * DBI 1.28 or later (1.30 or later strongly recommended).
4243 * Exception::Class 1.02 or later (1.05 or later strongly recommended).
4344 * Test::Simple 0.40 (for testing).
0 libexception-class-dbi-perl (1.01-2) UNRELEASED; urgency=medium
0 libexception-class-dbi-perl (1.04-1) UNRELEASED; urgency=medium
11
22 [ Salvatore Bonaccorso ]
33 * debian/control: Use HTTPS transport protocol for Vcs-Git URI
99 [ Salvatore Bonaccorso ]
1010 * Update Vcs-* headers for switch to salsa.debian.org
1111
12 -- Salvatore Bonaccorso <carnil@debian.org> Sat, 30 Jan 2016 20:04:14 +0100
12 [ Debian Janitor ]
13 * New upstream release.
14
15 -- Debian Janitor <janitor@jelmer.uk> Mon, 12 Aug 2019 20:55:40 +0000
1316
1417 libexception-class-dbi-perl (1.01-1) unstable; urgency=low
1518
00 package Exception::Class::DBI;
11
2 use 5.00500;
2 use 5.006;
33 use strict;
4 use warnings;
45 use Exception::Class;
5 use vars qw($VERSION);
6 $VERSION = '1.01';
6
7 our $VERSION = '1.04';
78
89 use Exception::Class (
910 'Exception::Class::DBI' => {
604605 =head1 Support
605606
606607 This module is stored in an open L<GitHub
607 repository|http://github.com/theory/exception-class-dbi/>. Feel free to fork
608 repository|http://github.com/plicease/Exception-Class-DBI/>. Feel free to fork
608609 and contribute!
609610
610611 Please file bug reports via L<GitHub
611 Issues|http://github.com/theory/exception-class-dbi/issues/> or by sending
612 Issues|http://github.com/plicease/Exception-Class-DBI/issues/> or by sending
612613 mail to
613 L<bug-Exception-Class-DBI.cpan.org|mailto:bug-Exception-Class-DBI.cpan.org>.
614 L<bug-Exception-Class-DBI@rt.cpan.org|mailto:bug-Exception-Class-DBI@rt.cpan.org>.
614615
615616 =head1 Author
616617
617 David E. Wheeler <david@justatheory.com>
618 Original Author is David E. Wheeler <david@justatheory.com>
619
620 Current maintainer is Graham Ollis <plicease@cpan.org>
618621
619622 =head1 See Also
620623
627630
628631 =head1 COPYRIGHT AND LICENSE
629632
630 Copyright (c) 2002-2011, David E. Wheeler. Some Rights Reserved.
633 Copyright (c) 2002-2019, David E. Wheeler. Some Rights Reserved.
631634
632635 This module is free software; you can redistribute it and/or modify it under
633636 the same terms as Perl itself.
0 #!/usr/bin/env perl
1
2 use strict;
3 use warnings;
4 use autodie qw( :all );
5 use App::RewriteVersion;
6
7 my $version = shift @ARGV;
8 my $time = `date +'%F %T %z'`;
9 chomp $time;
10
11 if($version)
12 {
13 # update the version number in all modules
14 {
15 my $rewrite = App::RewriteVersion->new;
16 $rewrite->allow_decimal_underscore(1);
17 $rewrite->verbose(1);
18 $rewrite->rewrite_versions($version);
19 }
20
21 # update the Changes file
22 {
23 my @lines;
24 my $fh;
25 my $first = 1;
26 open $fh, '<', 'Changes';
27 while(my $line = <$fh>)
28 {
29 if($first && $line =~ /^\s+-/)
30 {
31 push @lines, "$version $time\n";
32 $first = 0;
33 }
34 push @lines, $line;
35 }
36 close $fh;
37 open $fh, '>', 'Changes';
38 print $fh $_ for @lines;
39 close $fh;
40 }
41 }
42
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More tests => 27;
43 BEGIN { use_ok('Exception::Class::DBI') or die }
54 use DBI;
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More tests => 14;
43 BEGIN { use_ok('Exception::Class::DBI') or die }
54 use DBI;
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More tests => 21;
43 BEGIN { use_ok('Exception::Class::DBI') }
54 use DBI;
98 # to set the dynamic attributes.
109 use DBD::ExampleP;
1110 local $^W;
11 no warnings 'redefine';
1212 *DBD::ExampleP::dr::connect =
1313 sub { $_[0]->set_err(7, 'Dammit Jim!', 'ABCDE') };
1414 }
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More tests => 35;
43 BEGIN { use_ok('Exception::Class::DBI') or die }
54 # Use PurePerl to get around CursorName bug.
3534 is( $err->errstr, "opendir(foo): $bang",
3635 "Check errstr" );
3736 like( $err->error,
38 qr/^DBD::ExampleP::st execute failed: opendir\(foo\): \E$bang/,
37 qr/^DBD::ExampleP::st execute failed: opendir\(foo\): $bang/,
3938 "Check error" );
4039 is( $err->state, 'S1000', "Check state" );
4140 ok( ! defined $err->retval, "Check retval" );
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More tests => 12;
43 BEGIN { use_ok('Exception::Class::DBI') }
54
0 #!/usr/bin/perl -w
1
20 use strict;
1 use warnings;
32 use Test::More;
43 eval "use Test::Pod 1.41";
54 plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;