Hello community, here is the log from the commit of package perl-Config-Tiny for openSUSE:Factory checked in at 2015-03-23 12:19:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Config-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-Tiny/perl-Config-Tiny.changes 2013-11-26 19:24:44.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Config-Tiny.new/perl-Config-Tiny.changes 2015-03-23 12:19:18.000000000 +0100 @@ -1,0 +2,15 @@ +Sat Mar 21 21:09:44 UTC 2015 - mplus...@suse.com + +- Update to 2.22 + * Fix licence info in Makefile.PL to say Perl. +- Changes for 2.21 + * Patch Makefile.PL to refer to the current repo, which is on + github, and not the original one, which is on Adam's web site. + See RT#102125. + * Remove Build.PL because Karen Etheridge tells me Module::Build + is no longer in core. See RT#102126. + * Edit line lengths in this file to a max of 100 chars. + * Edit line lengths in the docs the same way. + * Expand the See Also section of the docs. + +------------------------------------------------------------------- Old: ---- Config-Tiny-2.20.tgz New: ---- Config-Tiny-2.22.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.zQz3Kg/_old 2015-03-23 12:19:19.000000000 +0100 +++ /var/tmp/diff_new_pack.zQz3Kg/_new 2015-03-23 12:19:19.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Config-Tiny # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,22 +16,22 @@ # +%define cpan_name Config-Tiny Name: perl-Config-Tiny -Version: 2.20 +Version: 2.22 Release: 0 -%define cpan_name Config-Tiny Summary: Read/Write .ini style files with as little code as possible License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Config-Tiny/ Source: http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{cpan_name}-%{version}.tgz -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Spec) >= 3.3 BuildRequires: perl(File::Temp) >= 0.22 BuildRequires: perl(Module::Build) >= 0.34 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch #BuildRequires: perl(Config::Tiny) %{perl_requires} @@ -62,14 +62,15 @@ find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Build.PL installdirs=vendor -./Build build flags=%{?_smp_mflags} +perl Makefile.PL installdirs=vendor +make %{?_smp_mflags} %check -./Build test +make %{?_smp_mflags} test %install -./Build install destdir=%{buildroot} create_packlist=0 +%perl_make_install +%perl_process_packlist %perl_gen_filelist %files -f %{name}.files ++++++ Config-Tiny-2.20.tgz -> Config-Tiny-2.22.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/Build.PL new/Config-Tiny-2.22/Build.PL --- old/Config-Tiny-2.20/Build.PL 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/Build.PL 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ -use strict; -use warnings; - -use Module::Build; - -Module::Build -> new -( - module_name => 'Config::Tiny', - license => 'perl', - dist_abstract => 'Read/Write .ini style files with as little code as possible', - dist_author => 'Adam Kennedy <ad...@cpan.org>', - build_requires => - { - 'File::Spec' => 3.30, - 'File::Temp' => 0.22, - 'Test::More' => 0.47, -# 'Test::Pod' => 1.45, # Make it optional. See xt/pod.t - }, - configure_requires => - { - 'Module::Build' => 0.3400, - }, - requires => - { - 'perl' => '5.8.1', # For the utf stuff. - 'strict' => 0, - 'UNIVERSAL' => 0, - 'utf8' => 0, - }, -) -> create_build_script(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/Changelog.ini new/Config-Tiny-2.22/Changelog.ini --- old/Config-Tiny-2.20/Changelog.ini 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/Changelog.ini 2015-02-16 22:34:56.000000000 +0100 @@ -1,7 +1,23 @@ [Module] Name=Config-Tiny: Changelog.Creator=Module::Metadata::Changes V 2.05 -Changelog.Parser=Config::IniFiles V 2.82 +Changelog.Parser=Config::IniFiles V 2.83 + +[V 2.22] +Date=2015-02-17T08:32:00 +Comments=- Fix licence info in Makefile.PL to say Perl. + +[V 2.21] +Date=2015-02-16T08:59:00 +Comments= <<EOT +- Patch Makefile.PL to refer to the current repo, which is on github, and not the original one, +which is on Adam's web site. See RT#102125. +- Remove Build.PL because Karen Etheridge tells me Module::Build is no longer in core. +See RT#102126. +- Edit line lengths in this file to a max of 100 chars. +- Edit line lengths in the docs the same way. +- Expand the See Also section of the docs. +EOT [V 2.20] Date=2013-11-24T10:52:00 @@ -35,7 +51,7 @@ [V 2.16] Date=2013-09-06T11:54:00 Comments= <<EOT -- Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long :-(. +- Replace Path::Tiny with File::Spec, because the former's list of dependencies is so long :-(. Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL. See: RT#88435 (for Tree::DAG_Node) for an explanation. EOT @@ -44,14 +60,15 @@ Date=2013-08-04T14:59:00 Comments= <<EOT - Clean up the shambolic dates in this file. -- Add a note under Caveats about setting options more that once. Only the first case is respected. -Thanx to Kimmel K. See RT#69795. +- Add a note under Caveats about setting options more that once. Only the first case is +respected. Thanx to Kimmel K. See RT#69795. - Add a $encoding parameter to read_file() and write_file(). See docs for details. Add t/04.utf8.t and t/04.utf8.txt. Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571. - For BSD-based systems, when writing a file during tests, use: my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1); -- Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift char. +- Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift +char. - Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json. - Add an FAQ to the docs. - Clean up the docs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/Changes new/Config-Tiny-2.22/Changes --- old/Config-Tiny-2.20/Changes 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/Changes 2015-02-16 22:33:05.000000000 +0100 @@ -1,5 +1,17 @@ Revision history for Perl extension Config-Tiny: +2.22 Tue Feb 17 08:32:00 2015 + - Fix licence info in Makefile.PL to say Perl. + +2.21 Mon Feb 16 08:59:00 2015 + - Patch Makefile.PL to refer to the current repo, which is on github, and not the original one, + which is on Adam's web site. See RT#102125. + - Remove Build.PL because Karen Etheridge tells me Module::Build is no longer in core. + See RT#102126. + - Edit line lengths in this file to a max of 100 chars. + - Edit line lengths in the docs the same way. + - Expand the See Also section of the docs. + 2.20 Sun Nov 24 10:52:00 2013 - Relax pre-req version requirements @@ -20,20 +32,21 @@ - Clean up some error messages slightly. 2.16 Fri Sep 6 11:54:00 2013 - - Replace Path::Tiny with File::Spec, because the former's list of dependencies is soooo long :-(. + - Replace Path::Tiny with File::Spec, because the former's list of dependencies is so long :-(. Changed files: t/02.main.t, t/04.utf8.t, Build.PL and Makefile.PL. See: RT#88435 (for Tree::DAG_Node) for an explanation. 2.15 Sun Aug 4 14:59:00 2013 - Clean up the shambolic dates in this file. - - Add a note under Caveats about setting options more that once. Only the first case is respected. - Thanx to Kimmel K. See RT#69795. + - Add a note under Caveats about setting options more that once. Only the first case is + respected. Thanx to Kimmel K. See RT#69795. - Add a $encoding parameter to read_file() and write_file(). See docs for details. Add t/04.utf8.t and t/04.utf8.txt. Thanx to Mark Lawrence and Wolfgang Husmann. See RT#71029 and RT#85571. - For BSD-based systems, when writing a file during tests, use: my($temp_dir) = File::Temp -> newdir('temp.XXXX', CLEANUP => 1, EXLOCK => 0, TMPDIR => 1); - - Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift char. + - Rename t/*.t files. I use '.' rather than '_' in file names because the latter is a shift + char. - Add MANIFEST.SKIP, Changelog.ini, Build.PL, META.json. - Add an FAQ to the docs. - Clean up the docs. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/MANIFEST new/Config-Tiny-2.22/MANIFEST --- old/Config-Tiny-2.20/MANIFEST 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/MANIFEST 2015-02-16 22:34:57.000000000 +0100 @@ -1,4 +1,3 @@ -Build.PL Changelog.ini Changes lib/Config/Tiny.pm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/META.json new/Config-Tiny-2.22/META.json --- old/Config-Tiny-2.20/META.json 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/META.json 2015-02-16 22:34:58.000000000 +0100 @@ -4,7 +4,7 @@ "Adam Kennedy <ad...@cpan.org>" ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4005, CPAN::Meta::Converter version 2.131560", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060", "license" : [ "perl_5" ], @@ -13,21 +13,27 @@ "version" : "2" }, "name" : "Config-Tiny", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, "prereqs" : { "build" : { "requires" : { - "File::Spec" : "3.3", - "File::Temp" : "0.22", "Test::More" : "0.47" } }, "configure" : { "requires" : { - "Module::Build" : "0.34" + "ExtUtils::MakeMaker" : "0" } }, "runtime" : { "requires" : { + "File::Spec" : "3.3", + "File::Temp" : "0.22", "UNIVERSAL" : "0", "perl" : "v5.8.1", "strict" : "0", @@ -35,17 +41,16 @@ } } }, - "provides" : { - "Config::Tiny" : { - "file" : "lib/Config/Tiny.pm", - "version" : "2.20" - } - }, "release_status" : "stable", "resources" : { "license" : [ - "http://dev.perl.org/licenses/" - ] + "http://opensource.org/licenses/Perl" + ], + "repository" : { + "type" : "git", + "url" : "https://github.com/ronsavage/Config-Tiny.git", + "web" : "https://github.com/ronsavage/Config-Tiny" + } }, - "version" : "2.20" + "version" : "2.22" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/META.yml new/Config-Tiny-2.22/META.yml --- old/Config-Tiny-2.20/META.yml 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/META.yml 2015-02-16 22:34:58.000000000 +0100 @@ -3,27 +3,28 @@ author: - 'Adam Kennedy <ad...@cpan.org>' build_requires: - File::Spec: 3.3 - File::Temp: 0.22 - Test::More: 0.47 + Test::More: '0.47' configure_requires: - Module::Build: 0.34 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'Module::Build version 0.4005, CPAN::Meta::Converter version 2.131560' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.142060' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Config-Tiny -provides: - Config::Tiny: - file: lib/Config/Tiny.pm - version: 2.20 +no_index: + directory: + - t + - inc requires: - UNIVERSAL: 0 + File::Spec: '3.3' + File::Temp: '0.22' + UNIVERSAL: '0' perl: v5.8.1 - strict: 0 - utf8: 0 + strict: '0' + utf8: '0' resources: - license: http://dev.perl.org/licenses/ -version: 2.20 + license: http://opensource.org/licenses/Perl + repository: https://github.com/ronsavage/Config-Tiny.git +version: '2.22' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/Makefile.PL new/Config-Tiny-2.22/Makefile.PL --- old/Config-Tiny-2.20/Makefile.PL 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/Makefile.PL 2015-02-16 22:32:28.000000000 +0100 @@ -1,25 +1,41 @@ use strict; use warnings; -BEGIN { - require 5.008001; -} +require 5.008001; + use ExtUtils::MakeMaker; -WriteMakefile1( - META_MERGE => { - resources => { - repository => 'http://svn.ali.as/cpan/trunk/Config-Tiny', - }, +# ---------------------- + +# See lib/ExtUtils/MakeMaker.pm for details of how to influence +# the contents of the Makefile that is written. + +my(%params) = +( + ($] ge '5.005') ? + ( + AUTHOR => 'Adam Kennedy <ad...@cpan.org>', + ABSTRACT => 'Read/Write .ini style files with as little code as possible', + ) : (), + clean => + { + FILES => 'blib/* Makefile MANIFEST Config-Tiny-*' + }, + dist => + { + COMPRESS => 'gzip', + SUFFIX => 'gz' }, - BUILD_REQUIRES => { + BUILD_REQUIRES => + { # Skip on Windows to avoid breaking ActivePerl PPMs # 0.47 means 5.6.2 or newer, which everyone on Win32 has. - ($^O eq 'MSWin32' ? () : ('Test::More' => '0.47')), + ($^O eq 'MSWin32' ? () : ('Test::More' => '0.47') ), }, + DISTNAME => 'Config-Tiny', NAME => 'Config::Tiny', - ABSTRACT => 'Read/Write .ini style files with as little code as possible', - VERSION_FROM => 'lib/Config/Tiny.pm', + PL_FILES => {}, + LICENSE => 'perl', PREREQ_PM => { 'File::Spec' => 3.30, @@ -29,25 +45,36 @@ 'UNIVERSAL' => 0, 'utf8' => 0, }, - AUTHOR => 'Adam Kennedy <ad...@cpan.org>', - LICENSE => 'perl', + VERSION_FROM => 'lib/Config/Tiny.pm', + INSTALLDIRS => 'site', + EXE_FILES => [], ); -# Written by Alexandr Ciornii, version 0.20. Added by eumm-upgrade. -sub WriteMakefile1 { - my %params = @_; - my $eumm_version = $ExtUtils::MakeMaker::VERSION; - $eumm_version = eval $eumm_version; - die "License not specified" if not exists $params{LICENSE}; - if ($params{BUILD_REQUIRES} and $eumm_version < 6.5503) { - #EUMM 6.5502 has problems with BUILD_REQUIRES - $params{PREREQ_PM}={ %{$params{PREREQ_PM} || {}} , %{$params{BUILD_REQUIRES}} }; - delete $params{BUILD_REQUIRES}; - } - delete $params{MIN_PERL_VERSION} if $eumm_version < 6.48; - delete $params{META_MERGE} if $eumm_version < 6.46; - delete $params{LICENSE} if $eumm_version < 6.31; - delete $params{AUTHOR} if $] < 5.005; +if ( ($ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/) && ($ExtUtils::MakeMaker::VERSION > 6.30) ) +{ + $params{LICENSE} = 'perl'; +} - WriteMakefile(%params); +if ($ExtUtils::MakeMaker::VERSION ge '6.46') +{ + $params{META_MERGE} = + { + 'meta-spec' => + { + version => 2, + }, + resources => + { + bugtracker => 'https://rt.cpan.org/Public/Dist/Display.html?Name=Config-Tiny', + license => 'http://opensource.org/licenses/Perl', + repository => + { + type => 'git', + url => 'https://github.com/ronsavage/Config-Tiny.git', + web => 'https://github.com/ronsavage/Config-Tiny', + }, + }, + }; } + +WriteMakefile(%params); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/README new/Config-Tiny-2.22/README --- old/Config-Tiny-2.20/README 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/README 2014-02-02 05:04:14.000000000 +0100 @@ -1,138 +1,49 @@ -NAME - Config::Tiny - Read/Write .ini style files with as little code as - possible +README file for Config::Tiny. -SYNOPSIS - # In your configuration file - rootproperty=blah +See also: Changes and Changelog.ini. - [section] - one=twp - three= four - Foo =Bar - empty= +Warning: WinZip 8.1 and 9.0 both contain an 'accidental' bug which stops +them recognizing POSIX-style directory structures in valid tar files. +You are better off using a reliable tool such as InfoZip: +ftp://ftp.info-zip.org/pub/infozip/ - # In your program - use Config::Tiny; +1 Installing from a Unix-like distro +------------------------------------ +shell>gunzip Config-Tiny-2.20.tgz +shell>tar mxvf Config-Tiny-2.20.tar - # Create a config - my $Config = Config::Tiny->new; +On Unix-like systems, assuming you have installed Module::Build V 0.25+: - # Open the config - $Config = Config::Tiny->read( 'file.conf' ); +shell>perl Build.PL +shell>./Build +shell>./Build test +shell>./Build install - # Reading properties - my $rootproperty = $Config->{_}->{rootproperty}; - my $one = $Config->{section}->{one}; - my $Foo = $Config->{section}->{Foo}; +On MS Windows-like systems, assuming you have installed Module::Build V 0.25+: - # Changing data - $Config->{newsection} = { this => 'that' }; # Add a section - $Config->{section}->{Foo} = 'Not Bar!'; # Change a value - delete $Config->{_}; # Delete a value or section +shell>perl Build.PL +shell>perl Build +shell>perl Build test +shell>perl Build install - # Save a config - $Config->write( 'file.conf' ); +Alternately, without Module::Build, you do this: -DESCRIPTION - "Config::Tiny" is a perl class to read and write .ini style - configuration files with as little code as possible, reducing load time - and memory overhead. Most of the time it is accepted that Perl - applications use a lot of memory and modules. The "::Tiny" family of - modules is specifically intended to provide an ultralight alternative to - the standard modules. +Note: 'make' on MS Windows-like systems may be called 'nmake' or 'dmake'. - This module is primarily for reading human written files, and anything - we write shouldn't need to have documentation/comments. If you need - something with more power move up to Config::Simple, Config::General or - one of the many other "Config::" modules. To rephrase, Config::Tiny does - not preserve your comments, whitespace, or the order of your config - file. +shell>perl Makefile.PL +shell>make +shell>make test +shell>su (for Unix-like systems) +shell>make install +shell>exit (for Unix-like systems) -CONFIGURATION FILE SYNTAX - Files are the same format as for windows .ini files. For example: +On all systems: - [section] - var1=value1 - var2=value2 - - If a property is outside of a section at the beginning of a file, it - will be assigned to the "root section", available at "$Config->{_}". - - Lines starting with '#' or ';' are considered comments and ignored, as - are blank lines. - - When writing back to the config file, all comments, custom whitespace, - and the ordering of your config file elements is discarded. If you need - to keep the human elements of a config when writing back, upgrade to - something better, this module is not for you. - -METHODS - new - The constructor "new" creates and returns an empty "Config::Tiny" - object. - - read $filename - The "read" constructor reads a config file, and returns a new - "Config::Tiny" object containing the properties in the file. - - Returns the object on success, or "undef" on error. - - When "read" fails, "Config::Tiny" sets an error message internally you - can recover via "Config::Tiny->errstr". Although in some cases a failed - "read" will also set the operating system error variable $!, not all - errors do and you should not rely on using the $! variable. - - read_string $string; - The "read_string" method takes as argument the contents of a config file - as a string and returns the "Config::Tiny" object for it. - - write $filename - The "write" method generates the file content for the properties, and - writes it to disk to the filename specified. - - Returns true on success or "undef" on error. - - write_string - Generates the file content for the object and returns it as a string. - - errstr - When an error occurs, you can retrieve the error message either from the - $Config::Tiny::errstr variable, or using the "errstr()" method. - -CAVEATS - Unsupported Section Headers - Some edge cases in section headers are not support, and additionally may - not be detected when writing the config file. - - Specifically, section headers with leading whitespace, trailing - whitespace, or newlines anywhere in the section header, will not be - written correctly to the file and may cause file corruption. - -SUPPORT - Bugs should be reported via the CPAN bug tracker at - - <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Config-Tiny> - - For other issues, or commercial enhancement or support, contact the - author. - -AUTHOR - Adam Kennedy <ad...@cpan.org> - -ACKNOWLEGEMENTS - Thanks to Sherzod Ruzmetov <sherz...@cpan.org> for Config::Simple, which - inspired this module by being not quite "simple" enough for me :) - -SEE ALSO - Config::Simple, Config::General, ali.as - -COPYRIGHT - Copyright 2002 - 2011 Adam Kennedy. - - This program is free software; you can redistribute it and/or modify it - under the same terms as Perl itself. - - The full text of the license can be found in the LICENSE file included - with this module. +Run Tiny.pm through your favourite pod2html translator. +2 Installing from an ActiveState distro +--------------------------------------- +shell>unzip Config-Tiny-2.20.zip +shell>ppm install --location=. Config-Tiny +shell>del Config-Tiny-2.20.ppd +shell>del PPM-Config-Tiny-2.20.tar.gz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/lib/Config/Tiny.pm new/Config-Tiny-2.22/lib/Config/Tiny.pm --- old/Config-Tiny-2.20/lib/Config/Tiny.pm 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/lib/Config/Tiny.pm 2015-02-16 22:33:13.000000000 +0100 @@ -3,7 +3,11 @@ # If you thought Config::Simple was small... use strict; -our $VERSION = '2.20'; # Also change version # in t/02.main.t. + +# Warning: There is another version line, in t/02.main.t. + +our $VERSION = '2.22'; + BEGIN { require 5.008001; $Config::Tiny::errstr = ''; @@ -185,16 +189,18 @@ Most of the time it is accepted that Perl applications use a lot of memory and modules. -The C<*::Tiny> family of modules is specifically intended to provide an ultralight alternative to the -standard modules. +The C<*::Tiny> family of modules is specifically intended to provide an ultralight alternative +to the standard modules. -This module is primarily for reading human written files, and anything we write shouldn't need to have -documentation/comments. If you need something with more power move up to L<Config::Simple>, L<Config::General> -or one of the many other C<Config::*> modules. +This module is primarily for reading human written files, and anything we write shouldn't need to +have documentation/comments. If you need something with more power move up to L<Config::Simple>, +L<Config::General> or one of the many other C<Config::*> modules. -Lastly, L<Config::Tiny> does B<not> preserve your comments, whitespace, or the order of your config file. +Lastly, L<Config::Tiny> does B<not> preserve your comments, whitespace, or the order of your config +file. -See L<Config::Tiny::Ordered> (and possibly others) for the preservation of the order of the entries in the file. +See L<Config::Tiny::Ordered> (and possibly others) for the preservation of the order of the entries +in the file. =head1 CONFIGURATION FILE SYNTAX @@ -302,8 +308,8 @@ of things -Because the use of '=' signs is a type of mandatory documentation. It indicates that that section contains 4 items, -and not 1 odd item split over 4 lines. +Because the use of '=' signs is a type of mandatory documentation. It indicates that that section +contains 4 items, and not 1 odd item split over 4 lines. =head2 Why do I have to assign the result of a method call to a variable? @@ -365,7 +371,36 @@ See, amongst many: L<Config::Simple> and L<Config::General>. -See L<Config::Tiny::Ordered> (and possibly others) for the preservation of the order of the entries in the file. +See L<Config::Tiny::Ordered> (and possibly others) for the preservation of the order of the entries +in the file. + +L<IOD>. Ini On Drugs. + +L<IOD::Examples> + +L<App::IODUtils> + +L<Config::IOD::Reader> + +L<Config::Perl::V>. Config data from Perl itself. + +L<Config::Onion> + +L<Config::IniFiles> + +L<Config::INIPlus> + +L<Config::Hash>. Allows nested data. + +L<Config::MVP>. Author: RJBS. Uses Moose. Extremely complex. + +L<Config::TOML>. See next few lines: + +L<https://github.com/dlc/toml> + +L<https://github.com/alexkalderimis/config-toml.pl>. 1 Star rating. + +L<https://github.com/toml-lang/toml> =head1 COPYRIGHT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Tiny-2.20/t/02.main.t new/Config-Tiny-2.22/t/02.main.t --- old/Config-Tiny-2.20/t/02.main.t 2013-11-24 00:54:11.000000000 +0100 +++ new/Config-Tiny-2.22/t/02.main.t 2015-02-16 22:34:16.000000000 +0100 @@ -17,7 +17,9 @@ use UNIVERSAL (); -our $VERSION = '2.20'; +# Warning: There is another version line, in lib/Config/Tiny.pm. + +our $VERSION = '2.22'; # -------------------- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org