Skip Menu |

This queue is for tickets about the JSON-PP CPAN distribution.

Report information
The Basics
Id: 83920
Status: resolved
Priority: 0/
Queue: JSON-PP

People
Owner: Nobody in particular
Requestors: jdhedden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.27202
Fixed in: (no value)



Subject: [PATCH] Add $VERSION to JSON::PP::Boolean
Attached patch adds a $VERSION variable to JSON::PP::Boolean. Without $VERION, CPAN keeps saying the module needs to be updated.
Subject: JSON-PP.patch
diff -urN JSON-PP-2.27202/lib/JSON/PP/Boolean.pm JSON-PP-mod/lib/JSON/PP/Boolean.pm --- JSON-PP-2.27202/lib/JSON/PP/Boolean.pm 2013-02-23 01:30:33.000000000 -0500 +++ JSON-PP-mod/lib/JSON/PP/Boolean.pm 2013-03-13 09:16:26.221250000 -0400 @@ -13,7 +13,7 @@ =cut -use JSON::PP (); +use JSON::PP (); $JSON::PP::Boolean::VERSION = $JSON::PP::VERSION; use strict; 1;
On Wed Mar 13 09:50:40 2013, JDHEDDEN wrote: Show quoted text
> Attached patch adds a $VERSION variable to JSON::PP::Boolean. > > Without $VERION, CPAN keeps saying the module needs to be updated.
I just ran into this. It's still broken: cpan[2]> r Package namespace installed latest in CPAN file JSON::PP::Boolean undef 2.27300 MAKAMAKA/JSON-PP-2.27300.tar.gz So every time you run 'upgrade', it'll reinstall JSON::PP for no reason.
On Tue Jan 05 23:19:24 2016, MAUKE wrote: Show quoted text
> On Wed Mar 13 09:50:40 2013, JDHEDDEN wrote:
> > Attached patch adds a $VERSION variable to JSON::PP::Boolean. > > > > Without $VERION, CPAN keeps saying the module needs to be updated.
> > I just ran into this. It's still broken: > > cpan[2]> r > > Package namespace installed latest in CPAN file > JSON::PP::Boolean undef 2.27300 MAKAMAKA/JSON-PP- > 2.27300.tar.gz > > So every time you run 'upgrade', it'll reinstall JSON::PP for no > reason.
Fixed with https://github.com/makamaka/JSON-PP/commit/3063f59426fab1ee2ccdbf03b75de7b192e7adc3 . Closed as 2.92 was released. Thanks.