summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2024-01-27 02:59:25 +0100
committergregor herrmann <gregoa@debian.org>2024-01-27 02:59:25 +0100
commit05cbfd87262759e2acfeed49deaae8e1f4909dff (patch)
tree13a835096c16aa223a0bbb536d762eb9aaa2694e
parent469dd646ddb9bbd0dc1abb3a03ab8450e3626aa7 (diff)
parent6f0b3b466d83b28c3dd389d8654c7f7d11ab4360 (diff)
Update upstream source from tag 'upstream/0.45'
Update to upstream version '0.45' with Debian dir 8a3d612943a8d341b5a915e63c8f2105daca0854
-rw-r--r--Changes3
-rw-r--r--META.json8
-rw-r--r--META.yml6
-rw-r--r--cpanfile2
-rw-r--r--lib/Parse/PMFile.pm3
5 files changed, 13 insertions, 9 deletions
diff --git a/Changes b/Changes
index 15712db..ee6f950 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Parse-PMFile
+0.45 2024/01/21
+ - Make sure to stringify versions so that they are quoted when they are encoded in JSON
+
0.44 2023/04/27
- Allow to parse class|role NAME VERSION
diff --git a/META.json b/META.json
index 55e4e22..2992182 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"Kenichi Ishigaki <ishigaki@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -42,7 +42,7 @@
"test" : {
"requires" : {
"File::Temp" : "0.19",
- "Test::More" : "0.88"
+ "Test::More" : "0.94"
}
}
},
@@ -52,6 +52,6 @@
"url" : "https://github.com/charsbar/Parse-PMFile"
}
},
- "version" : "0.44",
- "x_serialization_backend" : "JSON::PP version 4.12"
+ "version" : "0.45",
+ "x_serialization_backend" : "JSON::PP version 4.16"
}
diff --git a/META.yml b/META.yml
index 42d81f0..e44c3e1 100644
--- a/META.yml
+++ b/META.yml
@@ -5,11 +5,11 @@ author:
build_requires:
ExtUtils::MakeMaker: '0'
File::Temp: '0.19'
- Test::More: '0.88'
+ Test::More: '0.94'
configure_requires:
ExtUtils::MakeMaker::CPANfile: '0.09'
dynamic_config: 0
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,5 +27,5 @@ requires:
version: '0.83'
resources:
repository: https://github.com/charsbar/Parse-PMFile
-version: '0.44'
+version: '0.45'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff --git a/cpanfile b/cpanfile
index 214f5a2..b8b4226 100644
--- a/cpanfile
+++ b/cpanfile
@@ -8,7 +8,7 @@ configure_requires 'ExtUtils::MakeMaker::CPANfile' => '0.07';
on test => sub {
requires 'File::Temp' => '0.19'; # newdir
- requires 'Test::More' => '0.88';
+ requires 'Test::More' => '0.94';
};
on develop => sub {
diff --git a/lib/Parse/PMFile.pm b/lib/Parse/PMFile.pm
index 11736d7..af4f705 100644
--- a/lib/Parse/PMFile.pm
+++ b/lib/Parse/PMFile.pm
@@ -10,7 +10,7 @@ use Dumpvalue;
use version ();
use File::Spec ();
-our $VERSION = '0.44';
+our $VERSION = '0.45';
our $VERBOSE = 0;
our $ALLOW_DEV_VERSION = 0;
our $FORK = 0;
@@ -462,6 +462,7 @@ sub _packages_per_pmfile {
length($ppp->{$pkg}{version});
}
$ppp->{$pkg}{filemtime} = $filemtime;
+ $ppp->{$pkg}{version} .= ""; # make sure to stringify version
} else {
# $self->_verbose(2,"no pkg found");
}