r66343 - in /branches/upstream/libconfig-json-perl/current: Changes Config-JSON.kpf LICENSE MANIFEST META.yml Makefile.PL README dist.ini lib/Config/JSON.pm t/Config.t t/release-pod-coverage.t t/release-pod-syntax.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat Dec 25 18:00:23 UTC 2010


Author: jawnsy-guest
Date: Sat Dec 25 18:00:00 2010
New Revision: 66343

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66343
Log:
[svn-upgrade] new version libconfig-json-perl (1.5100)

Added:
    branches/upstream/libconfig-json-perl/current/Config-JSON.kpf
Modified:
    branches/upstream/libconfig-json-perl/current/Changes
    branches/upstream/libconfig-json-perl/current/LICENSE
    branches/upstream/libconfig-json-perl/current/MANIFEST
    branches/upstream/libconfig-json-perl/current/META.yml
    branches/upstream/libconfig-json-perl/current/Makefile.PL
    branches/upstream/libconfig-json-perl/current/README
    branches/upstream/libconfig-json-perl/current/dist.ini
    branches/upstream/libconfig-json-perl/current/lib/Config/JSON.pm
    branches/upstream/libconfig-json-perl/current/t/Config.t
    branches/upstream/libconfig-json-perl/current/t/release-pod-coverage.t
    branches/upstream/libconfig-json-perl/current/t/release-pod-syntax.t

Modified: branches/upstream/libconfig-json-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/Changes?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/Changes (original)
+++ branches/upstream/libconfig-json-perl/current/Changes Sat Dec 25 18:00:00 2010
@@ -1,4 +1,10 @@
 Revision history for Config-JSON
+
+1.5100 2010-12-09
+ - Swtiched to Any::Moose so that it runs faster if used in a command line app.
+ - Now requires Any::Moose.
+ - No longer requires Moose.
+ - Added test for possible interaction problem with Data::GUID reported by David Delikat.
 
 1.5000 2009-12-19
  - Converted Config::JSON to use Moose.

Added: branches/upstream/libconfig-json-perl/current/Config-JSON.kpf
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/Config-JSON.kpf?rev=66343&op=file
==============================================================================
--- branches/upstream/libconfig-json-perl/current/Config-JSON.kpf (added)
+++ branches/upstream/libconfig-json-perl/current/Config-JSON.kpf Sat Dec 25 18:00:00 2010
@@ -1,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Komodo Project File - DO NOT EDIT -->
+<project id="8636d694-6100-8946-82b7-92c9b2db9ae6" kpf_version="4" name="Config-JSON.kpf">
+<preference-set idref="8636d694-6100-8946-82b7-92c9b2db9ae6">
+  <boolean id="import_live">1</boolean>
+</preference-set>
+</project>

Modified: branches/upstream/libconfig-json-perl/current/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/LICENSE?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/LICENSE (original)
+++ branches/upstream/libconfig-json-perl/current/LICENSE Sat Dec 25 18:00:00 2010
@@ -1,4 +1,4 @@
-This software is copyright (c) 2009 by Plain Black Corporation.
+This software is copyright (c) 2010 by Plain Black Corporation.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2009 by Plain Black Corporation.
+This software is Copyright (c) 2010 by Plain Black Corporation.
 
 This is free software, licensed under:
 
@@ -270,7 +270,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2009 by Plain Black Corporation.
+This software is Copyright (c) 2010 by Plain Black Corporation.
 
 This is free software, licensed under:
 

Modified: branches/upstream/libconfig-json-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/MANIFEST?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/MANIFEST (original)
+++ branches/upstream/libconfig-json-perl/current/MANIFEST Sat Dec 25 18:00:00 2010
@@ -1,4 +1,5 @@
 Changes
+Config-JSON.kpf
 LICENSE
 MANIFEST
 META.yml
@@ -12,4 +13,4 @@
 t/Include.t
 t/Wildcard.t
 t/release-pod-coverage.t
