Skip to content

Commit

Permalink
Pod-Html: rename Auxiliary.pm to Util.pm
Browse files Browse the repository at this point in the history
Per rjbs code review in Perl#18950

Signed-off-by: James E Keenan <jkeenan@cpan.org>
  • Loading branch information
jkeenan committed Jul 6, 2021
1 parent 46dd392 commit 3b4ffc3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -4324,7 +4324,7 @@ ext/Pod-Html/bin/pod2html Translator to turn pod into HTML
ext/Pod-Html/corpus/perlpodspec-copy.pod
ext/Pod-Html/corpus/perlvar-copy.pod
ext/Pod-Html/lib/Pod/Html.pm Convert POD data to HTML
ext/Pod-Html/lib/Pod/Html/Auxiliary.pm Helper functions for Pod-Html
ext/Pod-Html/lib/Pod/Html/Util.pm Helper functions for Pod-Html
ext/Pod-Html/t/anchorify.t
ext/Pod-Html/t/cache.pod
ext/Pod-Html/t/cache.t
Expand Down
6 changes: 3 additions & 3 deletions ext/Pod-Html/lib/Pod/Html.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use File::Basename;
use File::Spec;
use Pod::Simple::Search;
use Pod::Simple::SimpleTree ();
use Pod::Html::Auxiliary qw(
use Pod::Html::Util qw(
html_escape
htmlify
process_command_line
Expand Down Expand Up @@ -694,8 +694,8 @@ sub resolve_pod_page_link {
# then $self->htmlroot eq '' (by definition of htmlfileurl) so
# $self->htmldir needs to be prepended to link to get the absolute path
# that will be relativized
$url = Pod::Html::Auxiliary::relativize_url(
File::Spec::Unix->catdir(unixify($self->htmldir), $url),
$url = Pod::Html::Util::relativize_url(
File::Spec::Unix->catdir(Pod::Html::Util::unixify($self->htmldir), $url),
$self->htmlfileurl # already unixified
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package Pod::Html::Auxiliary;
package Pod::Html::Util;
use strict;
require Exporter;

Expand Down Expand Up @@ -26,7 +26,7 @@ use locale; # make \w work right in non-ASCII lands

=head1 NAME
Pod::Html::Auxiliary - helper functions for Pod-Html
Pod::Html::Util - helper functions for Pod-Html
=head1 SUBROUTINES
Expand Down
4 changes: 2 additions & 2 deletions ext/Pod-Html/t/anchorify.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- perl -*-

use strict;
use Pod::Html::Auxiliary qw( anchorify );
use Pod::Html::Util qw( anchorify );
use Test::More tests => 1;

my @filedata;
Expand Down Expand Up @@ -46,7 +46,7 @@ is_deeply(
__DATA__
=head1 NAME
anchorify - Test C<Pod::Html::Auxiliary::anchorify()>
anchorify - Test C<Pod::Html::Util::anchorify()>
=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion ext/Pod-Html/t/cache.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use warnings;
use Test::More tests => 10;
use Testing qw( setup_testing_dir xconvert );
use Cwd;
use Pod::Html::Auxiliary qw(
use Pod::Html::Util qw(
unixify
);

Expand Down
2 changes: 1 addition & 1 deletion ext/Pod-Html/t/crossref2.t
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use warnings;
use Test::More tests => 1;
use Testing qw( setup_testing_dir xconvert );
use Cwd;
use Pod::Html::Auxiliary qw(
use Pod::Html::Util qw(
unixify
);

Expand Down
2 changes: 1 addition & 1 deletion ext/Pod-Html/t/lib/Testing.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use File::Path ( qw| make_path | );
use File::Spec::Functions ':ALL';
use File::Temp ( qw| tempdir | );
use Data::Dumper;$Data::Dumper::Sortkeys=1;
use Pod::Html::Auxiliary qw(
use Pod::Html::Util qw(
unixify
);

Expand Down

0 comments on commit 3b4ffc3

Please sign in to comment.