Hello community, here is the log from the commit of package perl-Config-Auto for openSUSE:Factory checked in at 2014-03-09 18:35:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-Auto (Old) and /work/SRC/openSUSE:Factory/.perl-Config-Auto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-Auto" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-Auto/perl-Config-Auto.changes 2012-02-16 10:06:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Config-Auto.new/perl-Config-Auto.changes 2014-03-09 18:35:10.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 7 08:52:59 UTC 2014 - [email protected] + +- updated to 0.44 + - Resolve RT#91891 an edge-case with equal and space format detection + +------------------------------------------------------------------- Old: ---- Config-Auto-0.42.tar.gz New: ---- Config-Auto-0.44.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-Auto.spec ++++++ --- /var/tmp/diff_new_pack.i1tPg3/_old 2014-03-09 18:35:11.000000000 +0100 +++ /var/tmp/diff_new_pack.i1tPg3/_new 2014-03-09 18:35:11.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Config-Auto # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-Config-Auto -Version: 0.42 +Version: 0.44 Release: 0 %define cpan_name Config-Auto Summary: Magical config file parser @@ -32,9 +32,6 @@ BuildRequires: perl(Config::IniFiles) BuildRequires: perl(IO::String) BuildRequires: perl(YAML) >= 0.67 -#BuildRequires: perl(Config::Auto) -#BuildRequires: perl(XML::Simple) -#BuildRequires: perl(YAML::Any) Requires: perl(Config::IniFiles) Requires: perl(IO::String) Requires: perl(YAML) >= 0.67 ++++++ Config-Auto-0.42.tar.gz -> Config-Auto-0.44.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/Changes new/Config-Auto-0.44/Changes --- old/Config-Auto-0.42/Changes 2012-02-07 17:47:36.000000000 +0100 +++ new/Config-Auto-0.44/Changes 2014-03-02 00:30:33.000000000 +0100 @@ -1,38 +1,42 @@ +0.44 Sat Mar 1 23:26:12 GMT 2014 + + - Resolve RT#91891 an edge-case with equal and space format detection + 0.42 Tue Feb 7 16:46:38 GMT 2012 -=================================== + - Add a test fstab file instead of relying on the vagaries of system ones 0.40 Mon Feb 6 21:19:29 2012 -================================ + - Resolve RT 74711 reported by David Oswald ( Calling Config::Auto::parse while $_ aliases a constant value throws exception ) 0.38 Mon Aug 8 21:38:10 2011 -================================ + - Resolve RT 69984 reported by Thomas Johnson ( Array handling regression when using equals format ) 0.36 Fri Jul 1 14:38:57 2011 -================================ + - Fix for RT 68913 reported by Michael Lackhoff ( config files with DOS line endings do not work in Linux ) 0.34 Tue Mar 8 15:02:06 2011 -================================ + - Apply patch from Andrew Ruthven RT #66460 ( also Debian Bug # 617305 ) 0.32 Wed Feb 23 21:25:09 2011 -================================ + - Fix a regression with space separated format reported by Karel Petera RT #66050 0.30 Sun Jan 23 22:51:22 2011 -================================ + - Apply a fix from Nigel Horne RT #65019 0.29_02 Thu Mar 12 12:39:03 2009 -================================ + - Not all versions of XML::Parser deal well with an IO::String filehandle; pass the value in as string instead - Fix a broken XML test @@ -40,7 +44,7 @@ - Don't delete XML tests, skip them 0.29_01 Wed Mar 11 13:51:31 2009 -================================ + - Address #44018: Speed enhancements to only load modules if they are actually needed. By Lyle Hopkins - Address #32927: Hash key being assigned to $1 instead of $_ @@ -54,28 +58,28 @@ - Increased test coverage 0.20 Sat Apr 7 15:13:51 2007 -================================ + - Address #25732: Close filehandles after parsing Config::Auto wasn't closing it's filehandles after reading from them. Now it does. 0.18 Wed Jun 28 12:22:29 2006 -================================ + - Address #19938 which states that calling parse() on an xml config without XML::Simple installed dies ungracefully. As of this version, better diagnostics will be provided. 0.17 Tue May 2 14:41:18 2006 -================================ + - Improved YAML autodetection [#18241] 0.15_01 Thu Aug 11 17:00:50 2005 -================================ + - Added experimental YAML support 0.14 Thu Aug 11 16:27:50 2005 -================================ + - Fix uninitialized value warning - Fix pod error - Files under /etc we're not properly detected @@ -84,7 +88,7 @@ 0.13 Tue Jul 26 16:35:37 2005 -================================ + - Add optional path support - update test suite to test::more - split tests by different formats @@ -92,45 +96,45 @@ 0.12 Thu Mar 10 14:58:06 2005 -================================ + - extend do() diagnostics for perl files - extend documentation 0.11 Wed Nov 10 11:35:41 2004 -================================ + - fix small thinko in file finding logic. 0.10 Tue Aug 17 14:34:41 2004 -================================ + - added support for fixed config file name. 0.07 ??? -=================================== + - added support for '/usr/local/etc/' 0.06 Sat Feb 21 13:21:43 2004 -=================================== + - fix a bug in tr/// on a string 0.05 Tue Feb 10 13:16:59 2004 -=================================== + - Fix so that a config file is magically found when the program is started with a full pathname as well 0.04 Sun Sep 7 19:28:40 2003 -==================================== + - Jos Boumans took maintainership - XML::Simple is now an optional module 0.03 Sun Aug 4 09:51:42 2002 -==================================== + - INI files patch by Garrett Rooney 0.02 Thu Jul 4 17:20:13 2002 -==================================== + - I always screw up the README. -==================================== + 0.01 Wed Jul 3 15:00:16 2002 - original version; created by h2xs 1.21 with options -AX -n Config::Auto diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/MANIFEST new/Config-Auto-0.44/MANIFEST --- old/Config-Auto-0.42/MANIFEST 2012-02-07 17:48:08.000000000 +0100 +++ new/Config-Auto-0.44/MANIFEST 2014-03-02 00:32:34.000000000 +0100 @@ -10,11 +10,13 @@ t/04_magic.t t/05_rt69984.t t/06_const_it.t +t/07_rt91891.t t/20_XML_unvailable.t t/99_pod.t t/fstab t/lib/XML/Simple.pm t/src/04_magic.config t/src/05_rt69984.conf +t/src/07_rt91891.conf META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/META.json new/Config-Auto-0.44/META.json --- old/Config-Auto-0.42/META.json 2012-02-07 17:48:08.000000000 +0100 +++ new/Config-Auto-0.44/META.json 2014-03-02 00:32:34.000000000 +0100 @@ -4,7 +4,7 @@ "Jos I. Boumans <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120351", + "generated_by" : "ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 2.133380", "license" : [ "perl_5" ], @@ -48,5 +48,5 @@ "url" : "https://github.com/jib/config-auto" } }, - "version" : "0.42" + "version" : "0.44" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/META.yml new/Config-Auto-0.44/META.yml --- old/Config-Auto-0.42/META.yml 2012-02-07 17:48:07.000000000 +0100 +++ new/Config-Auto-0.44/META.yml 2014-03-02 00:32:34.000000000 +0100 @@ -3,28 +3,28 @@ author: - 'Jos I. Boumans <[email protected]>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.120351' +generated_by: 'ExtUtils::MakeMaker version 6.9, CPAN::Meta::Converter version 2.133380' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Config-Auto no_index: directory: - t - inc requires: - Config::IniFiles: 0 - File::Spec::Functions: 0 - File::Temp: 0 - IO::String: 0 - Test::More: 0 - Text::ParseWords: 0 - YAML: 0.67 + Config::IniFiles: '0' + File::Spec::Functions: '0' + File::Temp: '0' + IO::String: '0' + Test::More: '0' + Text::ParseWords: '0' + YAML: '0.67' resources: repository: https://github.com/jib/config-auto -version: 0.42 +version: '0.44' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/lib/Config/Auto.pm new/Config-Auto-0.44/lib/Config/Auto.pm --- old/Config-Auto-0.42/lib/Config/Auto.pm 2012-02-07 17:44:31.000000000 +0100 +++ new/Config-Auto-0.44/lib/Config/Auto.pm 2014-03-02 00:31:18.000000000 +0100 @@ -7,7 +7,7 @@ use vars qw[$VERSION $DisablePerl $Untaint $Debug]; -$VERSION = '0.42'; +$VERSION = '0.44'; $DisablePerl = 0; $Untaint = 0; $Debug = 0; @@ -323,6 +323,10 @@ delete $score{perl} unless ("@$data" =~ /([\$\@\%]\w+)/); } + if ( $score{equal} && $score{space} && $score{equal} == $score{space} ) { + $score{equal}++; + } + $self->_score( \%score ); return \%score; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/t/07_rt91891.t new/Config-Auto-0.44/t/07_rt91891.t --- old/Config-Auto-0.42/t/07_rt91891.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Config-Auto-0.44/t/07_rt91891.t 2014-03-02 00:30:33.000000000 +0100 @@ -0,0 +1,22 @@ +use strict; +use warnings; +use Config::Auto; +use File::Spec; +use Test::More 'no_plan'; + +BEGIN { chdir 't' if -d 't'; } + +my $expecting = { + 'SOME_SETTING' => [ + '/a/b/c ' + ], +}; + +my $ca = Config::Auto->new( + source => File::Spec->catfile( 'src', '07_rt91891.conf' ), +); + +my $config = $ca->parse; +ok( $config, 'Got config' ); +is( ref($config), 'HASH', 'Got hash' ); +is_deeply( $config, $expecting, 'It looks like it should' ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Auto-0.42/t/src/07_rt91891.conf new/Config-Auto-0.44/t/src/07_rt91891.conf --- old/Config-Auto-0.42/t/src/07_rt91891.conf 1970-01-01 01:00:00.000000000 +0100 +++ new/Config-Auto-0.44/t/src/07_rt91891.conf 2014-03-02 00:19:09.000000000 +0100 @@ -0,0 +1 @@ +SOME_SETTING="/a/b/c " -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
