summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-14 03:21:42 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-14 03:21:42 -0500
commitb6f9cf0cd8b90c31a024581d524cf513a5446c93 (patch)
treea8dcdf7fefa4eb50973263dda9d46a3b46c872e2
parent90bf809d0662a2f87d63a4453e0cd74c101418a7 (diff)
downloadcarp-always-color-b6f9cf0cd8b90c31a024581d524cf513a5446c93.tar.gz
carp-always-color-b6f9cf0cd8b90c31a024581d524cf513a5446c93.zip
update dzil (and other packaging) stuff
-rw-r--r--.gitignore1
-rw-r--r--Changes14
-rw-r--r--dist.ini5
-rw-r--r--lib/Carp/Always/Color.pm52
-rw-r--r--lib/Carp/Always/Color/HTML.pm18
-rw-r--r--lib/Carp/Always/Color/Term.pm18
-rw-r--r--t/000-load.t12
-rw-r--r--t/01-term.t (renamed from t/001-term.t)0
-rw-r--r--t/02-html.t (renamed from t/002-html.t)0
-rw-r--r--t/03-detect.t (renamed from t/003-detect.t)0
-rw-r--r--t/04-eval.t (renamed from t/004-eval.t)0
-rw-r--r--t/05-object.t (renamed from t/005-object.t)0
-rw-r--r--weaver.ini36
13 files changed, 50 insertions, 106 deletions
diff --git a/.gitignore b/.gitignore
index c38068c..fdfbe26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ Makefile.old
nytprof.out
MANIFEST.bak
*.sw[po]
+Carp-Always-Color-*
diff --git a/Changes b/Changes
index b5375ea..9ad894b 100644
--- a/Changes
+++ b/Changes
@@ -1,10 +1,12 @@
Revision history for Carp::Always::Color
-0.03 04/30/2010
- Sigh, stupid packaging (remove stray test.pl from dist)
+{{$NEXT}}
-0.02 04/30/2010
- Fix some bugs dealing with evals and non-string exceptions
+0.03 2010-04-30
+ - Sigh, stupid packaging (remove stray test.pl from dist)
-0.01 04/30/2010
- Initial release
+0.02 2010-04-30
+ - Fix some bugs dealing with evals and non-string exceptions
+
+0.01 2010-04-30
+ - Initial release
diff --git a/dist.ini b/dist.ini
index 2bd5623..644460a 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,11 +1,10 @@
name = Carp-Always-Color
-version = 0.03
author = Jesse Luehrs <doy at tozt dot net>
license = Perl_5
copyright_holder = Jesse Luehrs
-abstract = Carp::Always, but with color
-[@Classic]
+[@DOY]
+dist = Carp-Always-Color
[Prereq]
Carp::Always = 0
diff --git a/lib/Carp/Always/Color.pm b/lib/Carp/Always/Color.pm
index 6aeb61d..a482001 100644
--- a/lib/Carp/Always/Color.pm
+++ b/lib/Carp/Always/Color.pm
@@ -1,6 +1,7 @@
package Carp::Always::Color;
use strict;
use warnings;
+# ABSTRACT: Carp::Always, but with color
BEGIN {
if (-t *STDERR) {
@@ -11,10 +12,6 @@ BEGIN {
}
}
-=head1 NAME
-
-Carp::Always::Color - Carp::Always, but with color
-
=head1 SYNOPSIS
use Carp::Always::Color;
@@ -32,57 +29,10 @@ messages are being sent to a terminal, it colors them with terminal escape
codes, otherwise it colors them with HTML (ideas for more intelligent behavior
here are welcome).
-=head1 BUGS
-
-No known bugs.
-
-Please report any bugs through RT: email
-C<bug-carp-always-color at rt.cpan.org>, or browse to
-L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Always-Color>.
-
=head1 SEE ALSO
L<Carp::Always>
-=head1 SUPPORT
-
-You can find this documentation for this module with the perldoc command.
-
- perldoc Carp::Always::Color
-
-You can also look for information at:
-
-=over 4
-
-=item * AnnoCPAN: Annotated CPAN documentation
-
-L<http://annocpan.org/dist/Carp-Always-Color>
-
-=item * CPAN Ratings
-
-L<http://cpanratings.perl.org/d/Carp-Always-Color>
-
-=item * RT: CPAN's request tracker
-
-L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Carp-Always-Color>
-
-=item * Search CPAN
-
-L<http://search.cpan.org/dist/Carp-Always-Color>
-
-=back
-
-=head1 AUTHOR
-
- Jesse Luehrs <doy at tozt dot net>
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2010 by Jesse Luehrs.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
-
=cut
1;
diff --git a/lib/Carp/Always/Color/HTML.pm b/lib/Carp/Always/Color/HTML.pm
index 788e69c..3c17d21 100644
--- a/lib/Carp/Always/Color/HTML.pm
+++ b/lib/Carp/Always/Color/HTML.pm
@@ -2,10 +2,7 @@ package Carp::Always::Color::HTML;
use strict;
use warnings;
use Carp::Always;
-
-=head1 NAME
-
-Carp::Always::Color::HTML - Carp::Always, but with HTML color
+# ABSTRACT: Carp::Always, but with HTML color
=head1 SYNOPSIS
@@ -53,17 +50,4 @@ END {
@SIG{qw(__DIE__ __WARN__)} = @OLD_SIG{qw(__DIE__ __WARN__)};
}
-=head1 AUTHOR
-
- Jesse Luehrs <doy at tozt dot net>
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2010 by Jesse Luehrs.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
-
-=cut
-
1;
diff --git a/lib/Carp/Always/Color/Term.pm b/lib/Carp/Always/Color/Term.pm
index 6f5eceb..3b3ce2c 100644
--- a/lib/Carp/Always/Color/Term.pm
+++ b/lib/Carp/Always/Color/Term.pm
@@ -2,10 +2,7 @@ package Carp::Always::Color::Term;
use strict;
use warnings;
use Carp::Always;
-
-=head1 NAME
-
-Carp::Always::Color::Term - Carp::Always, but with terminal color
+# ABSTRACT: Carp::Always, but with terminal color
=head1 SYNOPSIS
@@ -53,17 +50,4 @@ END {
@SIG{qw(__DIE__ __WARN__)} = @OLD_SIG{qw(__DIE__ __WARN__)};
}
-=head1 AUTHOR
-
- Jesse Luehrs <doy at tozt dot net>
-
-=head1 COPYRIGHT AND LICENSE
-
-This software is copyright (c) 2010 by Jesse Luehrs.
-
-This is free software; you can redistribute it and/or modify it under
-the same terms as perl itself.
-
-=cut
-
1;
diff --git a/t/000-load.t b/t/000-load.t
deleted file mode 100644
index 49c3422..0000000
--- a/t/000-load.t
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-use Test::More tests => 3;
-
-package Foo;
-::use_ok('Carp::Always::Color')
- or ::BAIL_OUT("couldn't load Carp::Always::Color");
-::use_ok('Carp::Always::Color::Term')
- or ::BAIL_OUT("couldn't load Carp::Always::Color::Term");
-::use_ok('Carp::Always::Color::HTML')
- or ::BAIL_OUT("couldn't load Carp::Always::Color::HTML");
diff --git a/t/001-term.t b/t/01-term.t
index b93af1e..b93af1e 100644
--- a/t/001-term.t
+++ b/t/01-term.t
diff --git a/t/002-html.t b/t/02-html.t
index f51914d..f51914d 100644
--- a/t/002-html.t
+++ b/t/02-html.t
diff --git a/t/003-detect.t b/t/03-detect.t
index 6c4f7d3..6c4f7d3 100644
--- a/t/003-detect.t
+++ b/t/03-detect.t
diff --git a/t/004-eval.t b/t/04-eval.t
index 3500dc0..3500dc0 100644
--- a/t/004-eval.t
+++ b/t/04-eval.t
diff --git a/t/005-object.t b/t/05-object.t
index 3a88dd3..3a88dd3 100644
--- a/t/005-object.t
+++ b/t/05-object.t
diff --git a/weaver.ini b/weaver.ini
new file mode 100644
index 0000000..219a165
--- /dev/null
+++ b/weaver.ini
@@ -0,0 +1,36 @@
+[@CorePrep]
+
+[Name]
+[Version]
+
+[Region / prelude]
+
+[Generic / SYNOPSIS]
+[Generic / DESCRIPTION]
+[Generic / OVERVIEW]
+
+[Collect / ATTRIBUTES]
+command = attr
+
+[Collect / METHODS]
+command = method
+
+[Collect / FUNCTIONS]
+command = func
+
+[Leftovers]
+
+[Region / postlude]
+
+[Template / BUGS]
+template = ~/.dzil/pod_templates/bugs.section
+main_module_only = 1
+
+[SeeAlso]
+
+[Template / SUPPORT]
+template = ~/.dzil/pod_templates/support.section
+main_module_only = 1
+
+[Authors]
+[Legal]