File tree 6 files changed +25
-14
lines changed
6 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ allow_glob_in_perls 1
8
8
required DBI,Text::CSV_XS,SQL::Statement
9
9
perls /pro/bin/perl:/usr/bin/perl\
10
10
:/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* \
13
13
:/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*
Original file line number Diff line number Diff line change 1
- 0.61 - 2024-06-18 , H.Merijn Brand
1
+ 0.61 - 2024-12-31 , H.Merijn Brand
2
2
* Replace "use vars" with "our" (James Raspass: PR #9)
3
3
* Specify recommended versions based on known CVE's
4
4
* Update doc for groff-1.24
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ requires "Text::CSV_XS" => "1.01";
6
6
recommends " DBD::File" => " 0.44" ;
7
7
recommends " DBI" => " 1.643" ;
8
8
recommends " SQL::Statement" => " 1.414" ;
9
- recommends " Text::CSV_XS" => " 1.55 " ;
9
+ recommends " Text::CSV_XS" => " 1.58 " ;
10
10
11
- suggests " DBI" => " 1.643 " ;
11
+ suggests " DBI" => " 1.645 " ;
12
12
13
13
on " configure" => sub {
14
14
requires " DBI" => " 1.628" ;
@@ -31,7 +31,7 @@ on "test" => sub {
31
31
requires " charnames" ;
32
32
33
33
recommends " Encode" => " 3.12" ;
34
- recommends " Test::More" => " 1.302199 " ;
34
+ recommends " Test::More" => " 1.302207 " ;
35
35
36
36
suggests " Encode" => " 3.21" ;
37
37
};
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ Bundle::DBD::CSV - A bundle to install the DBD::CSV driver
21
21
22
22
=head1 CONTENTS
23
23
24
- DBI 1.643
24
+ DBI 1.645
25
25
26
- Text::CSV_XS 1.55
26
+ Text::CSV_XS 1.58
27
27
28
28
SQL::Statement 1.414
29
29
Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ sub usage {
76
76
DBI: 1.643
77
77
DBD::File: 0.44
78
78
SQL::Statement: 1.414
79
- Text::CSV_XS: 1.55
79
+ Text::CSV_XS: 1.58
80
80
suggests:
81
- DBI: 1.643
81
+ DBI: 1.645
82
82
configure_requires:
83
83
ExtUtils::MakeMaker: 0
84
84
DBI: 1.628
@@ -95,7 +95,7 @@ sub usage {
95
95
Cwd: 0
96
96
charnames: 0
97
97
test_recommends:
98
- Test::More: 1.302199
98
+ Test::More: 1.302207
99
99
Encode: 3.12
100
100
test_suggests:
101
101
Encode: 3.21
Original file line number Diff line number Diff line change 2
2
3
3
package genMETA ;
4
4
5
- our $VERSION = " 1.15-20231007 " ;
5
+ our $VERSION = " 1.16-20240903 " ;
6
6
7
7
use 5.014001;
8
8
use warnings;
@@ -30,7 +30,9 @@ sub new {
30
30
31
31
sub extract_version {
32
32
my $fh = shift ;
33
+ my @vsn ;
33
34
while (<$fh >) {
35
+ m /\$ VERSION\b / and push @vsn => $_ ;
34
36
m { ^(?:our\s +)? # declaration
35
37
\$ VERSION \s *=\s * # variable
36
38
["']? ([0-9._]+) # version
@@ -41,6 +43,15 @@ sub extract_version {
41
43
$} x or next ;
42
44
return $1 ;
43
45
}
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
+ }
44
55
} # extract_version
45
56
46
57
sub version_from {
You can’t perform that action at this time.
0 commit comments