-t/release-pod-syntax.t
+t/release-pod-syntax.t

Modified: branches/upstream/libconfig-json-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/META.yml?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/META.yml (original)
+++ branches/upstream/libconfig-json-perl/current/META.yml Sat Dec 25 18:00:00 2010
@@ -2,17 +2,21 @@
 abstract: 'A JSON based config file system.'
 author:
   - 'JT Smith <RIZEN at cpan.org>'
-generated_by: 'Dist::Zilla version 1.093400'
+build_requires: {}
+configure_requires:
+  ExtUtils::MakeMaker: 6.31
+dynamic_config: 0
+generated_by: 'Dist::Zilla version 4.102340, CPAN::Meta::Converter version 2.101670'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Config-JSON
 requires:
+  Any::Moose: 0.13
   File::Temp: 0.18
   JSON: 2.16
   List::Util: 1.19
-  Moose: 0.93
   Test::Deep: 0.095
   Test::More: 0.7
-version: 1.5000
+version: 1.5100

Modified: branches/upstream/libconfig-json-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/Makefile.PL?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/Makefile.PL (original)
+++ branches/upstream/libconfig-json-perl/current/Makefile.PL Sat Dec 25 18:00:00 2010
@@ -4,24 +4,53 @@
 
 
 
-use ExtUtils::MakeMaker;
+use ExtUtils::MakeMaker 6.31;
 
