Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Pod-AsciiDoctor for openSUSE:Factory checked in at 2024-01-04 18:11:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Pod-AsciiDoctor (Old) and /work/SRC/openSUSE:Factory/.perl-Pod-AsciiDoctor.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Pod-AsciiDoctor" Thu Jan 4 18:11:04 2024 rev:5 rq:1136842 version:0.102001 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Pod-AsciiDoctor/perl-Pod-AsciiDoctor.changes 2023-10-19 22:52:18.633293442 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Pod-AsciiDoctor.new.28375/perl-Pod-AsciiDoctor.changes 2024-01-04 18:11:07.165593348 +0100 @@ -1,0 +2,11 @@ +Thu Dec 7 03:08:30 UTC 2023 - Tina Müller <timueller+p...@suse.de> + +- updated to 0.102001 + see /usr/share/doc/packages/perl-Pod-AsciiDoctor/Changes + + 0.102001 2023-12-06 + + - bin/pod2asciidoctor : fix "-o -" + - try to fix bullets-lists + +------------------------------------------------------------------- Old: ---- Pod-AsciiDoctor-0.102000.tar.gz New: ---- Pod-AsciiDoctor-0.102001.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Pod-AsciiDoctor.spec ++++++ --- /var/tmp/diff_new_pack.yyC0iW/_old 2024-01-04 18:11:07.801616573 +0100 +++ /var/tmp/diff_new_pack.yyC0iW/_new 2024-01-04 18:11:07.805616718 +0100 @@ -18,7 +18,7 @@ %define cpan_name Pod-AsciiDoctor Name: perl-Pod-AsciiDoctor -Version: 0.102000 +Version: 0.102001 Release: 0 License: Apache-2.0 Summary: Convert from POD to AsciiDoc @@ -28,7 +28,7 @@ BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.28 +BuildRequires: perl(Module::Build) >= 0.280000 BuildRequires: perl(Path::Tiny) BuildRequires: perl(Pod::Parser) >= 1.65 BuildRequires: perl(Test::More) >= 0.88 ++++++ Pod-AsciiDoctor-0.102000.tar.gz -> Pod-AsciiDoctor-0.102001.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/Build.PL new/Pod-AsciiDoctor-0.102001/Build.PL --- old/Pod-AsciiDoctor-0.102000/Build.PL 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/Build.PL 2023-12-06 17:11:11.000000000 +0100 @@ -1,5 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.030. +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.031. use strict; use warnings; @@ -18,7 +18,7 @@ "Shlomi Fish <shlomif\@cpan.org>" ], "dist_name" => "Pod-AsciiDoctor", - "dist_version" => "0.102000", + "dist_version" => "0.102001", "license" => "apache", "module_name" => "Pod::AsciiDoctor", "recursive_test_files" => 1, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/Changes new/Pod-AsciiDoctor-0.102001/Changes --- old/Pod-AsciiDoctor-0.102000/Changes 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/Changes 2023-12-06 17:11:11.000000000 +0100 @@ -2,6 +2,11 @@ NOT USED - Please use github http://github.com/benignbala/pod-asciidoctor +0.102001 2023-12-06 + + - bin/pod2asciidoctor : fix "-o -" + - try to fix bullets-lists + 0.102000 2023-10-06 - add bin/pod2asciidoctor diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/MANIFEST new/Pod-AsciiDoctor-0.102001/MANIFEST --- old/Pod-AsciiDoctor-0.102000/MANIFEST 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/MANIFEST 2023-12-06 17:11:11.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.031. Build.PL Changes LICENSE @@ -15,6 +15,7 @@ t/00-compile.t t/00-load.t t/01-conversion.t +t/data/bullets_list.pod t/data/pod.pm weaver.ini xt/author/eol.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/META.json new/Pod-AsciiDoctor-0.102001/META.json --- old/Pod-AsciiDoctor-0.102000/META.json 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/META.json 2023-12-06 17:11:11.000000000 +0100 @@ -4,7 +4,7 @@ "Shlomi Fish <shlo...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010", "license" : [ "apache_2_0" ], @@ -63,7 +63,7 @@ "provides" : { "Pod::AsciiDoctor" : { "file" : "lib/Pod/AsciiDoctor.pm", - "version" : "0.102000" + "version" : "0.102001" } }, "release_status" : "stable", @@ -78,10 +78,10 @@ "web" : "https://github.com/shlomif/Pod-AsciiDoctor" } }, - "version" : "0.102000", + "version" : "0.102001", "x_Dist_Zilla" : { "perl" : { - "version" : "5.036001" + "version" : "5.038002" }, "plugins" : [ { @@ -93,17 +93,17 @@ } }, "name" : "@Filter/TestMoreDoneTesting", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@Filter/AutoPrereqs", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Filter/ExecDir", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::GatherDir", @@ -119,32 +119,32 @@ } }, "name" : "@Filter/GatherDir", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Filter/License", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Filter/ManifestSkip", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Filter/MetaYAML", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Filter/PruneCruft", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Filter/Readme", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -159,7 +159,7 @@ { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Filter/ShareDir", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", @@ -169,22 +169,22 @@ { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Filter/ConfirmRelease", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Filter/Manifest", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Filter/MetaConfig", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Filter/MetaJSON", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -194,7 +194,7 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.030" + "version" : "6.031" } ], "include_underscores" : 0 @@ -206,7 +206,7 @@ "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000037", + "Module::Metadata" : "1.000038", "version" : "0.006" } }, @@ -216,7 +216,7 @@ { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "@Filter/MetaResources", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ModuleBuild", @@ -226,22 +226,22 @@ } }, "name" : "@Filter/ModuleBuild", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@Filter/PkgVersion", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Filter/PodCoverageTests", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Filter/PodSyntaxTests", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Test::Compile", @@ -315,7 +315,7 @@ { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Filter/TestRelease", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -460,12 +460,12 @@ { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Filter/UploadToCPAN", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "ExecDir", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -486,57 +486,57 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.030" + "version" : "6.031" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "6.030" + "version" : "6.031" } ], "zilla" : { @@ -544,11 +544,11 @@ "config" : { "is_trial" : 0 }, - "version" : "6.030" + "version" : "6.031" } }, - "x_generated_by_perl" : "v5.36.1", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.35", + "x_generated_by_perl" : "v5.38.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.37", "x_spdx_expression" : "Apache-2.0" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/META.yml new/Pod-AsciiDoctor-0.102001/META.yml --- old/Pod-AsciiDoctor-0.102000/META.yml 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/META.yml 2023-12-06 17:11:11.000000000 +0100 @@ -11,7 +11,7 @@ configure_requires: Module::Build: '0.28' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.031, CPAN::Meta::Converter version 2.150010' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -20,7 +20,7 @@ provides: Pod::AsciiDoctor: file: lib/Pod/AsciiDoctor.pm - version: '0.102000' + version: '0.102001' requires: Carp: '0' Getopt::Long: '0' @@ -35,10 +35,10 @@ bugtracker: https://github.com/shlomif/Pod-AsciiDoctor/issues homepage: http://metacpan.org/release/Pod-AsciiDoctor repository: git://github.com/shlomif/Pod-AsciiDoctor.git -version: '0.102000' +version: '0.102001' x_Dist_Zilla: perl: - version: '5.036001' + version: '5.038002' plugins: - class: Dist::Zilla::Plugin::Prereqs @@ -47,15 +47,15 @@ phase: test type: requires name: '@Filter/TestMoreDoneTesting' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Filter/AutoPrereqs' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ExecDir name: '@Filter/ExecDir' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::GatherDir config: @@ -68,27 +68,27 @@ prune_directory: [] root: . name: '@Filter/GatherDir' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::License name: '@Filter/License' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Filter/ManifestSkip' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaYAML name: '@Filter/MetaYAML' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::PruneCruft name: '@Filter/PruneCruft' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Readme name: '@Filter/Readme' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::RunExtraTests config: @@ -99,7 +99,7 @@ - class: Dist::Zilla::Plugin::ShareDir name: '@Filter/ShareDir' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: '@Filter/CheckChangesHasContent' @@ -107,19 +107,19 @@ - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Filter/ConfirmRelease' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Manifest name: '@Filter/Manifest' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaConfig name: '@Filter/MetaConfig' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaJSON name: '@Filter/MetaJSON' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -128,7 +128,7 @@ - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.030' + version: '6.031' include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' @@ -136,33 +136,33 @@ inherit_version: 1 meta_noindex: 1 Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000037' + Module::Metadata: '1.000038' version: '0.006' name: '@Filter/MetaProvides::Package' version: '2.004003' - class: Dist::Zilla::Plugin::MetaResources name: '@Filter/MetaResources' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ModuleBuild config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/ModuleBuild' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::PkgVersion name: '@Filter/PkgVersion' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Filter/PodCoverageTests' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Filter/PodSyntaxTests' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Test::Compile config: @@ -218,7 +218,7 @@ - class: Dist::Zilla::Plugin::TestRelease name: '@Filter/TestRelease' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -332,11 +332,11 @@ - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Filter/UploadToCPAN' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::ExecDir name: ExecDir - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::Test::Kwalitee config: @@ -352,52 +352,52 @@ - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.030' + version: '6.031' - class: Dist::Zilla::Plugin::FinderCode name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM' - version: '6.030' + version: '6.031' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: 0 - version: '6.030' -x_generated_by_perl: v5.36.1 + version: '6.031' +x_generated_by_perl: v5.38.2 x_serialization_backend: 'YAML::Tiny version 1.74' x_spdx_expression: Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/README new/Pod-AsciiDoctor-0.102001/README --- old/Pod-AsciiDoctor-0.102000/README 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/README 2023-12-06 17:11:11.000000000 +0100 @@ -1,5 +1,5 @@ This archive contains the distribution Pod-AsciiDoctor, -version 0.102000: +version 0.102001: Convert from POD to AsciiDoc @@ -10,4 +10,4 @@ The Apache License, Version 2.0, January 2004 -This README file was generated by Dist::Zilla::Plugin::Readme v6.030. +This README file was generated by Dist::Zilla::Plugin::Readme v6.031. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/bin/pod2asciidoctor new/Pod-AsciiDoctor-0.102001/bin/pod2asciidoctor --- old/Pod-AsciiDoctor-0.102000/bin/pod2asciidoctor 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/bin/pod2asciidoctor 2023-12-06 17:11:11.000000000 +0100 @@ -23,7 +23,7 @@ my $output_fn; GetOptions( "output|o=s" => \$output_fn, ) - or die "errror in cmdline args: $!"; + or die "error in cmdline args: $!"; if ( !defined($output_fn) ) { @@ -31,7 +31,15 @@ } my $adoc = Pod::AsciiDoctor->new(); $adoc->parse_from_filehandle( path( shift @ARGV )->openr() ); - path($output_fn)->spew_utf8( $adoc->adoc() ); + my $USE_STDOUT = ( $output_fn eq '-' ); + if ($USE_STDOUT) + { + print $adoc->adoc(); + } + else + { + path($output_fn)->spew_utf8( $adoc->adoc() ); + } exit(0); } @@ -52,7 +60,7 @@ =head1 VERSION -version 0.102000 +version 0.102001 =head1 VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/dist.ini new/Pod-AsciiDoctor-0.102001/dist.ini --- old/Pod-AsciiDoctor-0.102000/dist.ini 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/dist.ini 2023-12-06 17:11:11.000000000 +0100 @@ -3,7 +3,7 @@ license = Apache_2_0 copyright_holder = Balachandran Sivakumar <balachand...@balachandran.org> copyright_year = 2013 -version = 0.102000 +version = 0.102001 [@Filter] -bundle = @SHLOMIF diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/lib/Pod/AsciiDoctor.pm new/Pod-AsciiDoctor-0.102001/lib/Pod/AsciiDoctor.pm --- old/Pod-AsciiDoctor-0.102000/lib/Pod/AsciiDoctor.pm 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/lib/Pod/AsciiDoctor.pm 2023-12-06 17:11:11.000000000 +0100 @@ -1,5 +1,5 @@ package Pod::AsciiDoctor; -$Pod::AsciiDoctor::VERSION = '0.102000'; +$Pod::AsciiDoctor::VERSION = '0.102001'; use 5.014; use strict; use warnings FATAL => 'all'; @@ -179,12 +179,17 @@ sub make_text { my ( $self, $paragraph, $list ) = @_; + my @lines = split "\n", $paragraph; my $data = $self->_prop; my @i_paragraph; my $pnt = $list ? "*" : ""; for my $line (@lines) { + if ($list) + { + $line =~ s/\A\*\s*//ms; + } push @i_paragraph, $pnt x $data->{indent} . " " . $line . "\n"; } return join "\n", @i_paragraph; @@ -218,7 +223,7 @@ =head1 VERSION -version 0.102000 +version 0.102001 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/t/01-conversion.t new/Pod-AsciiDoctor-0.102001/t/01-conversion.t --- old/Pod-AsciiDoctor-0.102000/t/01-conversion.t 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/t/01-conversion.t 2023-12-06 17:11:11.000000000 +0100 @@ -6,22 +6,38 @@ use Test::More; use Pod::AsciiDoctor (); -my $adoc = Pod::AsciiDoctor->new(); -$adoc->parse_from_file("t/data/pod.pm"); - -# Test C<...> -ok( - $adoc->adoc() =~ /`\$x >> 3` or even `\$y >> 5`/, - "Converted C<<< \$x >> 3 >>> or even C<<<< \$y >> 5 >>>>." -); - -# Test B<...> -ok( $adoc->adoc() =~ /\*test\*/ ); - -# Test I<...> -ok( $adoc->adoc() =~ /_grand_/ ); - -# Test L<text|http://...> -ok( $adoc->adoc() =~ /reference \[Asciidoctor User Manual\]/ ); - +{ + my $adoc = Pod::AsciiDoctor->new(); + $adoc->parse_from_file("t/data/pod.pm"); + + # Test C<...> + like( + $adoc->adoc(), + qr/`\$x >> 3` or even `\$y >> 5`/, + "Converted C<<< \$x >> 3 >>> or even C<<<< \$y >> 5 >>>>.", + ); + + # Test B<...> + like( $adoc->adoc(), qr/\*test\*/, "bold markup", ); + + # Test I<...> + like( $adoc->adoc(), qr/_grand_/, "italics markup", ); + + # Test L<text|http://...> + like( + $adoc->adoc(), + qr/reference \[Asciidoctor User Manual\]/, + "hyperlink markup", + ); + +} + +{ + my $adoc = Pod::AsciiDoctor->new(); + $adoc->parse_from_file("t/data/bullets_list.pod"); + my $text = $adoc->adoc(); + + # Test C<...> + like( $text, qr/^\* +First$/ms, "Rendering bullets_list (<ul>)", ); +} done_testing(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/t/data/bullets_list.pod new/Pod-AsciiDoctor-0.102001/t/data/bullets_list.pod --- old/Pod-AsciiDoctor-0.102000/t/data/bullets_list.pod 1970-01-01 01:00:00.000000000 +0100 +++ new/Pod-AsciiDoctor-0.102001/t/data/bullets_list.pod 2023-12-06 17:11:11.000000000 +0100 @@ -0,0 +1,23 @@ +=encoding utf8 + +=head1 NAME + +=head1 SYNOPSIS + +=head1 DESCRIPTION + +=over 4 + +=item * First + +=item * Second + +=back + +=head1 METHODS + +=head2 + +=head2 + +=cut diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/xt/author/eol.t new/Pod-AsciiDoctor-0.102001/xt/author/eol.t --- old/Pod-AsciiDoctor-0.102000/xt/author/eol.t 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/xt/author/eol.t 2023-12-06 17:11:11.000000000 +0100 @@ -12,6 +12,7 @@ 't/00-compile.t', 't/00-load.t', 't/01-conversion.t', + 't/data/bullets_list.pod', 't/data/pod.pm' ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Pod-AsciiDoctor-0.102000/xt/author/no-tabs.t new/Pod-AsciiDoctor-0.102001/xt/author/no-tabs.t --- old/Pod-AsciiDoctor-0.102000/xt/author/no-tabs.t 2023-10-06 11:33:30.000000000 +0200 +++ new/Pod-AsciiDoctor-0.102001/xt/author/no-tabs.t 2023-12-06 17:11:11.000000000 +0100 @@ -12,6 +12,7 @@ 't/00-compile.t', 't/00-load.t', 't/01-conversion.t', + 't/data/bullets_list.pod', 't/data/pod.pm' );