[libclass-tiny-perl] 13/19: drop a non-core test dep and fix docs
gregor herrmann
gregoa at debian.org
Sun May 31 14:03:12 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag release-0.004
in repository libclass-tiny-perl.
commit f3bac2decfc6389692044fc132f877eb829cf7e7
Author: David Golden <dagolden at cpan.org>
Date: Wed Aug 21 15:49:52 2013 -0400
drop a non-core test dep and fix docs
---
META.json | 2 --
README.pod | 9 +++++----
dist.ini | 2 ++
lib/Class/Tiny.pm | 9 +++++----
4 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/META.json b/META.json
index 52399e4..e00b33b 100644
--- a/META.json
+++ b/META.json
@@ -53,9 +53,7 @@
"requires" : {
"Exporter" : "0",
"ExtUtils::MakeMaker" : "0",
- "File::Find" : "0",
"File::Spec::Functions" : "0",
- "File::Temp" : "0",
"List::Util" : "0",
"Test::More" : "0.96",
"base" : "0",
diff --git a/README.pod b/README.pod
index af2f92e..b51a010 100644
--- a/README.pod
+++ b/README.pod
@@ -84,8 +84,9 @@ C<DESTROY> calls C<DEMOLISH> for each class from child to parent
=back
-It uses no non-core modules (except on Perls older than 5.10, where it requires
-L<MRO::Compat> from CPAN).
+It uses no non-core modules for any recent Perl. On Perls older than v5.10 it
+requires L<MRO::Compat>. On Perls older than v5.14, it requires
+L<Devel::GlobalDestruction>.
=head2 Why this instead of Object::Tiny or Class::Accessor or something else?
@@ -104,7 +105,7 @@ I looked for something like it on CPAN, but after checking a dozen class
creators I realized I could implement it exactly how I wanted faster than I
could search CPAN for something merely sufficient.
-=for Pod::Coverage new get_all_attributes_for
+=for Pod::Coverage new get_all_attributes_for prepare_class create_attributes
=head1 USAGE
@@ -184,7 +185,7 @@ the reference provided.
In order to help catch typos in constructor arguments, any argument that it is
not also a valid method (e.g. an accessor or other method) will result in a
fatal exception. This is not perfect, but should catch typical transposition
-typos. Also see L</BUILD> for how to explictly hide non-attribute, non-method
+typos. Also see L</BUILD> for how to explicitly hide non-attribute, non-method
arguments if desired.
=head2 BUILD
diff --git a/dist.ini b/dist.ini
index 9f71b02..8fed6a7 100644
--- a/dist.ini
+++ b/dist.ini
@@ -6,10 +6,12 @@ copyright_year = 2013
[@DAGOLDEN]
:version = 0.045
+-remove = Test::Compile
AutoMetaResources.bugtracker.rt = 0
AutoMetaResources.bugtracker.github = user:dagolden
stopwords = destructor
+
[RemovePrereqs]
remove = Devel::GlobalDestruction
remove = MRO::Compat
diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index 5d2c257..44cc982 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -132,7 +132,7 @@ sub DESTROY {
1;
-=for Pod::Coverage new get_all_attributes_for
+=for Pod::Coverage new get_all_attributes_for prepare_class create_attributes
=head1 SYNOPSIS
@@ -179,8 +179,9 @@ code. Here is a list of features:
* superclass provides a C<DESTROY> method
* C<DESTROY> calls C<DEMOLISH> for each class from child to parent
-It uses no non-core modules (except on Perls older than 5.10, where it requires
-L<MRO::Compat> from CPAN).
+It uses no non-core modules for any recent Perl. On Perls older than v5.10 it
+requires L<MRO::Compat>. On Perls older than v5.14, it requires
+L<Devel::GlobalDestruction>.
=head2 Why this instead of Object::Tiny or Class::Accessor or something else?
@@ -277,7 +278,7 @@ the reference provided.
In order to help catch typos in constructor arguments, any argument that it is
not also a valid method (e.g. an accessor or other method) will result in a
fatal exception. This is not perfect, but should catch typical transposition
-typos. Also see L</BUILD> for how to explictly hide non-attribute, non-method
+typos. Also see L</BUILD> for how to explicitly hide non-attribute, non-method
arguments if desired.
=head2 BUILD
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-tiny-perl.git
More information about the Pkg-perl-cvs-commits
mailing list