[libconfig-std-perl] 01/01: Imported Upstream version 0.901

Salvatore Bonaccorso carnil at debian.org
Thu Sep 12 17:48:37 UTC 2013


This is an automated email from the git hooks/post-receive script.

carnil pushed a commit to annotated tag upstream/0.901
in repository libconfig-std-perl.

commit 68dd7a733f04850241ba66b4b9e2d9cffc5725f4
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Sep 12 19:34:03 2013 +0200

    Imported Upstream version 0.901
---
 Changes           |    7 ++++++-
 MANIFEST          |    1 +
 META.json         |   43 +++++++++++++++++++++++++++++++++++++++++++
 META.yml          |   41 +++++++++++++----------------------------
 README            |    5 +++--
 lib/Config/Std.pm |   10 ++++++----
 t/00write.t       |    2 +-
 7 files changed, 73 insertions(+), 36 deletions(-)

diff --git a/Changes b/Changes
index 9cc8f72..3035dcb 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,11 @@
 Revision history for Config-Std
 
-0.900  Tue Apr 12 20:41:04 2011
+0.901  Tue Sep 10, 2013
+    - Copyright, added co-maintainers
+    * RT 85956 - 5.18 Hash ordering randomization hit the tests.
+      Thanks to Gregor on Debian for report and Zefram for patch.
+
+0.900   Tue Apr 12 20:41:04 2011
     - Change of Maintainers.
     - Reordered Changes to latest first.
     - Module::Build::Compat creating Makefile.PL traditional
diff --git a/MANIFEST b/MANIFEST
index 21a6f4f..eb96966 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -17,3 +17,4 @@ t/03autoviv.t
 t/comments.t
 t/undef.t
 LICENSE
+META.json                                Module JSON meta-data (added by MakeMaker)
diff --git a/META.json b/META.json
new file mode 100644
index 0000000..1a08dec
--- /dev/null
+++ b/META.json
@@ -0,0 +1,43 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Config-Std",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Class::Std" : "0",
+            "Test::More" : "0",
+            "version" : "0"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "version" : "0.901"
+}
diff --git a/META.yml b/META.yml
index 24822dc..4d05f57 100644
--- a/META.yml
+++ b/META.yml
@@ -1,39 +1,24 @@
 ---
-abstract: 'Load and save configuration files in a standard format'
+abstract: unknown
 author:
-  - 'Damian Conway <DCONWAY at cpan.org>'
-  - 'Bill Ricker <BRICKER at cpan.org>'
-  - 'Tom Metro <tmetro at cpan.org>'
+  - unknown
+build_requires:
+  ExtUtils::MakeMaker: 0
 configure_requires:
-  Module::Build: 0.36
-generated_by: 'Module::Build version 0.3603'
-license: perl
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.120921'
+license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
   version: 1.4
 name: Config-Std
-provides:
-  Config::Std:
-    file: lib/Config/Std.pm
-    version: 0.900
-  Config::Std::Block:
-    file: lib/Config/Std.pm
-  Config::Std::Comment:
-    file: lib/Config/Std.pm
-  Config::Std::Gap:
-    file: lib/Config/Std.pm
-  Config::Std::Hash:
-    file: lib/Config/Std.pm
-  Config::Std::Keyval:
-    file: lib/Config/Std.pm
-recommends:
-  Test::Distribution: 0
-  Test::Pod: 0
+no_index:
+  directory:
+    - t
+    - inc
 requires:
   Class::Std: 0
   Test::More: 0
-  perl: v5.7.3
   version: 0
-resources:
-  license: http://dev.perl.org/licenses/
-version: 0.900
+version: 0.901
diff --git a/README b/README
index a2af9e9..b389b2f 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Config::Std version 0.007
+Config::Std version 0.901
 
 This module implements yet another damn configuration-file system.
 
@@ -36,7 +36,8 @@ None.
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2005, Damian Conway
+Copyright (C) 2005, Damian Conway; 
+Copyright (C) 2011,2013 William Ricker + Tom Metro, maintainers for Boston.PM
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself.
diff --git a/lib/Config/Std.pm b/lib/Config/Std.pm
index 2c79b3d..c925b01 100644
--- a/lib/Config/Std.pm
+++ b/lib/Config/Std.pm
@@ -1,6 +1,6 @@
 package Config::Std;
 
-our $VERSION = '0.900';
+our $VERSION = '0.901';
 
 require v5.7.3; # RT#21184
 
@@ -218,7 +218,8 @@ use Class::Std;
         return unless $is_first{ident $self};
 
         my $first = 1;
-        for my $key ( grep {!$updated_ref->{$_}} keys %{$hash_ref}) {
+	# RT 85956 
+        for my $key ( sort grep {!$updated_ref->{$_}} keys %{$hash_ref}) {
             my $value = $hash_ref->{$key};
             my $separate = ref $value || $value =~ m/\n./xms;
             $self->ensure_gap() if ($first ? $post_gap : $inter_gap)
@@ -323,7 +324,8 @@ use Class::Std;
             my $block = Config::Std::Block->new({name=>$block_name});
             my $subhash = $hash_ref->{$block_name};
             my $first = 1;
-            for my $key ( keys %{$subhash} ) {
+	    # RT 85956
+            for my $key ( sort keys %{$subhash} ) {
                 if (!defined $subhash->{$key}) {
                     croak "Can't save undefined value for key {'$block_name'}{'$key'} (only scalars or array refs)";
                 }
@@ -496,7 +498,7 @@ Config::Std - Load and save configuration files in a standard format
 
 =head1 VERSION
 
-This document describes Config::Std version 0.900
+This document describes Config::Std version 0.901
 
 
 =head1 SYNOPSIS
diff --git a/t/00write.t b/t/00write.t
index 728b71c..2f99c42 100644
--- a/t/00write.t
+++ b/t/00write.t
@@ -42,8 +42,8 @@ is $orig_config, $config                         => 'Content correct';
 
 __DATA__
 
-def 3: def val 3
 def 2: def val 2
+def 3: def val 3
 
 def 3 ml: def val 3
         : across several

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-std-perl.git



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