-WriteMakefile(
-  DISTNAME  => 'Config-JSON',
-  NAME      => 'Config::JSON',
-  AUTHOR    => "JT\ Smith\ \<RIZEN\@cpan\.org\>",
-  ABSTRACT  => "A\ JSON\ based\ config\ file\ system\.",
-  VERSION   => '1.5000',
-  EXE_FILES => [ qw() ],
-  (eval { ExtUtils::MakeMaker->VERSION(6.31) } ? (LICENSE => 'perl') : ()),
-  PREREQ_PM    => {
-    "Test::More" => '0.7',
-    "List::Util" => '1.19',
-    "File::Temp" => '0.18',
-    "JSON" => '2.16',
-    "Test::Deep" => '0.095',
-    "Moose" => '0.93',
+
+
+my %WriteMakefileArgs = (
+  'ABSTRACT' => 'A JSON based config file system.',
+  'AUTHOR' => 'JT Smith <RIZEN at cpan.org>',
+  'BUILD_REQUIRES' => {},
+  'CONFIGURE_REQUIRES' => {
+    'ExtUtils::MakeMaker' => '6.31'
   },
-  test => {TESTS => 't/*.t'}
+  'DISTNAME' => 'Config-JSON',
+  'EXE_FILES' => [],
+  'LICENSE' => 'perl',
+  'NAME' => 'Config::JSON',
+  'PREREQ_PM' => {
+    'Any::Moose' => '0.13',
+    'File::Temp' => '0.18',
+    'JSON' => '2.16',
+    'List::Util' => '1.19',
+    'Test::Deep' => '0.095',
+    'Test::More' => '0.7'
+  },
+  'VERSION' => '1.5100',
+  'test' => {
+    'TESTS' => 't/*.t'
+  }
 );
 
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
+  my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
+  my $pp = $WriteMakefileArgs{PREREQ_PM};
+  for my $mod ( keys %$br ) {
+    if ( exists $pp->{$mod} ) {
+      $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
+    }
+    else {
+      $pp->{$mod} = $br->{$mod};
+    }
+  }
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
+
+
+

Modified: branches/upstream/libconfig-json-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/README?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/README (original)
+++ branches/upstream/libconfig-json-perl/current/README Sat Dec 25 18:00:00 2010
@@ -1,12 +1,13 @@
 
 
-This archive contains the distribution Config-JSON, version
-1.5000:
+This archive contains the distribution Config-JSON,
+version 1.5100:
 
   A JSON based config file system.
 
-This software is copyright (c) 2009 by Plain Black Corporation.
+This software is copyright (c) 2010 by Plain Black Corporation.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
 
+

Modified: branches/upstream/libconfig-json-perl/current/dist.ini
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/dist.ini?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/dist.ini (original)
+++ branches/upstream/libconfig-json-perl/current/dist.ini Sat Dec 25 18:00:00 2010
@@ -1,5 +1,5 @@
 name    = Config-JSON
-version = 1.5000
+version = 1.5100
 author  = JT Smith <RIZEN at cpan.org>
 license = Perl_5
 copyright_holder = Plain Black Corporation
@@ -11,7 +11,7 @@
 Test::More = 0.7
 Test::Deep = 0.095
 File::Temp = 0.18
-Moose = 0.93
+Any::Moose = 0.13
 JSON = 2.16
 
 

Modified: branches/upstream/libconfig-json-perl/current/lib/Config/JSON.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/lib/Config/JSON.pm?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/lib/Config/JSON.pm (original)
+++ branches/upstream/libconfig-json-perl/current/lib/Config/JSON.pm Sat Dec 25 18:00:00 2010
@@ -1,7 +1,9 @@
 package Config::JSON;
-our $VERSION = '1.5000';
-
-use Moose;
+BEGIN {
+  $Config::JSON::VERSION = '1.5100';
+}
+
+use Any::Moose;
 use File::Spec;
 use JSON 2.0;
 use List::Util;
@@ -329,7 +331,7 @@
 
 =head1 VERSION
 
-version 1.5000
+version 1.5100
 
 =head1 SYNOPSIS
 
@@ -662,5 +664,5 @@
 
 =cut
 
-no Moose;
+no Any::Moose;
 __PACKAGE__->meta->make_immutable;

Modified: branches/upstream/libconfig-json-perl/current/t/Config.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/t/Config.t?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/t/Config.t (original)
+++ branches/upstream/libconfig-json-perl/current/t/Config.t Sat Dec 25 18:00:00 2010
@@ -1,4 +1,4 @@
-use Test::More tests => 35;
+use Test::More tests => 36;
 
 use lib '../lib';
 use Test::Deep;
@@ -82,7 +82,8 @@
 is $hash->{'cdn/'}, 'CDNRoot', 'allow for escaped slashes in keys';
 my $reconfig = Config::JSON->new($filename);
 cmp_bag($config->get('cars/ford'),$reconfig->get('cars/ford'), 'set() multilevel after re-reading config file');
-
+$config->set('Data::GUID', '9EDE9D96-D416-11DF-A7FC-B391564030AF');
+is($config->get('Data::GUID'), '9EDE9D96-D416-11DF-A7FC-B391564030AF', 'report that Data::GUID does not work with CJ');
 
 # delete 
 $config->delete("dsn");

Modified: branches/upstream/libconfig-json-perl/current/t/release-pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/t/release-pod-coverage.t?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/t/release-pod-coverage.t (original)
+++ branches/upstream/libconfig-json-perl/current/t/release-pod-coverage.t Sat Dec 25 18:00:00 2010
@@ -18,4 +18,4 @@
 plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
   if $@;
 
-all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
+all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });

Modified: branches/upstream/libconfig-json-perl/current/t/release-pod-syntax.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-json-perl/current/t/release-pod-syntax.t?rev=66343&op=diff
==============================================================================
--- branches/upstream/libconfig-json-perl/current/t/release-pod-syntax.t (original)
+++ branches/upstream/libconfig-json-perl/current/t/release-pod-syntax.t Sat Dec 25 18:00:00 2010
@@ -9,7 +9,7 @@
 
 use Test::More;
 
-eval "use Test::Pod 1.00";
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+eval "use Test::Pod 1.41";
+plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
 
-all_pod_files_ok();
+all_pod_files_ok();




More information about the Pkg-perl-cvs-commits mailing list