Subject: | Parse App::cpanminus::reporter version |
See attached patch.
Subject: | 0001-parse-App-cpanminus-reporter-version.patch |
From 841de0dc024e1b41fd6b6a34d34235f8b9a87bea Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sat, 11 Apr 2015 10:35:10 +0200
Subject: [PATCH] parse App::cpanminus::reporter version
Previously the App::cpanminus::reporter version was missing in the
meta:writer values.
---
lib/CPAN/Testers/ParseReport.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/CPAN/Testers/ParseReport.pm b/lib/CPAN/Testers/ParseReport.pm
index 0a6c7b1..84a0de9 100644
--- a/lib/CPAN/Testers/ParseReport.pm
+++ b/lib/CPAN/Testers/ParseReport.pm
@@ -630,6 +630,8 @@ sub parse_report {
if (0) {
} elsif (/CPANPLUS, version (\S+)/) {
$extract{"meta:writer"} = "CPANPLUS $1";
+ } elsif (/created by (App::cpanminus::reporter \S+)/) {
+ $extract{"meta:writer"} = $1;
} elsif (/created (?:automatically )?by (\S+)/) {
$extract{"meta:writer"} = $1;
if (/\s+on\s+perl\s+([^,]+),/) {
--
2.1.2