r47411 - in /branches/upstream/libconfig-std-perl/current: Changes META.yml README lib/Config/Std.pm

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Wed Nov 18 08:10:34 UTC 2009


Author: carnil-guest
Date: Wed Nov 18 08:09:21 2009
New Revision: 47411

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=47411
Log:
[svn-upgrade] Integrating new upstream version, libconfig-std-perl (0.007)

Modified:
    branches/upstream/libconfig-std-perl/current/Changes
    branches/upstream/libconfig-std-perl/current/META.yml
    branches/upstream/libconfig-std-perl/current/README
    branches/upstream/libconfig-std-perl/current/lib/Config/Std.pm

Modified: branches/upstream/libconfig-std-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-std-perl/current/Changes?rev=47411&op=diff
==============================================================================
--- branches/upstream/libconfig-std-perl/current/Changes (original)
+++ branches/upstream/libconfig-std-perl/current/Changes Wed Nov 18 08:09:21 2009
@@ -48,3 +48,8 @@
     - Fixed bug in section heading parsing (thanks Kirk)
 
 
+
+
+0.007  Wed Nov 18 13:21:08 2009
+
+    - Fixed major bug in gap algorithm for new keys (thanks Jojo!)

Modified: branches/upstream/libconfig-std-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-std-perl/current/META.yml?rev=47411&op=diff
==============================================================================
--- branches/upstream/libconfig-std-perl/current/META.yml (original)
+++ branches/upstream/libconfig-std-perl/current/META.yml Wed Nov 18 08:09:21 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                Config-Std
-version:             0.0.5
+version:             0.007
 abstract:            Load and save configuration files in a standard format
 license:             ~
 author:              

Modified: branches/upstream/libconfig-std-perl/current/README
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-std-perl/current/README?rev=47411&op=diff
==============================================================================
--- branches/upstream/libconfig-std-perl/current/README (original)
+++ branches/upstream/libconfig-std-perl/current/README Wed Nov 18 08:09:21 2009
@@ -1,4 +1,4 @@
-Config::Std version 0.0.5
+Config::Std version 0.007
 
 This module implements yet another damn configuration-file system.
 

Modified: branches/upstream/libconfig-std-perl/current/lib/Config/Std.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libconfig-std-perl/current/lib/Config/Std.pm?rev=47411&op=diff
==============================================================================
--- branches/upstream/libconfig-std-perl/current/lib/Config/Std.pm (original)
+++ branches/upstream/libconfig-std-perl/current/lib/Config/Std.pm Wed Nov 18 08:09:21 2009
@@ -1,6 +1,6 @@
 package Config::Std;
 
-use version; our $VERSION = qv('0.0.5');
+our $VERSION = '0.007';
 
 my %global_def_sep;
 my %global_inter_gap;
@@ -217,11 +217,12 @@
 
         my $first = 1;
         for my $key ( grep {!$updated_ref->{$_}} keys %{$hash_ref}) {
+            my $value = $hash_ref->{$key};
             my $separate = ref $value || $value =~ m/\n./xms;
-            $block->ensure_gap() if ($first ? $post_gap : $inter_gap)
+            $self->ensure_gap() if ($first ? $post_gap : $inter_gap)
                                     || $separate;
             $self->add_keyval($key, undef, $hash_ref->{$key});
-            $block->add_gap() if $separate;
+            $self->add_gap() if $separate;
             $first = 0;
         }
     }
@@ -492,7 +493,7 @@
 
 =head1 VERSION
 
-This document describes Config::Std version 0.0.5
+This document describes Config::Std version 0.007
 
 
 =head1 SYNOPSIS




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