Skip to content

Commit

Permalink
Tested with perl-5.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tux committed Jun 18, 2024
1 parent bf137c3 commit 219e571
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.009 - 2024-04-16, H.Merijn Brand
0.009 - 2024-06-18, H.Merijn Brand
* Require HTTP::Tiny 0.025
* Tested with perl-5.40.0

0.008 - 2024-04-08, H.Merijn Brand
* Prevent warning if report is incomplete
Expand Down
4 changes: 2 additions & 2 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires "IO::Socket::SSL" => "1.42";
requires "JSON::MaybeXS" => "1.004005";
requires "List::Util";

recommends "Data::Dumper" => "2.188";
recommends "Data::Dumper" => "2.189";
recommends "Data::Peek" => "0.52";
recommends "HTTP::Tiny" => "0.088";
recommends "IO::Socket::SSL" => "2.085";
Expand All @@ -22,5 +22,5 @@ on "test" => sub {
requires "Test::More" => "0.90";
requires "Test::Warnings";

recommends "Test::More" => "1.302198";
recommends "Test::More" => "1.302199";
};
4 changes: 2 additions & 2 deletions sandbox/genMETA.pl
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
ExtUtils::MakeMaker: 7.22
recommends:
Data::Peek: 0.52
Data::Dumper: 2.188
Data::Dumper: 2.189
HTTP::Tiny: 0.088
IO::Socket::SSL: 2.085
test_recommends:
Test::More: 1.302198
Test::More: 1.302199
configure_suggests:
ExtUtils::MakeMaker: 7.70
resources:
Expand Down
7 changes: 4 additions & 3 deletions sandbox/genMETA.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

package genMETA;

our $VERSION = "1.14-20230522";
our $VERSION = "1.15-20231007";

use 5.014001;
use warnings;
Expand Down Expand Up @@ -66,7 +66,7 @@ sub version_from {
croak RED, "Makefile wants version from nonexisten $from", RESET, "\n";
$self->{from} //= $from;
$from eq $self->{from} or
croak RED, "VERSION_FROM mismatch Makefile.PL / YAML", RESET, "\n";
croak RED, "VERSION_FROM mismatch Makefile.PL ($from) / YAML ($self->{from})", RESET, "\n";
}

if ($mf =~ m[\b PREREQ_PM \s*=>\s* \{ ( [^}]+ ) \}]x) {
Expand Down Expand Up @@ -182,7 +182,7 @@ sub check_required {
$v eq $vsn{$_} and next;
printf STDERR "%s%-35s %-6s => %s%s%s\n", BLUE, $_, $vsn{$_}, GREEN, $v, RESET;
}
if (my @mfpr = sort keys %{$self->{mfpr}}) {
if (my @mfpr = grep { $_ ne "version" } sort keys %{$self->{mfpr}}) {
croak RED, "Makefile.PL requires @mfpr, YAML does not", RESET, "\n";
}

Expand Down Expand Up @@ -543,6 +543,7 @@ sub _cpfd {
sub gen_cpanfile {
my $self = shift;

warn "Generating cpanfile ...\n";
open my $fh, ">", "cpanfile";

my $jsn = $self->{h};
Expand Down

0 comments on commit 219e571

Please sign in to comment.