Skip to content

Commit fb95697

Browse files
committed
Versions
1 parent c155612 commit fb95697

File tree

6 files changed

+25
-14
lines changed

6 files changed

+25
-14
lines changed

.releaserc

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ allow_glob_in_perls 1
88
required DBI,Text::CSV_XS,SQL::Statement
99
perls /pro/bin/perl:/usr/bin/perl\
1010
:/media/Tux/perls/bin/perl5.8\
11-
:/media/Tux/perls/bin/perl5.[123][02468]\
12-
:/media/Tux/perls/bin/perl5.35\
11+
:/media/Tux/perls/bin/perl5.[1234][02468]\
12+
:/media/Tux/perls/bin/perl5.41*\
1313
:/media/Tux/perls/bin/tperl5.8\
14-
:/media/Tux/perls/bin/perl5.[123][02468]\
15-
:/media/Tux/perls/bin/tperl5.35
14+
:/media/Tux/perls/bin/perl5.[1234][02468]\
15+
:/media/Tux/perls/bin/tperl5.41*

ChangeLog

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0.61 - 2024-06-18, H.Merijn Brand
1+
0.61 - 2024-12-31, H.Merijn Brand
22
* Replace "use vars" with "our" (James Raspass: PR #9)
33
* Specify recommended versions based on known CVE's
44
* Update doc for groff-1.24

cpanfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ requires "Text::CSV_XS" => "1.01";
66
recommends "DBD::File" => "0.44";
77
recommends "DBI" => "1.643";
88
recommends "SQL::Statement" => "1.414";
9-
recommends "Text::CSV_XS" => "1.55";
9+
recommends "Text::CSV_XS" => "1.58";
1010

11-
suggests "DBI" => "1.643";
11+
suggests "DBI" => "1.645";
1212

1313
on "configure" => sub {
1414
requires "DBI" => "1.628";
@@ -31,7 +31,7 @@ on "test" => sub {
3131
requires "charnames";
3232

3333
recommends "Encode" => "3.12";
34-
recommends "Test::More" => "1.302199";
34+
recommends "Test::More" => "1.302207";
3535

3636
suggests "Encode" => "3.21";
3737
};

lib/Bundle/DBD/CSV.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Bundle::DBD::CSV - A bundle to install the DBD::CSV driver
2121
2222
=head1 CONTENTS
2323
24-
DBI 1.643
24+
DBI 1.645
2525
26-
Text::CSV_XS 1.55
26+
Text::CSV_XS 1.58
2727
2828
SQL::Statement 1.414
2929

sandbox/genMETA.pl

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ sub usage {
7676
DBI: 1.643
7777
DBD::File: 0.44
7878
SQL::Statement: 1.414
79-
Text::CSV_XS: 1.55
79+
Text::CSV_XS: 1.58
8080
suggests:
81-
DBI: 1.643
81+
DBI: 1.645
8282
configure_requires:
8383
ExtUtils::MakeMaker: 0
8484
DBI: 1.628
@@ -95,7 +95,7 @@ sub usage {
9595
Cwd: 0
9696
charnames: 0
9797
test_recommends:
98-
Test::More: 1.302199
98+
Test::More: 1.302207
9999
Encode: 3.12
100100
test_suggests:
101101
Encode: 3.21

sandbox/genMETA.pm

+12-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
package genMETA;
44

5-
our $VERSION = "1.15-20231007";
5+
our $VERSION = "1.16-20240903";
66

77
use 5.014001;
88
use warnings;
@@ -30,7 +30,9 @@ sub new {
3030

3131
sub extract_version {
3232
my $fh = shift;
33+
my @vsn;
3334
while (<$fh>) {
35+
m/\$VERSION\b/ and push @vsn => $_;
3436
m{^(?:our\s+)? # declaration
3537
\$VERSION \s*=\s* # variable
3638
["']? ([0-9._]+) # version
@@ -41,6 +43,15 @@ sub extract_version {
4143
$}x or next;
4244
return $1;
4345
}
46+
# No match on first scan, try without date
47+
for (@vsn) {
48+
m{^(?:our\s+)? # declaration
49+
\$VERSION \s*=\s* # variable
50+
([""'']) ([0-9._]+) \1 # version
51+
\s*;
52+
}x or next;
53+
return $2;
54+
}
4455
} # extract_version
4556

4657
sub version_from {

0 commit comments

Comments
 (0)