Subject: | POD fixes |
small fixes to generated manual pages. Appling this patch will make
debian maintainers life easier
Subject: | pod-fixes.patch |
Author: gregor herrmann <gregoa@debian.org>
Author: Krzysztof Krzyżaniak (eloy) <eloy@debian.org>
Description: fix several pod errors
Bug: #478335
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/AbstractSearch.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/AbstractSearch.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/AbstractSearch.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/AbstractSearch.pm 2009-04-21 20:40:22.000000000 +0200
@@ -6,7 +6,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::AbstractSearch
+DBIx::Class::CDBICompat::AbstractSearch - Emulates L<Class::DBI::AbstractSearch>
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm 2008-03-11 04:04:06.000000000 +0100
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/ColumnsAsHash.pm 2009-04-21 21:35:05.000000000 +0200
@@ -7,7 +7,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::ColumnsAsHash
+DBIx::Class::CDBICompat::ColumnsAsHash - Emulates the behavior of Class::DBI where the object can be accessed as a hash of columns.
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Copy.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Copy.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Copy.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Copy.pm 2009-04-21 20:52:39.000000000 +0200
@@ -8,7 +8,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::Copy
+DBIx::Class::CDBICompat::Copy - Emulates C<<Class::DBI->copy($new_id)>>
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Iterator.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Iterator.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Iterator.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Iterator.pm 2009-04-21 21:27:06.000000000 +0200
@@ -6,7 +6,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::Iterator
+DBIx::Class::CDBICompat::Iterator - Emulates the extra behaviors of the Class::DBI search iterator.
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/NoObjectIndex.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/NoObjectIndex.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/NoObjectIndex.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/NoObjectIndex.pm 2009-04-21 21:29:04.000000000 +0200
@@ -6,7 +6,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::NoObjectIndex
+DBIx::Class::CDBICompat::NoObjectIndex - Defines empty methods for object indexing. They do nothing
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Relationship.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Relationship.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Relationship.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Relationship.pm 2009-04-21 20:59:16.000000000 +0200
@@ -7,7 +7,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::Relationship
+DBIx::Class::CDBICompat::Relationship - Emulate the Class::DBI::Relationship object returned from C<meta_info()>
=head1 DESCRIPTION
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Relationships.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Relationships.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/CDBICompat/Relationships.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/CDBICompat/Relationships.pm 2009-04-21 20:57:53.000000000 +0200
@@ -14,7 +14,7 @@
=head1 NAME
-DBIx::Class::CDBICompat::Relationships
+DBIx::Class::CDBICompat::Relationships - Emulate C<has_a>, C<has_many>, C<might_have> and C<meta_info>
=head1 DESCRIPTION
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/Manual/Cookbook.pod libdbix-class-perl-0.08100.new/lib/DBIx/Class/Manual/Cookbook.pod
--- libdbix-class-perl-0.08100/lib/DBIx/Class/Manual/Cookbook.pod 2009-04-18 20:18:38.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/Manual/Cookbook.pod 2009-04-21 21:39:40.000000000 +0200
@@ -673,7 +673,7 @@
module.
To make an object stringify itself as a single column, use something
-like this (replace C<foo> with the column/method of your choice):
+like this (replace C<name> with the column/method of your choice):
use overload '""' => sub { shift->name}, fallback => 1;
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/Manual/Troubleshooting.pod libdbix-class-perl-0.08100.new/lib/DBIx/Class/Manual/Troubleshooting.pod
--- libdbix-class-perl-0.08100/lib/DBIx/Class/Manual/Troubleshooting.pod 2008-11-04 16:29:03.000000000 +0100
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/Manual/Troubleshooting.pod 2009-04-21 21:41:22.000000000 +0200
@@ -47,7 +47,7 @@
L<DBI> version 1.50 and L<DBD::Pg> 1.43 are known to work.
-=head2 ... Can't locate object method "source_name" via package ...
+=head2 Can't locate object method "source_name" via package
There's likely a syntax error in the table class referred to elsewhere
in this error message. In particular make sure that the package
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/Relationship/BelongsTo.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/Relationship/BelongsTo.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/Relationship/BelongsTo.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/Relationship/BelongsTo.pm 2009-04-21 20:26:45.000000000 +0200
@@ -79,6 +79,14 @@
return 1;
}
+=head1 NAME
+
+DBIx::Class::Relationship::BelongsTo - create relationship between classes on foreign keys
+
+=head1 SEE ALSO
+
+L<DBIx::Class::Relationship>
+
=head1 AUTHORS
Alexander Hartmaier <Alexander.Hartmaier@t-systems.at>
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/ResultClass/HashRefInflator.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/ResultClass/HashRefInflator.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/ResultClass/HashRefInflator.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/ResultClass/HashRefInflator.pm 2009-04-21 19:33:23.000000000 +0200
@@ -5,7 +5,7 @@
=head1 NAME
-DBIx::Class::ResultClass::HashRefInflator
+DBIx::Class::ResultClass::HashRefInflator - access data without objects
=head1 SYNOPSIS
diff -ur libdbix-class-perl-0.08100/lib/DBIx/Class/ResultSourceHandle.pm libdbix-class-perl-0.08100.new/lib/DBIx/Class/ResultSourceHandle.pm
--- libdbix-class-perl-0.08100/lib/DBIx/Class/ResultSourceHandle.pm 2009-04-21 21:33:25.000000000 +0200
+++ libdbix-class-perl-0.08100.new/lib/DBIx/Class/ResultSourceHandle.pm 2009-04-21 19:27:50.000000000 +0200
@@ -20,7 +20,7 @@
=head1 NAME
-DBIx::Class::ResultSourceHandle
+DBIx::Class::ResultSourceHandle - remove link between Rows/ResultSets and source objects
=head1 DESCRIPTION